The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#152
|
||||
|
||||
amykhar.. I just downloaded the zip file.. No upgrading instruction thr.. :S.. Or i hav to redo the all modification from begginin?
|
#153
|
||||
|
||||
thanks for update the nice hack ... but there are many errors in the number of guest ... see pictures...
|
#154
|
||||
|
||||
Did the codeblock that displays the spiders get pasted in twice? It looks fine in the count, but is displaying the spiders more than once.
Check this chunk: Code:
while ($spidername = current($spiderlist)) { if ($spidername > 1) { $loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")"; } else { $loggedin['musername'] = trim(key($spiderlist)); } $loggedin['userid'] = 0; eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";'); next($spiderlist); } |
#155
|
||||
|
||||
Not, the codeblock alone this hit a single time, I have tried the modificacion several times and always is obtained the same result, so much in forumhome as in online :disappointed:, so that I have opted for returning to the previous version of your hack which functions correctly. Thanks again
|
#156
|
|||
|
|||
Where do i find index.php in the ACP? It sounds like a newbie question because im somewhat of a newbie to this! lol
|
#157
|
|||
|
|||
You dont...login to your ftp and its in forum root
|
#158
|
|||
|
|||
hmmmmm.... i logged in to my ftp a while ago and i opened it up and i cant find eventcache. So i was wondering if there was a place in ACP?
|
#159
|
||||
|
||||
rrokdoka,
I think you should skip this mod for a while until you've had a bit more experience. It's a more advanced install and not for the faint of heart. Also, given that your site is already throwing errors and I have no way of even seeing if you are running vbulletin or what version it is, I'm not even sure you have 3.5 running. |
#160
|
|||
|
|||
As a clue though m8...
Where it says in the instructions.. Code:
1. In index.php Find: ---------------------- 'eventcache', ---------------------- Add After: ---------------------- 'wol_spiders', ---------------------- Find: ---------------------- $numberguest = 0; ---------------------- Add after: ---------------------- $numberspiders = 0; $spiderlist = array(); ---------------------- The edits are made in this file.... There are also other files to edit as well such as online.php.. Please have another good read of the instructions If this does not makes sense then as amy says, leave this for a while untill you have installed a few easier 1's Good luck.... Quote:
|
#161
|
|||
|
|||
hehehe well that wasnt my website amy. I dont know how that got in there you can visit my website here.... www.rrokdoka.org
and i really would like to add this mod but like i said i open up the index.php and there isnt a 'eventcache' to be found! |
#162
|
|||
|
|||
Can someone please help me with this...
|
#163
|
|||
|
|||
Edited !
I was asking for a solution, but I figured it out, thanks anyway ! |
#164
|
|||
|
|||
reinstalled for 3.5.4
|
#165
|
|||
|
|||
I began installing on 3.5.4 and hit a snag.
Code:
Find: ---------------------- $forumusers = $db->query_read(" SELECT userfield.*,user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid FROM " . TABLE_PREFIX . "session AS session LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid) LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(user.userid = userfield.userid) WHERE session.lastactivity > $datecut " . iif($vbulletin->options['displayloggedin'] == 1, "ORDER BY username ASC") . " "); Code:
$forumusers = $db->query_read(" SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.browser, session.inforum, session.lastactivity, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid FROM " . TABLE_PREFIX . "session AS session LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid) WHERE session.lastactivity > $datecut " . iif($vbulletin->options['displayloggedin'] == 1, "ORDER BY username ASC") . " "); |
#166
|
||||
|
||||
The key to changing the query is to get session.useragent into the query. That's the field that tells us if it's a spider or not.
Amy |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|