![]() |
vB Blog Stats on Forumhome
I was in need to show vBulletin Blog stats on forumhome and i prepared the following product. As i am not the perfect coder any further advise will be taken seriously for optimizing the product.
Installation Instructions : Import the attached product via vBulletin Product Manager Edit FORUMHOME template and search for : Code:
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">, Code:
$vbphrase[forumhome_total_blogs] : <if condition="$blogstats['total_blog_users']"><a href="blog.php?$session[sessionurl]do=bloglist">$blogstats[total_blog_users]</a><else />0</if>, |
Installed, thank you :)
|
Doesn't seem to be working
|
Thanks, will install soon! :)
|
Quote:
|
Which mod does this go with? Can you provide a link to the main mod please?
Cheers. |
Quote:
You used three queries and that's too much. First of all you need to run a cron job to save those stats in the datastore table. use the hook cron_script_cleanup in includes/cron/cleanup.php Then you need to get the information via the hook init_stratup in includes/init.php PHP Code:
Then you can bypass the template edits by joining your info to a variable ex: $totalposts regards |
Quote:
|
thanks for this one :)
Feckie, check your product manager and make sure the plugin is enabled. Mine was not enabled per default after installing it. |
Quote:
1st time that as happened to me ha ha :rolleyes: |
All times are GMT. The time now is 08:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|