Quote:
Originally Posted by Zachariah
I will have to take a look. It has never happened to me in 10 or so installs to various forums. Once the widget comes up it shows the last post on twitter and scrolls down 19 entries of history.
Are you using Threaded / Hybrid Mode or default list display of posts within threads ?
There may be interference from another add-on.
- plugin of the product "add im_icons parser template"
* 1st try to move the "Execution Order " of the plugin from 5 to 2 and test then to 10 and test.
* 2nd try: in a plugin of the product "add im_icons parser template"
This integrates the twitter icon into the postbit / postbit_legacy.
Hash that part of the code out and save and see if your threads return to normal.
Wrap: /* */ around the code.
Code:
if ($vbulletin->templatecache['postbit'])
{
$vbulletin->templatecache['postbit'] = str_replace('$post[skypeicon]', '$post[skypeicon] $post[twittericon]', $vbulletin->templatecache['postbit']);
}
if ($vbulletin->templatecache['postbit_legacy'])
{
$vbulletin->templatecache['postbit_legacy'] = str_replace('$post[skypeicon]', '$post[skypeicon] $post[twittericon]', $vbulletin->templatecache['postbit_legacy']);
}
|
I'm glad this was posted. I was having the following show up on the header when using postbit_legacy:
Code:
Parse error: syntax error, unexpected T_VARIABLE in /home/content/h/y/p/hyperionv1/html/includes/class_postbit.php(303) : eval()'d code on line 80
Parse error: syntax error, unexpected T_VARIABLE in /home/content/h/y/p/hyperionv1/html/includes/class_postbit.php(303) : eval()'d code on line 80
Fortunately, the fix was just removing this code:
Code:
if ($vbulletin->templatecache['postbit_legacy'])
{
$vbulletin->templatecache['postbit_legacy'] = str_replace('$post[skypeicon]', '$post[skypeicon] $post[twittericon]', $vbulletin->templatecache['postbit_legacy']);
}
I know what you're thinking, but I use the new postbit anyway, and the postbit_legacy is just to please one person.