Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2002, 12:52 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Allow SuperMod to See who's Online, even hidden users

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 ???
Reply With Quote
  #2  
Old 10-12-2002, 04:51 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit online.php,

find

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

and replace it as:
PHP Code:
if ($bbuserinfo[usergroupid] == OR $bbuserinfo[usergroupid] == 5) { 
Not tested but should work..

BTW. Mods might come after you if you dont shorten that sig. FYI.
Reply With Quote
  #3  
Old 10-12-2002, 06:27 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 10-12-2002, 09:02 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
Edit online.php,

find

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

and replace it as:
PHP Code:
if ($bbuserinfo[usergroupid] == 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 ..


Quote:
Originally posted by Logician
BTW. Mods might come after you if you dont shorten that sig. FYI.
Oooh ! I did not know there is a limitation on the sig size.... I will change immediately...

Quote:
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:
Reply With Quote
  #5  
Old 10-12-2002, 09:15 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician
Edit online.php,

find

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

and replace it as:
PHP Code:
if ($bbuserinfo[usergroupid] == 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:
Reply With Quote
  #6  
Old 10-12-2002, 09:58 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 10-12-2002, 11:10 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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....
Reply With Quote
  #8  
Old 10-12-2002, 11:23 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
PHP Code:
if ($bbuserinfo[usergroupid] == 6) { 
and found it only once in index.php at about line 190.

I replaced it with
PHP Code:
if ($bbuserinfo[usergroupid] == 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 ????
Reply With Quote
  #9  
Old 10-13-2002, 02:08 AM
Reverend Reverend is offline
 
Join Date: Mar 2002
Location: England
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A "Full Release" hack has already been released for this here

If you are using 2.2.6 or newer,go to post #48 of that thread and download the attachment. (modsseeinvisible2.2.6.txt)


I'm currently using it on 2.2.8.
Reply With Quote
  #10  
Old 10-13-2002, 02:51 AM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
A "Full Release" hack has already been released for this here

If you are using 2.2.6 or newer,go to post #48 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 ....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04385 seconds
  • Memory Usage 2,273KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete