The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Problem with Chat trolls
There is someone continually trolling my chat room (under new accounts constantly) somehow and I don't know how he's doing this for the following reasons:
1. new registrations moderated first (he was not approved yet, but "awaiting email activation" 2. Real Chat (software) is set to usergroups 2, 6, 7, and 38 only. Awaiting email activation usergroup as you know is 4. This is the template I'm using in various places (header, footer, arcade main page for example) that contains the entrance link. Is something wrong here? Code:
<!-- Media Center Nav --> <div class="mc_border_out"> <div class="mc_border_in"> <div id="middlebar"> <a href="http://www.talkjesus.com/arcade.php"><span><img src="/images/media-menu/games.png" alt="Arcade Games" class="img-media-menu" /> Arcade</span></a> <a href="http://www.talkjesus.com/blogs"><span><img src="/images/media-menu/highlight.png" alt="Blogs" class="img-media-menu" /> Blogs</span></a> <if condition="in_array($bbuserinfo['usergroupid'], array(2,6,7,38))"> <a href="http://www.talkjesus.com/misc.php?do=page&template=Chat"><span><img src="/images/media-menu/chat.png" alt="Christian Live Chat" class="img-media-menu" /> Live Chat</span></a><else /><a href="http://www.talkjesus.com/forum-rules-ten-commandments/53-talk-jesus-10-commandments-rule.html"><span><img src="/images/media-menu/chat.png" alt="Christian Live Chat" class="img-media-menu" /> Live Chat: Disabled (?)</span></a></if> <a href="http://www.talkjesus.com/album.php"><span><img src="/images/media-menu/folder.png" alt="Member Albums" class="img-media-menu" /> Member Albums</span></a> <a href="http://www.talkjesus.com/gallery/index.php"><span><img src="/images/media-menu/image.png" alt="Photo Gallery" class="img-media-menu" /> Photo Gallery</span></a> <a href="javascript:openRadioAndTV()"><span><img src="/images/media-menu/multimedia.png" alt="Radio Streaming" class="img-media-menu" /> Radio</span></a> </div> </div> </div> <!-- /Media Center Nav --> <br /> VB 3.8x RealChat Usergroups 2,6,7,38 only allowed. |
#2
|
||||
|
||||
If they know the link to the chat, just using a template conditional to hide it won't work. You'll need to have the 'misc.php?do=page&template=Chat' do a check on usergroup. For example:
PHP Code:
|
#3
|
||||
|
||||
Thanks, but confused here.
Where is the full link for chat in your code, and closing if statement? |
#4
|
||||
|
||||
Would appreciate help here
|
#5
|
||||
|
||||
I would appreciate help on this
|
#6
|
|||
|
|||
The code above needs to be in a plugin. In the admin control panel under "Plugins & Products" choose "Add New Plugin". I think for "Hook Location", "misc_start" might work. Enter a title like "Chat Permissions" or something, and paste the above code in the "Plugin PHP Code" field. Choose "Yes" next to "Plugin is Active" and then press "Save".
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|