The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Check if user has started a thread in specific forum
I was wondering if someone could help me with this small hack. I want a link to appear in my menu for all members who haven't started a thread in the "Introductions" forum.
Basically I want to insert something like this into my header template. HTML Code:
<if condition="$posted == no"> Please Introduce Yourself </if> Thanks eric |
#2
|
|||
|
|||
PHP Code:
That is not tested. |
#3
|
||||
|
||||
thanks, noppid.
would the template conditional look like this: <if condition="$posted_intro"> blah </if> |
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
Ok, here's what I have and it's not working:
php_include_start: PHP Code:
header: HTML Code:
<if condition="$posted_intro"> <tr> <td class="vbmenu_option" align="left">Posted</td> </tr> <else /> <tr> <td class="vbmenu_option" align="left">Not Posted</td> </tr> </if> eric Ok, i got it now. I changed the php_include_start to this: PHP Code:
eric |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|