View Full Version : help! about 2 templates
BeaLzeBuB
06-20-2006, 10:48 PM
pls first look screenshots
1. i want to remove lastposter name and post time. which template i edit?
2. i want to remove green border. i want use without "catbg.gif" , i search every where
BeaLzeBuB
06-20-2006, 10:56 PM
3. and i want to remove this space. 2 message must contiguous
peterska2
06-20-2006, 11:29 PM
1. edit template forumhome_lastpostby
2. edit the main CSS for the category strips
3. edit postbit_wrapper
In postbit_wrapper find<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">and replace with<div id="edit$post[postid]" style="padding:0px 0px 0px 0px">which removes all gap between the posts
BeaLzeBuB
06-20-2006, 11:54 PM
thx for your relation, i am silly or there a mistake
1. i did it, but no change.. (even i empty it, but no change)
2. i did it too
i remove :
url(redzone/gradients/catbg.gif) repeat-x top
3. i dont have this template.. lol
what's the problem you think?
vers. 3.5.4
peterska2
06-21-2006, 12:00 AM
1. replace the entire template with
<div class="smallfont" align="$stylevar[left]">
<div style="clear:both">
<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
<a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</div>
2. yes thats right
3. oops, my bad, that template doesn't exist in 3.5.x (I was on my 3.6.0 dev board when I was checking this out)
In template postbit (or postbit_legacy depending on which you use)
FIND (right near the top)
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">REPLACE WITH<div id="edit$post[postid]" style="padding:0px 0px 0px 0px">
BeaLzeBuB
06-21-2006, 12:00 AM
3. ok. i edit in postbit_legacy and ok. thx for this
1 and 2 no effect from changes (i try both of default style and my style)
need this template i think
$forum[lastpostinfo]
peterska2
06-21-2006, 12:23 AM
1. edit template forumhome_lastpostby
This is the template that calls the information. The replace code I posted above removes the poster and date/time and leaves the icon, thread title, and the last post button.
2. edit the main CSS for the category strips
You need to edit the background section of the CSS for the style that you wish to edit and remove the url section of the code just leaving the hex color
BeaLzeBuB
06-21-2006, 12:45 AM
i know i know. my bad english, how can i explain that.. hmmm
look screen shots
step 1 : this my "forumhome_lastpostby" template
http://img227.imageshack.us/img227/3416/screenhunter0046zj.jpg
i'm trying them last 5 hours, finally i gonna crazy :(
step 2 : and i remove all codes
http://img97.imageshack.us/img97/5135/screenhunter0059eu.jpg
step 3: and i refresh my forumhome, so there is no effect
http://img80.imageshack.us/img80/2223/screenhunter0067vs.jpg
_____________________
other one
step 1 : i delete there
http://img155.imageshack.us/img155/7661/screenhunter0023lb.jpg
step2 : refresh my forumhome and no effect again
http://img150.imageshack.us/img150/5742/screenhunter0012ud.jpg
peterska2
06-21-2006, 12:50 AM
I've sent you a PM
peterska2
06-21-2006, 01:11 AM
The only thing I can think of is that there is something strange going on with that style or it is to do (somehow but I don't see how) with your SEO and vB Rewrite that you have on there. The changes are not reflecting in the HTML at all. It also could be linked with your page compressor.
I've never worked with any of these hacks so don't know how or if they could affect the code.
BeaLzeBuB
06-21-2006, 01:17 AM
ok thank you very much, i will try to disable SEOed links later
getting morning. sun start shining...
thx again
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.