View Full Version : lastpostby


blindchild02
19th December 2003, 01:19 AM
wuts the code for the 'lastpostby' template here?

theyre all the same size and all...

the title / username dont stretch them out... i want something like that, could sum1 plz help me out.

Floris
19th December 2003, 01:25 AM
I set it to 240px

Floris
19th December 2003, 01:26 AM
by the way,
where can i view your vb powered forum ? xamix ?

blindchild02
19th December 2003, 01:27 AM
by the way,
where can i view your vb powered forum ? xamix ?

www.xamira.net

and i have the gamma set up on a private server,
and what do u type in to set it to 240 px?

The Wise One
19th December 2003, 01:43 AM
www.xamira.net

and i have the gamma set up on a private server,
and what do u type in to set it to 240 px?
just do a search in the lastpostby template for 175...then change that value to 240.

The Wise One
19th December 2003, 01:47 AM
is there a way to decrease the font size in the lastpostby field without changing the value for smallfont...and if so...how?

blindchild02
19th December 2003, 01:50 AM
there is no 175 in mine.... i need the code for width :|

The Wise One
19th December 2003, 01:54 AM
there is no 175 in mine.... i need the code for width :|
if you used my lastpostby i sent you...you have 175. if not...can you post or email me your lastpostby template?

blindchild02
19th December 2003, 02:03 AM
<div class="smallfont" align="$stylevar[left]" style="white-space:nowrap">
<div>
$lastpostinfo[icon]
<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</div>
<div style="float:$stylevar[left]">
<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
</div>
<div align="$stylevar[right]">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</div>

... default

The Wise One
19th December 2003, 02:07 AM
<div class="smallfont" align="$stylevar[left]" style="white-space:nowrap">


... default

try replacing the above with this:


<div class="smallfont" align="$stylevar[left]" style="white-space:nowrap; width: 240px;">

blindchild02
19th December 2003, 02:15 AM
try replacing the above with this:


<div class="smallfont" align="$stylevar[left]" style="white-space:nowrap; width: 240px;">


and this is what happens....

the icon gets cut off for some reason...

blindchild02
19th December 2003, 02:52 AM
ok. i fixed the problem...

in the " Additional CS Definitions " i found this : img { vertical-align: middle; }

so that made the image mess up. so i fixed it.

Boofo
25th December 2003, 01:38 PM
Is there any way to make the lastpostby like it was in vB2? With everything on the right in 3 rows. I tried a mod I found but it didn't do it right for all of the forums. It was staggered. Any one know how to do this? :)

Neeto
25th December 2003, 03:14 PM
If you set a width for the lastpost column that is not too small (like it currently is) then it wouldn't stagger.

Boofo
25th December 2003, 04:05 PM
But that's what it kept doing. Does anyone have the code to make the lastpostby like it was in vB2? I don't like it as wide as it is now. :(

Neeto
25th December 2003, 05:44 PM
To make it like vb2 would be to take away the title of the last thread, since that was not a feature of vb2. I'm not really sure you want that though. Edit: One solution would probably to do it kind of like invision power board. (three lines in last post) That way it wouldn't have to be such a wide load.
Follow me?

Boofo
25th December 2003, 05:59 PM
that's what I want. To have 3 lines lined up on the right and the arrow on the right of all of that like vB2 was. Can you help me with the code chnages to do that? :)

Neeto
25th December 2003, 06:30 PM
That's not how vb2 was, cause there was only two lines. But I don't wanna argue about it. lol
It looks like Blindchild has done the simple template mod you're asking for, so maybe he'll be kind enough to share it.

BTW, Boofo. I'm not trying to be rude, it's just that it's basic html. You should look into learning at least some basics so you can move elements in your vb around a little like this.

Boofo
26th December 2003, 02:31 AM
I had the 2 lines (3 with the last post hack by PPN added) on vB2. I also had it like that for the Gamma but it wouldn't line up on the right like it should in all forums. 1 or 2 forums would be 2 spaces form the lastpostby arrow while others would be 1 space from it. I know html to some degree, but they have really changed things around in the Gamma. I'm not complaining, most are for the better and great work by the vBulletin team. I love the new version. I'm having a blast! :)

Apoco
28th December 2003, 02:08 AM
<div class="smallfont" align="$stylevar[left]" style="white-space:nowrap">
<div>
$lastpostinfo[icon]
<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo [lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase [go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread] </strong></a>
</div>
<div style="float:$stylevar[left]">
<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo [forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
</div>
<div align="$stylevar[right]">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo [lastthreadid]"><img src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase [go_to_last_post]" border="0" /></a>
</div>
</div>

... defaultIn the future, could you please post things like this in a txt document and attach it? It would be very useful :) ty