![]() |
http://www.b0fh.cx/vb2.html :)
Version 1.2 couldn't be arsed writing up upgrade info from the old version, but you should be able to re-trace your steps by checking the old version.. these instructions weren't written when i rewrote the hack, but were compiled now by looking at the current code.. i don't think i've left out anything, but if i have, slap me around a bit, mmkay? |
thanks for the hack !! :p
Can you update your URL ?! but i have access denied |
Oops, had added a block on 217.x.x.x (had to many code red hits from there ;)).. should work now :P
|
Can we see a screenshot please?
|
What about expanding this hack to cover forums themselves. Such as: "Moderators of *this forum* currently online" :)
|
[QUOTE]Originally posted by Streicher
Can we see a screenshot please? |
Please, forgive my newbiness, but can you please explain where ALL lines of code go in the index.php file???
Your directions give me line numbers (that's fine, I find where it all needs to go) but it does not tell me what code I need to replace it with, or if code needs to be removed, etc..... For instance, your page says: locate the line that says: Code:
if ($loggedin=$DB_site->fetch_array($loggedins)) { Code:
if($loggedin['usergroupid']==6||$loggedin['usergroupid']==7||$loggedin['usergroupid']==5) { |
right below the lines specified, except for the next-to-last one
|
Ok, I have SERIOUSLY fugged something up!!! Here's what my index.php line looks like from right where the first edit of this hack goes in till the end of the last hack. Keep in mind, I've since added the hack (what I thought was the right way) and had to go back and try to set everything back as normal. Obviously, it has not worked, as this is what my "Who's Online" is showing!
(not displaying picture, as it is a bit large) http://www.purehonda.com/userpages/H...tors/error.jpg Can you help??? |
the complete if($displayloggedin) clause should look like this when you're done (btw.. mods.. how much are we allowed to paste?? cut out some stuff if you have to :o)
PHP Code:
|
Thank you SO much!!! This is my first hack (I guess it shows, eh?;)) I've edited out my php code, if you feel comfortable doing the same! Btw, is there a way to seperate the names listed by a comma and then space?? I did go into the forumhome_modsloggedin template and added a comma and a space after the final </a> tag, but then that leaves the last guy on my list with a comma after his name. Anyway around that?
|
With that coding, wont it cause an error if there are no mods or admins logged in at the time?
eh, im probably wrong.. lol with my limited coding skills.. :p -Syphin |
[QUOTE]Originally posted by Syphin
With that coding, wont it cause an error if there are no mods or admins logged in at the time? eh, im probably wrong.. lol with my limited coding skills.. :p -Syphin |
Quote:
BTW, how do I add another usergroup ID to it? It's currently displaying admins and super moderators, but I need to throw in moderators which is usergroup ID=51. |
[QUOTE]Originally posted by drumsy
Argghhhh, more to edit...well, we'll see what happens! BTW, how do I add another usergroup ID to it? It's currently displaying admins and super moderators, but I need to throw in moderators which is usergroup ID=51. |
Oh, i was right.. O.o lol Oh well... Cool hack nontha less.. ^^
-Syphin |
okidoki:
Could you please update this to where there is no errors when no mods/admins are online? and post when ya do? lol thnx.. Id like to get rid of those... >_< O.o -Syphin |
Yeah, I look forward to that fix. ;)
I have this disabled until then! |
Version 1.2
couldn't be arsed writing up upgrade info from the old version, but you should be able to re-trace your steps by checking the old version.. these instructions weren't written when i rewrote the hack, but were compiled now by looking at the current code.. i don't think i've left out anything, but if i have, slap me around a bit, mmkay? |
Thnx... Works great now.. ^^
-Syphin |
Worked without a hitch!
Is it possible to get a brief idea of what this updated version does? |
This works perfectly for me, however it doesn't seperate the moderators by a space or comma.. Anyway to set it up to display "User 1, User 2, User 3" (of course, with no comma after the last moderator?)
That would make this complete. :) Quote:
|
could u like post the full code in one post because your instructions are dificult for me to understand.
|
[QUOTE]Originally posted by \/ash
could u like post the full code in one post because your instructions are dificult for me to understand. |
If you want to separate with a space, just add a space after </a> in forumhome_modsloggedin
If you want to separate with a comma, add the comma, and then, right before PHP Code:
PHP Code:
[QUOTE]Originally posted by Alien This works perfectly for me, however it doesn't seperate the moderators by a space or comma.. Anyway to set it up to display "User 1, User 2, User 3" (of course, with no comma after the last moderator?) That would make this complete. :) |
[QUOTE]Originally posted by drumsy
Worked without a hitch! Is it possible to get a brief idea of what this updated version does? |
Thanks a bunch! :) Great work.
|
Oh ya, I forgot... This new version... Does it show the regular mods also? Or do i need to add that grup id?
=) thnx again... :p now to find out how to make it show whos online in each forum... like on 2.somthing... ^^ Cuz i mostlikley wont be upgrading... lol >_< Edit: I hope this works on the new version... >_< Ive desided to upgrade... lol -Syphin |
All times are GMT. The time now is 02:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|