vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   help! about 2 templates (https://vborg.vbsupport.ru/showthread.php?t=119205)

BeaLzeBuB 06-20-2006 10:48 PM

help! about 2 templates
 
1 Attachment(s)
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

1 Attachment(s)
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
Code:

<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
and replace with
Code:

<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 :
Code:

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
Code:

<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&amp;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&amp;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)

Code:

<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
REPLACE WITH
Code:

<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
Code:

$forum[lastpostinfo]

peterska2 06-21-2006 12:23 AM

Quote:

Originally Posted by peterska2
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.

Quote:

Originally Posted by peterska2
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/3...nter0046zj.jpg

i'm trying them last 5 hours, finally i gonna crazy :(

step 2 : and i remove all codes
http://img97.imageshack.us/img97/513...nter0059eu.jpg

step 3: and i refresh my forumhome, so there is no effect
http://img80.imageshack.us/img80/222...nter0067vs.jpg

_____________________

other one

step 1 : i delete there
http://img155.imageshack.us/img155/7...nter0023lb.jpg

step2 : refresh my forumhome and no effect again
http://img150.imageshack.us/img150/5...nter0012ud.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.


All times are GMT. The time now is 01:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01442 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete