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)

Erwin 01-13-2002 02:23 AM

Yup, it works for 2.2.1 alright. Thanks! My mods will be pleased... :)

SWFans.net 01-16-2002 05:25 AM

:D

Pilot 02-03-2002 10:47 AM

This hack is essential (and should be standard in VB),

However it's not hard to apply BUT in 2.2.2 the ForumDisplay code
has changed and the hack instructions don't fit.

Can someone update it for 2.2.2 please?

SWFans.net 02-03-2002 05:45 PM

Find:

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 or bbuserinfo['usergroupid']==5) and $bbuserinfo['userid'] != $forumuser['userid']) {
usergroup 7 being the mod group on my board and usergroup 5 being supermods.

I myself had some problems with the forumdisplay.php file from 2.2.2 not showing older sticky threads and just went back to using the forumdisplay.php file from 2.2.1.

LuBi 02-03-2002 06:53 PM

There was a fix for that check around on here. Also there is an optimized version of the showthread 2.2.2 on here also. You need the optimized showthread then apply the stickey fix.

Joshua Clinard 02-05-2002 06:26 PM

When I make that change, I get a parse error on line 688.

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

Here is the code I had in mine, since my regular mod group has supermod abilities and I have no supermods persay:

Code:

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

Hellburn 03-03-2002 03:34 PM

When I make that change, I get a parse error on line 688 in the forumdisplay.php. Can everybody fix that problem. I have vBB 2.2.2

melondog 03-05-2002 10:16 PM

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']) {

admiralapril 03-09-2002 09:45 PM

I am having a very hard time getting this hack to work in v2.2.3b. Has anyone been successful at installing it on this newest version?

I had it running fine on v2.2.1, no problems.

I'm pretty sure that I followed all of the instructions but my moderators still aren't seeing those invisible. :confused: :frus:


All times are GMT. The time now is 08:13 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.01233 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_code_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