Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2006, 10:48 PM
BeaLzeBuB's Avatar
BeaLzeBuB BeaLzeBuB is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default help! about 2 templates

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
Attached Images
File Type: jpg ScreenHunter_001.jpg (57.3 KB, 0 views)
File Type: jpg ScreenHunter_002.jpg (49.2 KB, 0 views)
Reply With Quote
  #2  
Old 06-20-2006, 10:56 PM
BeaLzeBuB's Avatar
BeaLzeBuB BeaLzeBuB is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3. and i want to remove this space. 2 message must contiguous
Attached Images
File Type: jpg ScreenHunter_003.jpg (110.4 KB, 0 views)
Reply With Quote
  #3  
Old 06-20-2006, 11:29 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 06-20-2006, 11:54 PM
BeaLzeBuB's Avatar
BeaLzeBuB BeaLzeBuB is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 06-21-2006, 12:00 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">
Reply With Quote
  #6  
Old 06-21-2006, 12:00 AM
BeaLzeBuB's Avatar
BeaLzeBuB BeaLzeBuB is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
  #7  
Old 06-21-2006, 12:23 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 06-21-2006, 12:45 AM
BeaLzeBuB's Avatar
BeaLzeBuB BeaLzeBuB is offline
 
Join Date: Mar 2006
Location: Turkey
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i know i know. my bad english, how can i explain that.. hmmm
look screen shots

step 1 : this my "forumhome_lastpostby" template


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

step 2 : and i remove all codes


step 3: and i refresh my forumhome, so there is no effect


_____________________

other one

step 1 : i delete there


step2 : refresh my forumhome and no effect again
Reply With Quote
  #9  
Old 06-21-2006, 12:50 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've sent you a PM
Reply With Quote
  #10  
Old 06-21-2006, 01:11 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05025 seconds
  • Memory Usage 2,276KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete