Quote:
Originally Posted by Junkie
What would produce Title [Prefix]? I have played with different combinations and can not seem to figure this out. I would like to do away with the prefix from the thread title altogether, but Title [Prefix] looks better than the above two options.
|
Hi
Junkie.

Can you clarify -- where exactly do you want
Title [Prefix] to show this way? On the threads list in forumdisplay? Or within the thread itself? Or both?
Generally speaking, you'd need to find this code:
Code:
<if condition="$show['threadprefix'] == 1">
<if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if>
</if>
And move it
after the thread title code. For example, in
threadbit template (which affects how the thread title displays on forumdisplay), the thread title and prefix code section originally should look something like this:
Code:
$thread[movedprefix]
$thread[typeprefix]
<if condition="$show['threadprefix'] == 1">
<if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if>
</if>
$thread[moderatedprefix]
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
To move the thread prefix (but not the "moved" or "moderated" prefixes) display
after the thread title, you'd want the above section to look like this:
Code:
$thread[movedprefix]
$thread[typeprefix]
$thread[moderatedprefix]
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> <if condition="$show['threadprefix'] == 1">
<if condition="$thread['threadprefix']">$prefixmarkup[0]$thread[threadprefix]$prefixmarkup[1]</if>
</if>
If you let me know exactly where you want this change, I can give you more detailed instructions. Hope this makes sense!