-New: Option to add Stats automatically to vBA CMPS
Quote:
Originally Posted by Reeftanksonline
I get the same problem, In all of the boxes. Its just stays at still loading.
|
Latest Posts only "Loading..."
Search in: Cyb_AFStats.xml
PHP Code:
Cas_AFStats_LP = new vB_AJAX_Handler(true);
Cas_AFStats_LP.onreadystatechange(Cas_updateStatsLP);
Cas_AFStats_LP.send('misc.php?show=latestposts&resultsnr=$resultsnr');
}
Replace with:
PHP Code:
Cas_AFStats_LP = new vB_AJAX_Handler(true);
Cas_AFStats_LP.onreadystatechange(Cas_updateStatsLP);
Cas_AFStats_LP.send('$vboptions[bburl]/misc.php?show=latestposts&resultsnr=$resultsnr');
}
This stil leaves the:
- images/statusicon/post_new.gif
- images/statusicon/post_old.gif
Not to display
Quick fix for this:
Find:
PHP Code:
$newpostprefix = '<img border="0" alt="'.$vbphrase['new'].'" src="'.$vbulletin->options['cybtopstats_prefix_new'].'" />';
$oldpostprefix = '<img border="0" alt="'.$vbphrase['old'].'" src=".$vbulletin->options['cybtopstats_prefix_old'].'" />';
Replace with:
PHP Code:
$newpostprefix = '<img border="0" alt="'.$vbphrase['new'].'" src="http://www.mysite.com/forum/images/statusicon/post_new.gif" />';
$oldpostprefix = '<img border="0" alt="'.$vbphrase['old'].'" src="http://www.mysite.com/forum/images/statusicon/post_old.gif" />';