View Full Version : Prefix to appear WITHIN The title? This possible if so help me out :(
Wonksta
05-08-2009, 12:49 PM
Fellas - I just found out about Prefixes in vBulletin.
At the moment they appear like you see them by default.
{PREFIX} [ACTUAL TITLE]
This does not show up in my Live Topic or normal New Posts Today.
I want it so that Prefix is before the Title but inside it if you know what I mean.
[ {PREFIX} ACTUAL TITLE]
So that way it looks like its been added manually
[PREFIX] USER TITLE
Cheers!
Lynne
05-08-2009, 02:35 PM
I'm not sure exactly what you mean, but you can change the template to put it however you want.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.
Wonksta
05-08-2009, 02:56 PM
I'm not sure exactly what you mean, but you can change the template to put it however you want.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.
https://vborg.vbsupport.ru/external/2009/05/133.jpg
In Picture 1:
That is what it looks like when the Forum members manually add a prefix in their title by typing it out before the first word for instance [WA] The Title Goes Here
Picture 2:
This is what it looks like when a user SELECTS a prefix from the Prefix drop down menue. Can you see how it does not look 'natural' from Picture 1?
Basically I want the Prefix from the drop down menu to appear exactly as in Picture 1.
Let me know if that makes sense please. Thanks for the prompt reply ;)
Lynne
05-08-2009, 03:10 PM
And like I said, modify the template to put it right next to the thread title so it looks like it is part of it.
Wonksta
05-08-2009, 03:21 PM
Alright I've done that here is what I can see in the source Code
<td class="alt1" id="td_threadtitle_1186" title="Test Thread"> ####HERE IS THE ACTUAL TITLE?####
<a rel="vB::AJAX"></a>
<div>
##HERE IT IS ###<span style="color: black"><b>[WA]</b></span>
<a href="showthread.php?t=1186" id="thread_title_1186">Debugging</a>
<img src="images/redbar/statusicon/thread_livetopic.gif" alt="live topic" />
</div>
<div class="smallfont">
I've added #### Notes pointing out where the Title is and where the Prefix is
Lynne
05-08-2009, 05:52 PM
OK, so did you find the template and change it to how you want?
Wonksta
05-08-2009, 10:19 PM
OK, so did you find the template and change it to how you want?
-I thought it was SHOWTHREAD Template did some moving around but isn't :(
Lynne
05-08-2009, 10:47 PM
It is not the showthread template. Did you do what I said in post 2?
Wonksta
05-09-2009, 05:24 AM
It is not the showthread template. Did you do what I said in post 2?
Hi Lynne I enabled that setting and saved it.
When to the forum CTRL + Refreshed the page and viewed the source. I couldn't see anything different with the setting enabled. Am I Looking in the wrong place?
I managed to find $thread[thread_prefix] and $thread [thread_title]?
Thank you Lynne
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.