The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Threadid number in title.
I have a kind of support forum and would like to insert the thread number as if it was the support ticket number into the thread title. So that the thread title looks like:
Quote:
So it would add the WR# and the thread number as the actual number. WR =work request fyi. Or if anyone has a better idea let me know. I'm pretty sure I can figure it out but some of you wizzards here can probably do it in seconds when it takes me hours. BTW it should only show on the first post and have if forum conditionals. The reason for this is simple sometimes the work request are the same or very similar. So when you go back to complete it "reply" Its hard to find. If the title had a number it would be easier to locate. --------------- Added [DATE]1193502423[/DATE] at [TIME]1193502423[/TIME] --------------- Will this code do it? Im not able to test right away. In postbit or postbit legacy Find: Code:
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> Code:
<if condition="$thread['forumid'] == X"> <if condition=$post['title']"><strong>$post[title] WR: ['threadid']</strong></if> </if> <else /> Save. |
#2
|
||||
|
||||
I would change the 'add below' code to this:
Code:
<if condition=$post['title']"><strong>$post[title]<if condition="$thread['forumid'] == X"> WR: ['threadid']</if></strong></if> |
#3
|
|||
|
|||
Yes thanks.
|
#4
|
|||
|
|||
It took me a while to get it right.
Heres what I came up with Code:
<if condition="$post['title']"><strong>$post[title]</strong></if> <if condition="$forum['forumid'] == X "> Work Order #<if condition="$thread['threadid']"><strong> $thread[threadid]</strong></if></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|