The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
Latest Version: 1.3
This hack is not very special for me. I just wanted to create a mainpage on which you can see.. (as a member) everything what u like to see. The idea of the script is similar to the vbHome of nakkid and also a little bit to the vBPortal. I tested all of them.. but i was looking for something better ![]() Features:
![]() Demo-Sites:
Screenshot 2: http://partylife.ch/misc/vbindex2.jpg // the nav on the right side. Screenshot 3: http://partylife.ch/misc/vbindex3.jpg // or if u like 2 navs, left & right Screenshot 4: http://partylife.ch/misc/vbindex4.jpg // another screen Screenshot 5: http://partylife.ch/misc/vbindex5.jpg // buddies etc. Installation All instructions can you find in the readme.english/german.txt Download vBindex 1.3: http://partylife.ch/misc/vBindex1.3.zip vBindex with Link-DB Script (Link-Script by The_Sisko; Integration of the Link-Script in vBindex by KarateKid): http://www.kampfkunst-board.de/sonst...tabasehack.rar Credits Newscode part from vBHome by nakkid. Onlinetodaycode part from Online Today Hack by Mystics. Pollcode part from vBPortal by wajones. Note! I'd really like to get every feedback you guys can give me. Also post bugreports and suggestions to improve this script. If you have installed this hack, pls click on the install button to receive updates thru email. Thank you ![]() Show Your Support
|
Comments |
#262
|
|||
|
|||
![]()
hi..
its me again.. after installing vbindex , my most user online count started to act like user online count.. how to fix? i look into code but .. erm.. :cross-eyed: |
#263
|
||||
|
||||
![]() Quote:
|
#264
|
|||
|
|||
![]()
tnx!
uhmm so is there way to use vbindex with colored online thing.. u can see at my site.. tnx! |
#265
|
|||
|
|||
![]()
uhmm no luck!
still same.. |
#266
|
||||
|
||||
![]()
Did you remove or comment out all the code that was shown on the page? That fix does work, you need to wait for the number of members online to decrease to see it working, it works fine on my site now.
I'll just find the secions of code you need to edit for the coloured users on who's online. |
#267
|
||||
|
||||
![]()
Isn't the who's online already coloured on your site? It seems to be working with the hack that you already have installed, unless you don't want it to look like it does in the attached image.
|
#268
|
|||
|
|||
![]()
trojanman is mod.. so it has to be in green :P
and also most user online user still go up and down like user online thing ![]() |
#269
|
||||
|
||||
![]()
OK, you need to change in the vbindex PHP file:
This: PHP Code:
Code:
// pm // ------------------------- $newpm=$DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$bbuserinfo[userid] AND dateline>$bbuserinfo[lastvisit] AND folderid=0 $ignoreusers"); if ($bbuserinfo['userid']!=0) { $username=$bbuserinfo['username']; eval("\$welcome = \"".gettemplate('home_welcome')."\";"); eval("\$logincode = \"".gettemplate('home_logout')."\";"); eval("\$buddy = \"".gettemplate('home_buddy1')."\";"); } else { eval("\$welcome = \"".gettemplate('home_unregwelcome')."\";"); eval("\$logincode = \"".gettemplate('home_login')."\";"); $buddy = ""; } $activeusers = ""; $loggedinusers = ""; if ($displayloggedin) { $datecut=time()-$cookietimeout; $loggedins=$DB_site->query_first("SELECT COUNT(*) AS sessions FROM session WHERE userid=0 AND lastactivity>$datecut"); $numberguest=$loggedins['sessions']; $numbervisible=0; $numberregistered=0; $loggedins=$DB_site->query("SELECT DISTINCT session.userid,username,invisible,usergroupid FROM session LEFT JOIN user ON (user.userid=session.userid) WHERE session.userid>0 AND session.lastactivity>$datecut ORDER BY invisible ASC, username ASC"); if ($loggedin=$DB_site->fetch_array($loggedins)) { $numberregistered++; if ($loggedin['invisible']==0 or $bbuserinfo['usergroupid']==6) { $numbervisible++; $userid = $loggedin['userid']; if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin $invisibleuser = '*'; } else { $invisibleuser = ''; } if ($loggedin['usergroupid'] == 6 and $highlightadmin) { $username = "<font color=FONT COLOR FOR ADMIN><b><i>$loggedin[username]</i></b></font>"; } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) { $username = "<font color=FONT COLOR FOR MOD><b>$loggedin[username]</b></font>"; } else { $username = $loggedin['username']; } eval("\$activeusers = \"".gettemplate('forumhome_loggedinuser')."\";"); } while ($loggedin=$DB_site->fetch_array($loggedins)) { $numberregistered++; $invisibleuser = ''; if ($loggedin['invisible']==1 and $bbuserinfo['usergroupid']!=6) { continue; } $numbervisible++; $userid=$loggedin['userid']; if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin $invisibleuser = '*'; } if ($loggedin['usergroupid'] == 6 and $highlightadmin) { $username = "<font color=COLOR FOR ADMIN><b><i>$loggedin[username]</i></b></font>"; } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) { $username = ""<font color=COLOR FOR MOD><b>$loggedin[username]</b></font>"; } else { $username = $loggedin['username']; } eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";"); } } $DB_site->free_result($loggedins); $totalonline=$numberregistered+$numberguest; $numberinvisible=$numberregistered-$numbervisible; $maxusers=explode(" ", gettemplate('maxloggedin',0,0)); Please make sure you backup your file before making this mod, the second part of the code works fine on vBindex 1.0, but hasn't been tested on 1.3. I am not responsible for the outcome. |
#270
|
|||
|
|||
![]()
after fixing a small typo it gives a error around :
"eval("$activeusers .= "|".gettemplate('forumhome_loggedinuser')."\"; "); " error is : Warning: Unexpected character in input: '\' (ASCII=92) state=1 in and a parse error.. greetz |
#271
|
||||
|
||||
![]()
For some reason it won't diaplay the code correctly and is missing a \ This is what it should be:
Code:
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";"); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|