The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Invisible users by usergroup
Would it be possible to make a hack which would enable admins to turn off the invisible user feature for some usergroups and on for others? For example, I want my "newbie" group to not have access to the invisible user feature. But I want my "veteran" usergroup members to have the option to be invisible in the who's online.
Thoughts? |
#2
|
||||
|
||||
Sorry I misread your post.
|
#3
|
||||
|
||||
Edit member.php, find:
PHP Code:
PHP Code:
I assume that your newbie group is the group members are put into when they first register and if so dont forget to edit registration template and remove the HTML code of visibility choice (so that they cant choose to be invisible when they first register). This hack will apply whey your members try to be invisible through edit options section but will not make visible existing invis. members. To do that you need to run a SQL query in your db.. |
#4
|
|||
|
|||
Thank you very much!!!
Just a couple of questions: What is the proper format for making more than one usergroup incapable of being invisible? And can you show me what the sql query should look like? Again, thank you sooo much for your time! |
#5
|
||||
|
||||
PHP Code:
SQL query is: UPDATE user SET invisible=0 WHERE usergroupid=X Replace X with usergroupid of your newbie group and run this query more than once for every other usergroup you want to force to be visible.. and yw.. |
#6
|
|||
|
|||
Thank you very much!!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|