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)

Chris M 04-18-2002 06:13 PM

"OR" should always be in capitals...

However, "and" should always be in lower case...Weird...

Satan

Joshua Clinard 05-01-2002 08:00 PM

The following code is not found in forumdisplay.php

PHP Code:

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


SWFans.net 05-02-2002 07:23 PM

Quote:

Originally posted by Joshua Clinard
The following code is not found in forumdisplay.php

PHP Code:

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


See post #24

pentium 05-31-2002 09:20 PM

could someone post the entire right hack code for 2.2.5 please?
Sorry, I don't understand English very well, too difficult to follow all the posts about.
Thanks.

Or maybe sende it to me by mail:
layout@fastwebnet.it

Joshua Clinard 06-01-2002 04:52 AM

Quote:

Originally posted by SWFans.net
See post #24
So , your saying that I have to use forumdisplay.php that came with 2.2.2?

I cannot do that. I don't have it anymore. If you mean something else, please advise. Also, can you please update the hack instructions to fix any problems....Especially the one in Post 29.

James Cridland 06-09-2002 04:16 PM

A purely selfish post... I was trying to find this and failed.

Adding the word "hidden" will help people looking for "make hidden users visible to moderators" or something.

Which I've now done.

SWFans.net 06-12-2002 03:08 AM

I'll look into updating the instriction file for vB 2.2.6 here in the next day or two. :)

SWFans.net 06-12-2002 03:28 AM

It was easier than I thought it would be, so its done.

Here is the new file for the changes required in 2.2.6

inetd 06-12-2002 04:48 PM

How i need make changes if i installed "Users browsing this thread"?

inetd 06-12-2002 04:49 PM

Good hack!
/me click 'install' button

SWFans.net 08-06-2002 10:33 AM

Quote:

Originally posted by inetd
How i need make changes if i installed "Users browsing this thread"?
I'm not certain as I don't have that hack installed myself. Sorry.

The hack should be able to be installed as is, but it won?t function in the "Users Browsing this thread"?at least that?s my thought.

Learner29 10-13-2002 03:02 AM

Quote:

Originally posted by SWFans.net
It was easier than I thought it would be, so its done.

Here is the new file for the changes required in 2.2.6

well thank you, that was great, but I could not find the text to replace in the forumdisplay.php

SWFans.net 10-13-2002 04:24 AM

Here it is for 2.2.8 in the forumdisplay.php file. The usergroupIDs are those used in the text file attached in the first and 48th post:

Find (line # 698 in the original source file)
Code:

if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] != $forumuser['userid']) {
Replace with
Code:

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

Learner29 10-13-2002 10:37 AM

Quote:

Originally posted by SWFans.net
Here it is for 2.2.8 in the forumdisplay.php file. The usergroupIDs are those used in the text file attached in the first and 48th post:

Find (line # 698 in the original source file)
Code:

if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] != $forumuser['userid']) {
Replace with
Code:

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


that is VERY kind of you SWFans.net

thank you so much ....

Sweet Cheeks 11-27-2002 03:09 AM

Thanks a bunch for such an awesome hack :cool:

Quick question, is there a way that admin can still be invisible to anyone below them (but still be visible to other admins?)

Thanks in advance for your help :classic:

SWFans.net 11-27-2002 04:05 AM

Quote:

Originally posted by ~*Julie*~
Thanks a bunch for such an awesome hack :cool:

Quick question, is there a way that admin can still be invisible to anyone below them (but still be visible to other admins?)

Thanks in advance for your help :classic:

The closest thing to that I know of is this mod by Firefly, which hides a user of your choice's location.

https://vborg.vbsupport.ru/showthrea...threadid=31938

mhardin 12-08-2002 09:24 PM

It doesn't seem to work in 2.2.9. :disappointed:

Does anyone have fix for 2.2.9?

Thanks in advance........

SemperFidelis 01-25-2003 02:23 PM

Can anyone out there confirm that this hack does indeed work for 2.2.9 ?
An possible provide a new install.txt ?

Thanks
:)

raynett 02-05-2003 11:20 AM

I just installed it on 2.2.9 with no problems (following instructions on post #48 attachment).

Btw, thanks SWFans.net! This was my first added hack. :)

Quikdeth 03-04-2003 02:51 AM

I'm trying to find out the groupid's for mine. I used the status bar and hovered over the edit... but my status bar isn't long enough to see the end of the url. What can I do?

wolfgang2 04-16-2003 07:38 PM

