The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Last post text should line up better
|
#2
|
|||
|
|||
i want to edit that one too , cause using my style the last post title and the autor are the same exactly color , i wanna use different colors for that
|
#3
|
||||
|
||||
Without seeing your site or the code you have set up currently, it's hard to be sure what you've done. My own site has the last post on the same line as the last poster.
|
#4
|
|||
|
|||
should be this one ...
Code:
<div class="smallfont" align="$stylevar[left]"> <div> <span style="white-space:nowrap"> <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <if condition="$lastpostinfo['prefix']"> $lastpostinfo[prefix] </span><if condition="is_browser('safari')"><!--bug#24775--> </if> <span style="white-space:nowrap"> </if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a></span> </div> <div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>"> <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> </div> <div align="$stylevar[right]" style="white-space:nowrap"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </div> i would like the name of the poster would be parsed as usually in the rest of the forum , with the color and style of his respective usergroup ( like 'who's online box' ) |
#5
|
|||
|
|||
If I can figure out what template is responsible for this, I can probably poke around it enough to figure out how to make the change I want.
|
#6
|
|||
|
|||
i take that code form the template
forumhome_lastpostby if u manage how to edit can u please help me too ? thanks |
#7
|
||||
|
||||
Whenever you want to find a template, 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.
|
#8
|
|||
|
|||
Quote:
Anyways, this is in my forumhome_lastpostby template. The code for it is this: HTML Code:
<if condition="$show['lastpostinfo']"> <div class="smallfont" align="$stylevar[left]"> <div> <span style="white-space:nowrap"> <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <if condition="$lastpostinfo['prefix']"> $lastpostinfo[prefix] </span><if condition="is_browser('safari')"><!--bug#24775--> </if> <span style="white-space:nowrap"> </if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a></span> </div> <div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>"> <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> </div> <div align="$stylevar[right]" style="white-space:nowrap"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </div> <else /> <div class="smallfont" align="$stylevar[right]"> $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a> </div> </if> |
#9
|
|||
|
|||
i have finally done ... i explain how to so if some noob like me need this kind of thing it can follow my experience
1) add a new class in Additional CSS with attributes i would like to use ... Code:
.lastpostby, .lastpostbyActive { color: #ffffff; } .lastpostby a:link, .lastpostby_alink, .lastpostbyActive a:link, .lastpostbyActive_alink { color: #ff8c25; text-decoration: none; } .lastpostby a:visited, .lastpostby_avisited, .lastpostbyActive a:visited, .lastpostbyActive_avisited { color: #ff8c25; text-decoration: none; } .lastpostby a:hover, .lastpostby a:active, .lastpostby_ahover, .alt1Active a:hover, .lastpostbyActive a:active, .lastpostbyActive_ahover { color: #33FF33; text-decoration: none; } Code:
<div class="lastpostby" style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>"> <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> </div> that's all , but it was so hard figuring out how to do this , i really take long time to search for the specific help and at the end i tried on my own ... |
#10
|
|||
|
|||
@ Maxweel ...
this is ur code ... Code:
<div> <span style="white-space:nowrap"> <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <if condition="$lastpostinfo['prefix']"> $lastpostinfo[prefix] </span><if condition="is_browser('safari')"><!--bug#24775--> </if> <span style="white-space:nowrap"> </if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a></span> </div> <div style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>"> <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> </div> like ... Code:
<div> <span style="white-space:nowrap"> <if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <if condition="$lastpostinfo['prefix']"> $lastpostinfo[prefix] </span><if condition="is_browser('safari')"><!--bug#24775--> </if> <span style="white-space:nowrap"> </if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a></span> <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> </div> i removed the Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|