The Arcive of vBulletin Modifications Site. |
|
vB Blog Stats on Forumhome Details »»
|
|||||||||||||||||||||||||
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']">, <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span> </if> 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>, $vbphrase[forumhome_total_blog_entries]: $blogstats[total_blog_entries], $vbphrase[forumhome_todays_blog_entries]:</b> $blogstats[entries_in_24hours] Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Installed, thank you
|
|
#3
|
||||
|
||||
|
Doesn't seem to be working
|
|
#4
|
|||
|
|||
|
Thanks, will install soon!
|
|
#5
|
|||
|
|||
|
|
|
#6
|
|||
|
|||
|
Which mod does this go with? Can you provide a link to the main mod please?
Cheers. |
|
#7
|
||||
|
||||
|
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 |
|
#8
|
||||
|
||||
|
Non and it does not display totals nothing
|
|
#9
|
|||
|
|||
|
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. |
|
#10
|
||||
|
||||
|
Quote:
1st time that as happened to me ha ha
|
![]() |
|
|