it is not working on 2.3.0:(

Who can help? thanx a lot!

Bison 04-17-2003 01:25 PM

Installed, and works on 2.2.9!

wolfgang2 04-17-2003 06:11 PM

could somebody help me PLLEEEAAASSSEEEEEE...

I really would like to have this feature for my mods...

wolfgang2 04-21-2003 09:20 AM

it is not working on my version 2.3.0
there are no errormessages and the forum is going well.

so i can not explain to myself why it is not working:(

shoppingtelly 05-17-2003 11:07 AM

This would be a really usefull feature but can't get it to work on 2.2.0

midnightz 05-22-2003 05:11 AM

I guess there is no way to change the code lightly where supers and mods see invvisibles, but not the admin. I choose to reamin fully hidden for protection of my board.

I would think it would be just a edit in the hack, can anybody help? If not I must uninstall this wonderful hack.

Thanks,

midz

extremeskins24 06-27-2003 04:30 PM

Hey. I've been attempting to install this hack for 2 hours and I cannot figure out why it is not working. I'm sure it's something simple, and I'm just missing it...

Here's a code snippet..

PHP Code:

    if ($loggedin['invisible']==or $bbuserinfo['usergroupid']==or $bbuserinfo['usergroupid']==or $bbuserinfo['usergroupid']==7) {
      
$numbervisible++;
      
$userid $loggedin['userid'];
      if (
$loggedin['invisible'] == 1) { // Invisible User but show to Admin
        
$invisibleuser '*';
      } else {
        
$invisibleuser '';
      }
      if (
$loggedin['usergroupid'] == and $highlightadmin) {
          
$username "<b><i>$loggedin[username]</i></b>";
      } else if ((
$mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
          
$username "<b>$loggedin[username]</b>";
      } else {
                
$username $loggedin['username'];
            }
      eval(
"\$activeusers = \"".gettemplate('forumhome_loggedinuser')."\";");
    }

    while (
$loggedin=$DB_site->fetch_array($loggedins)) {
      
$numberregistered++;
      
$invisibleuser '';
      if (
$loggedin['invisible']==and $bbuserinfo['usergroupid']!=and $bbuserinfo['usergroupid']!=and $bbuserinfo['usergroupid']!=7) {            
        continue;
      }
      
$numbervisible++;
      
$userid=$loggedin['userid'];
      if (
$loggedin['invisible'] == 1) { // Invisible User but show to Admin
        
$invisibleuser '*';
      }
      if (
$loggedin['usergroupid'] == and $highlightadmin) {
        
$username "<b><i>$loggedin[username]</i></b>";
            } else if ((
$mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
                
$username "<b>$loggedin[username]</b>";
            } else {
                
$username $loggedin['username'];
            }
      eval(
"\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";");
    } 

My usergroupid's are correct.

Thanks for the help!

muzicmax 07-10-2003 03:13 AM

Does this hack work with vBulletin Version 2.3.0 ?

ssabmud 08-16-2003 07:03 PM

This isn't working for me in 2.3.0. Anyone know what needs to be done?

Quikdeth 10-11-2003 03:08 PM

bump. I have 2.3.2 I had it before the update, but would like to re-install on this new version.

NeveAddict 10-25-2003 09:49 PM

Anyone got a working version for 2.3.2 already?

Alas-Digitales 12-03-2003 08:12 PM

Does this hack work with version 2.3.3?, If not, is there any hack with the same features, that could work with this version?

Thanks

rowanthemanfish 01-12-2004 12:31 PM

Has anyone managed to get this working?

I could really do with it being on 2.2.3

muse.mu 01-14-2004 05:27 PM

Will this be updated for vB2.3.4 anytime soon, or are you laying off to work on vB3 stuff?
Cheers.

stark427 02-05-2004 02:00 AM

I seems that it works ok at my 2.3.3 forum (It is the 2.3.3 with the 2.3.4 Calendar.php file - that security fix).

I used this version of the hack

https://vborg.vbsupport.ru/showpost....4&postcount=48

EDITED :

Except one small bug (?).

A moderator can see other invisible users at the "Users Browsing this Forum" line, but not himself.

Overall great hack

If I encounter any probs I will report them.

JaNa 04-23-2004 04:26 AM

Surprising this sorta thing didn't come with the original VB. *Clicks Install*

say-what 08-04-2004 12:22 AM

I just installed this on a 2.3.0 board only for the super mods - they love it. But, for 2.3.0 (and maybe some of the other 2.2.x versions) there are 3 more changes that need to be made.

To make the moderator visible to himself when browsing a forum, you need to do the following in forumdisplay.php

FIND:
Code:

if ((!$bbuserinfo['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] <> 0) {
REPLACE WITH:
Code:

if ((!$bbuserinfo['invisible'] or $bbuserinfo['usergroupid'] == 6 or $bbuserinfo['usergroupid'] == 5 or $bbuserinfo['usergroupid'] == 7) and $bbuserinfo['userid'] <> 0) {
To make invisible members visible when viewing a thread, open showthread.php

FIND:
Code:

if ((!$threaduser['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] != $threaduser['userid']) {
REPLACE WITH:
Code:

if ((!$threaduser['invisible'] or $bbuserinfo['usergroupid'] == 6 or $bbuserinfo['usergroupid'] == 7) and $bbuserinfo['userid'] != $threaduser['userid']) {
FIND:
Code:

if ((!$bbuserinfo['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] <> 0) {
REPLACE WITH:
Code:

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


All times are GMT. The time now is 05:01 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.01340 seconds
  • Memory Usage 1,843KB
  • 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
  • (10)bbcode_code_printable
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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