Topic-icon Incorrect images when posting back to Facebook

Support Specialist
14 years 2 months ago #21068 by alzander
Blink,
Posting the code again, as it got messed up a little.

Looking at the code on the page, there are some unclosed tags in the article content. At the very top of the article area and find the code that looks like below. On that 3rd line, there's a closing </a> tag without any opening tag. Stuff like that can confuse our automatic 'guess' for the best description, and is bad for browsers and search engines:
<div class="ja-thumbnail clearfix">
			<div class="thumbnail" style="position:relative;z-index:2">
									</a><a rel="jagroupgroup"
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #21071 by blink_black
Thanks MTK and Alzander. I decided to try each steps one after the other to see which one that will work. So, I started with the easy one "MOVE JFBCContent Plugin to the top' and that fixed it.

The next question I have is: how do i make it to strip 100 characters? So far, it appears to be taking the first 35 characters
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #21072 by blink_black
Seems it gets the first 100 ccharacters. Can I increase it to the 250?
The topic has been locked.
Support Specialist
14 years 2 months ago #21082 by alzander
In the 4.2 release (in April), the description length will be a configurable parameter. For now though, if you need to change it, edit the /plugins/content/jfbccontent/jfbccontent.php file. Search for "100" and you'll find a line like below:
$articleText = substr($articleText, 0, 100);
Simply replace the 100 with whatever length you'd prefer to use.

Hope that helps, and good luck!
Alex
The topic has been locked.