The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Top 'X' Stats Details »» | |||||||||||||||||||||||||
This hack adds the top 'x' stats (top posters, newest members, newest replies) to your forumhome.
The original idea was nanoentities but he will not be releasing his hack for vB3. Basically this is the same idea, all new coding, all new templates. This hack also shows a 'New' or 'Old' text if the thread was posted after your lastvisit or marking all forums as read. Also it posts the deleted message for those who can see it and can be set to exclude forums. I am currently working on a seperate page where the user can set the number of stats he wishes to show. Live demo at: *removed* (dow the bottom) vB 3.5 version available at https://vborg.vbsupport.ru/showthrea...846#post743846 !!! Show Your Support
|
Comments |
#92
|
||||
|
||||
Quote:
Quick question. How many queries does it add? and how is the load on MySQL?? Right now I have on forum Home. Page generated in 0.32909012 seconds (94.71% PHP - 5.29% MySQL) with 10 queries. |
#93
|
|||
|
|||
Great hack. I actually didn't follow most of the directions because all I needed was the stats that it gave, but I didn't display them in the manner stated in the install file. But again great hack.
|
#94
|
|||
|
|||
there has been no real change in the mysql some added if then else statements for the username truncation but that bout it so any server load should be minimal
|
#95
|
|||
|
|||
I want to install this hack but after opening my index.php file I cannot find the following text anywhere.
'forumhome_subforumseparator_post' I've searched through 5 times and pasted the text into MS word so that I could do a search for the text which it didn't find. I run VB 3.0.1 which I was told earlier in the thread is ok. PLEASE HELP!!!! |
#96
|
|||
|
|||
Can anybody please tell me where it is as per above message?????
|
#97
|
|||
|
|||
Quote:
2nd, it's near the top of the document, around line 45, under this section. PHP Code:
|
#98
|
|||
|
|||
I dont have any section with pre cache templates and data - I know I'm not being dumb and its deffo not there
I'm getting worried now as i seem to have this section missing Help please |
#99
|
|||
|
|||
Quote:
Can you paste the first few lines of your index.php page? |
#100
|
|||
|
|||
Here's a section at the start of my index.php file - hope its not too long
Hope you can help INT)); if (! is_array($foruminfo)) { $forumid = -1; } else { // draw nav bar $navbits = array(); $parentlist = array_reverse(explode(',', substr($foruminfo['parentlist'], 0, -3))); foreach ($parentlist AS $forumID) { $forumTitle = $forumcache["$forumID"]['title']; $navbits["forumdisplay.php?$session[sessionurl]f=$forumID"] = $forumTitle; } // pop the last element off the end of the $nav array so that we can show it without a link array_pop($navbits); $navbits[''] = $foruminfo['title']; $navbits = construct_navbits($navbits); } // ### WELCOME MESSAGE ################################################# if ($bbuserinfo['userid']) { // registered user $showmemberwelcome = true; } else { // guest $showmemberwelcome = false; } $today = vbdate('Y-m-d', TIMENOW, false, false); // ### TODAY'S BIRTHDAYS ################################################# if ($vboptions['showbirthdays']) { $birthdaystore = unserialize($datastore['birthdaycache']); if (!is_array($birthdaystore) OR ($today != $birthdaystore['day1'] AND $today != $birthdaystore['day2'])) { // Need to update! require_once('./includes/functions_databuild.php'); $birthdaystore = build_birthdays(); DEVDEBUG('Updated Birthdays'); } switch($today) { case $birthdaystore['day1']: $birthdays = $birthdaystore['users1']; break; case $birthdaystore['day2']; $birthdays = $birthdaystore['users2']; break; } // memory saving unset($birthdaystore); $show['birthdays'] = iif ($birthdays, true, false); } else { $show['birthdays'] = false; } |
#101
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|