vBulletin Modifications

Miscellaneous Hacks - Forum Stats

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Supported
[vB 3.5.5] Miscellaneous Hacks - Forum Stats (447)
Released: 07-08-2006, 04:43 AM
Modification Information:
Nick R's Avatar Author: Nick R
Last Online: 01-31-2008
Hack Version: 0 Installer Included: 1 Additional queries added to database: 0
New Templates: 0 Template Edits: 0 File Edits: 0
New Files: 0 New Phrases: 0 Installation Time (In Minutes): 0

vB 3.6.0 Compatible!
Plugin
Forum Stats

vBulletin 3.5.x and vBulletin 3.6
www.vBHackers.com

What this does
It globals the forum statistics like thread info so you can use it on any page not just the forum home. Feel free to use in your modifications but please add credits!

To do list...
  • Time to install: About a minute or two
  • New Templates: 0
  • Template Edits: Depends what you want to do.
  • New Files: 0
  • New Phrases: 0
  • New Plugins: 1

Help & Support

Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Instructions
Import the attached file into the PLUGIN section. You then have serveral variables you can use throughtout your forums:
$numbermembers - The number of members your forum has.
$totalposts - The number of posts in your forum.
$totalthreads - The number of threads in your forum.
$headerguests - The Number of Guests online.
$headerusers - The number of Users online.
$totalonline - The number of guests and users online.
and then an added bonus:
$newusername - Gets the username of the newest user
$newuserid - Gets the userid of the newest user (you could use this in a template as a conditional so when you get to userid 100 then you display a table saying you have got 100 users.)

Hope you like, feedback welcomed.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 07-08-2006, 07:29 AM   #2
vBulletin Guru
Hasann's Avatar
Join Date: Dec 2005
Real Name: Hasann
Location: TÜRKIYE/BOLU Dagindan
Hasann is on a distinguished road

Default

thanks for releasing it is very usefully hack




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-08-2006, 07:43 AM   #3
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Done by request... For someone... i think it was.... Kau....




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-08-2006, 10:14 AM   #4
vBulletin Translator
TheSh@rk's Avatar
Join Date: Jun 2006
Real Name: Kfir Hadas
Location: Jerusalem, Israel
TheSh@rk is on a distinguished road

Default

Great hack.
Thanks for releasing..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-08-2006, 08:56 PM   #5
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Good work




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 02:53 PM   #6
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Unhappy

When we use this with beta 4 we get database errors. When we disable it we can log in again. It also seems to be messing up the welcome headers hack by TedS :ermm:

Last edited by Colonel Ingus; 07-09-2006 at 02:59 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 02:58 PM   #7
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

I use it and it's fine. Could you tell me what database error your getting?

EDIT: just checked. Works fine for me all installed and i have checked all the variables..

Look at advertise.php that also uses this mod...

Last edited by Nick R; 07-09-2006 at 03:03 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 03:04 PM   #8
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Unhappy

Just letting you know what's happening with it on our forum ;) The error is unknown column 'userid' in 'where clause'.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 03:07 PM   #9
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Can you please give the FULL error message.

Ok take a look in phpmyadmin look at the table seesion and check if there is a column called userid there. And then check in user. Thats the only two where's used.

edit: just as a though try the attached file. your forum might be fussy :p
Attached Files
File Type: xml global_forum_stats.xml (1.6 KB, 55 views)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 03:49 PM   #10
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Unhappy

MySQL Error : Unknown column 'vb36_userid' in 'where clause'
Error Number : 1054
Date : Sunday, July 9th 2006 @ 01:50:51 PM
Script : http://www.website.com/forum/index.php
Referrer : http://www.website.com/forum/admincp/index.php?do=head

Both the table session and the table user have a column called userid.

What's the difference between the first xml and the one you just posted?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



LinkBacks (?)
LinkBack to this Thread: http://www.vbhackers.com/f76/miscellaneous-hacks-forum-stats-4301/
Posted By For Type Date
So I had fun today :D - ma·ca·bre adj. - Constituting or including a representation of death. This thread Refback 11-04-2006 01:27 AM
So I had fun today :D - ma·ca·bre adj. - Constituting or including a representation of death. This thread Refback 11-02-2006 11:33 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic send forum password after accept rules JollyJack vBulletin Modification Requests 3 08-17-2006 08:24 PM
Forum Stats in Template kau vBulletin Modification Requests 15 07-01-2006 05:31 AM
What are your forum stats? Rex Growing Your vB Forum 15 06-14-2006 06:35 PM
Forum Gold ( money ) tuffkid vBulletin Modification Requests 13 05-21-2006 06:45 AM


All times are GMT -3. The time now is 09:15 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)