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)
-   -   Show Invisible Users by Usergroup permissions... (https://vborg.vbsupport.ru/showthread.php?t=41636)

Chris M 07-27-2002 10:00 PM

Show Invisible Users by Usergroup permissions...
 
Version 1.0:
What does this hack do?
It allows you to set what usergroups can see Invisible users...This means that you no longer have to code the script every time you want a new Usergroup to be able to see Invisible users!

Installation time : 5 mins...

Screenshots :

This is a screenshot from the Admin Cp:
Screenshot

Enjoy!:)

Satan

Tarion 07-28-2002 08:57 PM

very usefull i think nice hack

[high]* Tarion klick install :)[/high]

Xenon 07-28-2002 09:07 PM

easy but usefull ;)

i like this minihacks ;)

personally i won't use it, it's nice to know i'm the only one seeing invisible users ;)

GeOrGe 08-12-2002 12:11 AM

I will install this...

Thanks

Boofo 08-12-2002 01:10 AM

Can this also be made to allow the Admin to set individual users to be able to see invisible users?

Xenon 08-12-2002 01:15 AM

not this hack, it changes the usergrouptable, but it wouldn't be hard:

add a field to user table called canseeinvisible, as you see in the hack for usergroups here

then you'll have to add a yesnocode when you edit users from admin-cp (take a look at user.php i'm sure you can found out how;))

and then you have to modify all the lines hellsatan poste which handles invisible users
where you can read "or $bbuserinfo[usergroupid]==6" just add "or $bbuserinfo[canseeinvisible]"

Boofo 08-12-2002 01:18 AM

Great! I'll give it a go. When I get it together. will you look at it for me and make sure I have it right, though? :)

Quote:

Originally posted by Xenon
not this hack, it changes the usergrouptable, but it wouldn't be hard:

add a field to user table called canseeinvisible, as you see in the hack for usergroups here

then you'll have to add a yesnocode when you edit users from admin-cp (take a look at user.php i'm sure you can found out how;))

and then you have to modify all the lines hellsatan poste which handles invisible users
where you can read "or $bbuserinfo[usergroupid]==6" just add "or $bbuserinfo[canseeinvisible]"


MGM 07-26-2003 01:00 AM

hmm.... after I installed this i got an error when i tried editing a usergroup:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: UPDATE usergroup SET title='Super Moderators',usertitle='Super Moderator',cancontrolpanel=0,canmodifyprofile=1,ca nviewmembers=1,canview=1,showgroup=1,cansearch=1,c anemail=1,canpostnew=1,canmove=1,canopenclose=1,ca ndeletethread=1,canreplyown=1,canreplyothers=1,can viewothers=1,caneditpost=1,candeletepost=1,canusep m=1,canpostpoll=1,canvote=1,canpostattachment=1,is moderator=,canseeinvisible=1,canpublicedit=1,canpu blicevent=1,canthreadrate=1,cantrackpm=1,candenypm receipts=1,maxbuddypm=0,maxforwardpm=0,canwhosonli ne=1,canwhosonlineip=1,cangetattachment=1 WHERE usergroupid=5
mysql error: You have an error in your SQL syntax near 'canseeinvisible=1,canpublicedit=1,canpublicevent= 1,canthreadrate=1,cantrackpm=1,' at line 1

mysql error number: 1064

Date: Friday 25th of July 2003 10:01:59 PM
Script: http://www.forevergaming.com/forums/.../usergroup.php
Referer: http://www.forevergaming.com/forums/...&usergroupid=5

Any help?

EDIT: well, I fixed that problem but my Smod's still can't see invisible users...

MGM out


All times are GMT. The time now is 08:33 AM.

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.01045 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete