The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Banning users from non-vb pages
Trying to accomplish where I can ban users by admin/user.php .. I have added "can access chat room" to that, which shows up, added that information to my database.. however, I am having trouble trying to get it expressed in the chat.php file.. My current chat file checks to see if the user can send pm's.. if yes, they can access chat, if no, they can't.. however, i want to make a 'canaccesschatroom' instead..
anyone tell me how I can modify this to make this work properly? PHP Code:
|
#2
|
|||
|
|||
Basically, what I want to do since I must have not been clear, is create an option in the "USER" table so that I can choose Yes/No for "Can This User Access Chat Room" 1 = Yes 0 = No. The current way you see my php file is to check to see if the EU is in a usergroup that allows PM's to be used. I do not want to auth this off of the "Usergroup" this time, rather, look in user table to see if the specific user has access to the chat room. Anyone?
|
#3
|
|||
|
|||
What Chat hack are you talking about?
Already tried asking in the thread for that hack? |
#4
|
|||
|
|||
Marco,
This is the vB2.x Sigmachat file. Trying to add permissions so that my moderators can ban using no_permission template if they change the "Can Access Chat Room" to 0/No. Have not asked in the original hack file since it's an addon to that hack? |
#5
|
|||
|
|||
Any additional insight on this? I want to be able to choose under the "Options" tab to "Allow User to access Chat" YES/NO. I know how to do it by changing the users UserGroup, but I have many different usergroups and don't want to have to move the user from their respective groups..
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|