Log in

View Full Version : First post thread title & stylevariables


IrvingvB
01-06-2011, 10:27 PM
Hello all,

This topic was also opened in another subforum (sorry for that), but I realize now that this subforum is more suitable for my question. I have two questions concerning the following:
- How do I remove the thread title in the first post? I already tried

AdminCP -> vBulletin Options -> Message Posting and Editing Options -> Automatically Quote Post / Thread Title -> No

And it indeed removes the thread titles from all posts, except from the first one.

Example:
http://www.forummers.nl/images/pompom.jpg

- Is there somewhere a lists to see which style variables are not used (and are these deleteable?). That would make my overview a lot better when I want to adjust the colours. For example, I don't know where to find the style variable that changes the color of sticky subjects in forumdisplay.php. I've been altering my whole style, but this variable I can't find for some reason.

Example: http://www.forummers.nl/images/pompom2.jpg

IrvingvB
01-20-2011, 01:20 AM
The second problem is fixed, but the first one is still open though. Where can I delete the topic title from the first post, which is automatically added?

TheLastSuperman
01-20-2011, 02:25 AM
The second problem is fixed, but the first one is still open though. Where can I delete the topic title from the first post, which is automatically added?

Edit the template posbit_legacy and find:

<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="posttitle icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>

Replace with:

<vb:if condition="!$GLOBALS['FIRSTPOSTID']">
<vb:comment>Removed icon and title from first post</vb:comment>
<vb:else />
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="posttitle icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>
</vb:if>

Should do the trick :D.

_____________________________________

Just in case anyone wants to know about the postbit template versus the postbit_legacy template....

Edit template posbit, find:

<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>

Replace with:

<vb:if condition="!$GLOBALS['FIRSTPOSTID']">
<vb:comment>Removed icon and title from first post</vb:comment>
<vb:else />
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>
</vb:if>