Log in

View Full Version : Looking to use thread title, inside post.


Win Z
10-07-2009, 07:27 AM
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:
Thread titled "Steve", the message would display: "Steve <standard text>"
Thread titled "Bob", the message would display "Bob <standard text>"How would I do both of these things? Please help.
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

Lynne
10-07-2009, 02:44 PM
a) You can add something to the SHOWTHREAD template and put a condition around it:
<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>

Win Z
10-09-2009, 08:30 AM
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.

Lynne
10-09-2009, 02:06 PM
Use $thread[title] instead of $threadinfo[title]