vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Make invisible users visible to Super Moderators and Moderators. (https://vborg.vbsupport.ru/showthread.php?t=32386)

Joshua Clinard 03-09-2002 10:32 PM

Did you try that code by melondog. I haven't verified if a mod can see them, but it did get the error message to go away.

admiralapril 03-09-2002 10:40 PM

Quote:

Originally posted by Joshua Clinard
Did you try that code by melondog. I haven't verified if a mod can see them, but it did get the error message to go away.
I haven't gotten any kind of error message. I've put in the modifications for the hack, uploaded in ASCII, but my moderators still cannot see invisible members. I did a test myself, created a moderator, logged in, and didn't see the invisible members even though I knew they were there. No invis on the Who's Online page, no invis on the index at the bottom, where I have my online members listed. When I log back into my admin account, they show fine (which they should). It's like I hadn't modified the .php pages at all.

What am I doing wrong? Does this work in 2.2.3b?

BTW, my admin and moderator user group numbers are the same as the original poster's.

Joshua Clinard 03-09-2002 10:43 PM

Well melondog is my tech admin, and I just verified that his code does indeed work. I don't know what else to tell you.

SWFans.net 03-10-2002 03:54 AM

Quote:

Originally posted by melondog
here is the fixed code. I think it should work....

if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6 or $bbuserinfo['usergroupid'] == 5 or $bbuserinfo['usergroupid'] == 7) and $bbuserinfo['userid'] != $forumuser['userid']) {

Thanks melondog. That code works for me. :)

machiavelli33 03-30-2002 02:18 AM

I'm still getting error:

Call to undefined function: phperror_reporting()

after following the instructions and updates. I guess it just doenst work with 2.2.4

SWFans.net 03-30-2002 07:02 PM

It is functioning in 2.2.4 for me with the modification that “melondog” posted in post #29. I don’t know what the error you are getting may mean, but I would suggest starting with a clean online.php and forumdisplay.php, and giving it another shot.

dotagious 04-04-2002 05:51 AM

Anyone know how I can do this on 2.2.5 ?

SWFans.net 04-05-2002 06:21 AM

The same way as for 2.2.4

gvelazquez 04-08-2002 10:25 PM

Thanks, I just used that hack on 2.2.5, works great. I added Super Moderators (usergroup 5) to the code and they can see invis now.

-=dm=- 04-17-2002 11:31 PM

working fine in 2.2.4 just removed the moderators group.
only admin and Super mod. can view invisible members.

I got one error in online.php
PHP Code:

if ($bbuserinfo[usergroupid] == or $bbuserinfo[usergroupid] == 5) { 

but I changed the "or" to "OR" and bingo:D now it working fine :)

thanx for a nice hack :)
dm


All times are GMT. The time now is 11:59 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.01152 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete