The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Remove access to New Threads
I'm looking for a Mod to remove access to New Threads in a specific forum for a single specific member.
does one exist? |
#2
|
||||
|
||||
well, you can use conditional in templates to do the trick.
|
#3
|
||||
|
||||
I don't know how to do this :surprised:
|
#4
|
|||
|
|||
In your forumdisplay template find the bit that says about newthread.gif and around that code add something like:
Code:
<if condition="$bbuserinfo[userid]!=x"> all the stuff about newthread.gif </if> There are two instances of this in the template so make sure that you do both of them. BTW, I've not checked the code, just done it from memory so if theres a bug give me a poke and I'll fix it. |
#5
|
||||
|
||||
Does that remove the users new thread privileges to all forums? I want to only remove it for a specific forum :squareeyed:
|
#6
|
|||
|
|||
ooops yeah it would.
Code:
<if condition="$forum[forumid]=x"> <if condition="$bbuserinfo[userid]!=y"> stuff for button </if> <else /> stuff for button </if> x = forum id number y = user id number |
#7
|
||||
|
||||
Quote:
Code:
<if condition="($forum[forumid]=x) AND ($bbuserinfo[userid]!=y")>msg</if> |
#8
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|