The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Looking to use thread title, inside post.
Hey there,
I'm hoping you guys can help me. I'm basically looking to do a couple of things; A) I'm looking to display a message, inside threads (preferably in the post, but anywhere inside the actually page is fine), that are in certain forums, and displayed to Guests only. How would I do this? B) Inside that box, I would like to display the thread title automatically. EG:
If significant modification is required, I'm willing to pay -- although if you're gonna ask for an extortionate price, don't bother, I'm not stupid. I'm using vBulletin 3.6, by the way. Kind Regards, Win Z |
#2
|
||||
|
||||
a) You can add something to the SHOWTHREAD template and put a condition around it:
HTML Code:
<if condition="$show['guest'] AND in_array($forum[forumid], array(x,y,z))"> //stuff to show to guests in forumids x, y, and z $threadinfo[title] <standard text> </if> |
#3
|
|||
|
|||
How would I use this inside the postbit?
I'm looking to use this inside the post itself, above the signature.. however $threadinfo[title] won't display the title. Thanks for the help Lynne, hoping you can assist me on this final thing. |
#4
|
||||
|
||||
Use $thread[title] instead of $threadinfo[title]
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|