The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Blog Statistics Forum Home + Latest Blogs Details »» | |||||||||||||||||||||||||||
Blog Statistics Forum Home + Latest Blogs
Developer Last Online: Mar 2023
Blog Statistics Forum Home + Latest Blogs
This hack uses only 1 query and monitors all statistics and latest blogs. You can choose to show the number of blogs and to which user group. Mark as Installed - Nominate for MOTM install Go to your admin cp, then: Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-blogstatistics.xml' from your computer then press 'Import' File Change Open index.php and find PHP Code:
PHP Code:
PHP Code:
PHP Code:
Plugin : 2 Phrases : 9 Template : 2 Setting : 3 Versions: v1.0 - 04 November 2007 -First release Mark as Installed - Nominate for MOTM TvPano - Yabancı Dizi - Yerli Dizi - Anime Show Your Support
|
Comments |
#32
|
|||
|
|||
Nice Mod, shame you have to alter main scripts but works a charm.
Working copy here for those considering install. Clicked install. |
#33
|
|||
|
|||
Pleae upgrade 3.7 versiyon.
atakan bunu 3.7 versiyona g?re uyarlayabilirmisin acaba ve diğer modlarınıda, teşekk?rler. |
#34
|
||||
|
||||
I have also installed this, I like it better than my mod
A couple of additions from me here if that's okay Atakan. Since the plugin is already pulling title, username, userid, and views I've decided to add them, I've also moved the other items into the title bar. View the attached image to see what it looks like. If anyone's interested in this revision, all you have to do is replace the following templates. blog_stat_forum_bits Replace entire contents with Code:
<img src="$stylevar[imgdir_statusicon]/post_old.gif" border="0" class="inlineimg" alt="" /> <a href="blog.php?b=$blog_list[blogid]">$blog_list[title]</a> | By: <a href="blog.php?u=$blog_list[userid]">$blog_list[username]</a> | Views: $blog_list[views]<br /> blog_stat_forum_home Replace entire contents with Code:
<tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_blogstat')"><img id="collapseimg_forumhome_blogstat" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_blogstat].gif" alt="" border="0" /></a> $vbphrase[blog_stats] $vbphrase[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[total_blog_entries]: <strong>$blogstats[total_blog_entries]</strong>, $vbphrase[todays_blog_entries]: <!-- last 24 hours --><strong>$blogstats[entries_in_24hours]</strong> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_blogstat" style="$vbcollapse[collapseobj_forumhome_blogstat]"> <tr> <td class="alt2"><a href="blog.php?do=bloglist"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> $blogyaz </div> </td> </tr> </tbody> |
#35
|
||||
|
||||
Looks good! I've been trying to get more interest in my members blogging, this should help. THANKS! *** installs ***
IT also looks great with ericgtr's templete changes Thanks ! |
#36
|
|||
|
|||
problem :
I drafted up a nice lengthy Blog entry & published it, but had it set to Publish On & set a future time today. However, even though my Blog entry wasn't yet published & wasn't viewable by browsing to my blog as a guest or any other member, the headline was showing in the Recent Headline Summary on the Forum's Home Page. When the link to that article was clicked, you get a forum page that says: Invalid Blog specified. If you followed a valid link, please notify the administrator Basically, it leaks the headline of the Blog entry that was scheduled to be published. |
#37
|
|||
|
|||
I got this small problem...
Blog Stastics : 0,:,: How do I fix this ??? Thanks |
#38
|
|||
|
|||
Quote:
|
#39
|
||||
|
||||
Brilliant, thank you
|
#40
|
|||
|
|||
for which blog component is this?
|
#41
|
|||
|
|||
Good hack, but you need to replace
Code:
$blog_lists = $db->query("SELECT blogid, title, username, dateline, userid, state, views FROM " . TABLE_PREFIX . "blog WHERE state='visible' ORDER BY dateline DESC LIMIT $blogsatir"); Code:
$blog_lists = $db->query(" SELECT blogid, title, username, dateline, userid, state, views FROM " . TABLE_PREFIX . "blog WHERE state='visible' AND userid NOT IN ( SELECT bloguserid from " . TABLE_PREFIX . "blog_user WHERE options_everyone = 0 ) ORDER BY dateline DESC LIMIT $blogsatir "); Also, it would be a really good idea for this mod to use the : Code:
<url>https://vborg.vbsupport.ru/showthread.php?t=161910</url> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|