PDA

View Full Version : Allow SuperMod to See who's Online, even hidden users


Learner29
10-12-2002, 12:52 PM
Hi

I have some supermodos asking to be promoted to admin, because they simply can not see the hidden users on the Who's Online page..... By default, only an admin can.

Is there any way, any hack, or any setting, to allow this ???

Logician
10-12-2002, 04:51 PM
Edit online.php,

find

if ($bbuserinfo[usergroupid] == 6) {
(There are 2 occurences, you should change the second one)

and replace it as:
if ($bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 5) {

Not tested but should work..

BTW. Mods might come after you if you dont shorten that sig. FYI. ;)

Xenon
10-12-2002, 06:27 PM
Logician is right twice :)

1. His code is correct

2. your sig is to long.

Please short it to 4 Lines normal size or 8 lines with font size=1
Thank you

Learner29
10-12-2002, 09:02 PM
Originally posted by Logician
Edit online.php,

find

if ($bbuserinfo[usergroupid] == 6) {
(There are 2 occurences, you should change the second one)

and replace it as:
if ($bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 5) {

Not tested but should work..


YOU ARE AMASING !
yes my dear, it works.... thank you so much .... really...
thank you so much ... I appreciate your help ..


Originally posted by Logician
BTW. Mods might come after you if you dont shorten that sig. FYI. ;)

Oooh ! :rolleyes: I did not know there is a limitation on the sig size.... I will change immediately...

xenon wrote :
2. your sig is to long.

Please short it to 4 Lines normal size or 8 lines with font size=1


OK, I will do so immediately... but where do you find such rules written... I do not want to break other rules without knowing...

is there a place where there are all the do's and dont's of vb.org ??? :alien:

Learner29
10-12-2002, 09:15 PM
Originally posted by Logician
Edit online.php,

find

if ($bbuserinfo[usergroupid] == 6) {
(There are 2 occurences, you should change the second one)

and replace it as:
if ($bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 5) {

Not tested but should work..

BTW. Mods might come after you if you dont shorten that sig. FYI. ;)

I tried to look in the showthread.php for a similar code to modify in the same way to let the super mods see the hidden users ALSO on the forum home page, but I did not find any .... :ermm: :ermm: :ermm:

Xenon
10-12-2002, 09:58 PM
if you want to change it on forumhome you have to look at index.php ;)

well you can find most of the rules in the announcement forum
There is no other place (at least for now) to look for rules, i hope we'll change that ;)

Learner29
10-12-2002, 11:10 PM
Originally posted by Xenon
if you want to change it on forumhome you have to look at index.php ;)

well you can find most of the rules in the announcement forum
There is no other place (at least for now) to look for rules, i hope we'll change that ;)

OKay Xenon , thank you for the info....

Important link in your sigi .... I am going to give my suggestions there...

but all of that ...... after index.php.... :cool:

Learner29
10-12-2002, 11:23 PM
Originally posted by Xenon
if you want to change it on forumhome you have to look at index.php ;)

once again thank you Xenon, but I tried this and it did not work...

I looked for this if ($bbuserinfo[usergroupid] == 6) {

and found it only once in index.php at about line 190.

I replaced it with if ($bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 5) { as suggested by logician earlier.....

uploaded the index.php, but it did not work.....

only admin can see hidden users online on the home page....

any thoughts ????

Reverend
10-13-2002, 02:08 AM
A "Full Release" hack has already been released for this here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=32386)

If you are using 2.2.6 or newer,go to post #48 (https://vborg.vbsupport.ru/showthread.php?postid=260544#post260544) of that thread and download the attachment. (modsseeinvisible2.2.6.txt)


I'm currently using it on 2.2.8.

Learner29
10-13-2002, 02:51 AM
A "Full Release" hack has already been released for this here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=32386)

If you are using 2.2.6 or newer,go to post #48 (https://vborg.vbsupport.ru/showthread.php?postid=260544#post260544) of that thread and download the attachment. (modsseeinvisible2.2.6.txt)


I'm currently using it on 2.2.8.


thank you very much ......

I really appreciate it ....