The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if condition based on thread prefix
Does anyone know if vBulletin already has a if condition that will activate based on a single threads prefix?
|
#2
|
|||
|
|||
-= bump =-
|
#3
|
||||
|
||||
Probably something like:
HTML Code:
<if condition="$threadinfo[prefixid] == 'xxxx'"> stuff to do if prefixid is xxxx </if> |
#4
|
|||
|
|||
well I am trying to change the information that displays on the forumhome depending on the prefix of a thread in my forum
|
#5
|
||||
|
||||
What hook location are you using? Go find it in the code and see what variable is appropriate to use in there.
|
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
-= Bump =-
|
#8
|
|||
|
|||
Quote:
I want to hide threads from guests that have the prefix NWS: (not work safe) so something like Lynne posted would be the direction I'd start with but that's a different case. Can you show us visually? i.e. a pic of the forum and a pic of forumhome how you'd like it. Maybe we can figure it out. |
#9
|
|||
|
|||
The image should give you all the information you need
http://img249.imageshack.us/img249/6753/helpoq.jpg |
#10
|
||||
|
||||
I have no idea what I am supposed to be looking at in that image and what it is you want to change/add in there.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|