The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help with an IF
Okay, so I basically want to create an if for one of my custom pages. My custom page takes infromation from threads. Basically the link looks like this: http://www.mysite.com/forums/news.php?id=2058
The last four numbers is the thread id. The infromation from the thread is displayed through this template: HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead"><font size="4" face="Verdana">$dateposted - Posted by $thread[postusername]</font></td> </tr> <tr> <td class="alt1"><div class="navbar_notice"> <!-- icon and title --> <div class="smallfont"> <if condition="$show['threadicon']"><img class="inlineimg" src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /></if> <strong>$thread[title]</strong> </div> <hr size="1" style="color:#000000; background-color:#000000" /> <!-- / icon and title --> <!-- message --> <div id="post_message_$thread[threadid]">$message</div> <!-- / message --></div></td> </tr> </table> <br /> $footer </body> </html> So it would basically have something extra like an extra line of text if the thread Id in the url would be something specific, how can I do this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|