![]() |
Nice mod! Will come in handy. :)
|
a small update... i added a link for unbanning someone... if you want to add it just follow the instructions again and uncomment the line where it says
//Unban// delete those characters and your done.. the Unban link will obviously only work on a user thats currently banned enjoy ;) |
anyway to make it so its not moderator specific, just if your a admin or supermod it works?
**Edit** nevermind ignore my newbness |
Find This
Code:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"> Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6)"> |
Very nice thanks!
|
When trying to change it to smod & admins only... i get
Quote:
**EDIT** Nevermind I found the error you forgot to add a ) after ==6 so it should look like Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==6)"> |
Quote:
Quote:
Code:
<if condition="($bbuserinfo[usergroupid]==5 || $bbuserinfo[membergroupids]==6)"> |
Worked Perfectly, Thanks for the support Great hack!
|
:D glad i could help :D
|
tested and working on vb 3.0.7 :-D
|
All times are GMT. The time now is 08:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|