Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 11-26-2004, 07:19 PM
owner owner is offline
 
Join Date: Nov 2004
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default modifcation help =(

ok i should no what to do but im kinda lost here im adding this thing where it seperates the stickys from the regular Topics and here it what it says

Styles & Templates -> Style Manager -> ? ? -> Forum Display Templates -> FORUMDISPLAY

Find this code and remove the code in green:


<if condition="$show['threads']">
<!-- show threads -->
<if condition="$show['stickies']">
$threadbits_sticky
<!-- <tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr> -->
</if>
$threadbits
<!-- end show threads -->
<else />


and this is what i have under my style

PHP Code:
<table class='tborder' cellpadding='$stylevar[cellpadding]' cellspacing='$stylevar[cellspacing]' border='0' width='100%'>
               
$announcebits
               
<tr>
                <if 
condition="$show['threadicons']"><td class='thead' colspan='2'>&nbsp;</td><else /><td class='thead'>&nbsp;</td></if>
                <
td class='thead' width='100%'><if condition="$show['threadratings']"><span style='float:$stylevar[right]'><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a$sortarrow[voteavg]</span></if><a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a$sortarrow[title] /<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a$sortarrow[postusername]</td>
                <
td style='white-space : nowrap' class='thead' width='150' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a$sortarrow[lastpost]</span></td>
                <
td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a$sortarrow[replycount]</span></td>
                <
td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a$sortarrow[views]</span></td>
               </
tr>
               <if 
condition="$show['threads']"><if condition="$show['stickies']">$threadbits_sticky</if>
               
$threadbits
               
<else /><tr
Reply With Quote
  #2  
Old 11-26-2004, 07:52 PM
Morwyn's Avatar
Morwyn Morwyn is offline
 
Join Date: Nov 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, looks like to me that in the code you have in the frame, right before '$threadbits' (at the end of the code in ur template) you have to add this line of code:

PHP Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr
Meaning the code you pasted would look like that:

Code:
<table class='tborder' cellpadding='$stylevar[cellpadding]' cellspacing='$stylevar[cellspacing]' border='0' width='100%'>
               $announcebits
               <tr>
                <if condition="$show['threadicons']"><td class='thead' colspan='2'>&nbsp;</td><else /><td class='thead'>&nbsp;</td></if>
                <td class='thead' width='100%'><if condition="$show['threadratings']"><span style='float:$stylevar[right]'><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if><a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] /<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]</td>
                <td style='white-space : nowrap' class='thead' width='150' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
                <td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
                <td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>
               </tr>
               <if condition="$show['threads']"><if condition="$show['stickies']">$threadbits_sticky
<tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr>
</if>
               $threadbits
               <else /><tr>
See the big line ? that's what u gotta add, or u can copy and paste the code I just put.
When they say remove the green code, it's because of <!-- --> tags that are used to comment only.
Reply With Quote
  #3  
Old 11-26-2004, 08:01 PM
owner owner is offline
 
Join Date: Nov 2004
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oooo god i should of known that =( but jeese not i feel really stupid lol but anyways thanxs alot it worked
Reply With Quote
  #4  
Old 11-27-2004, 07:22 PM
Morwyn's Avatar
Morwyn Morwyn is offline
 
Join Date: Nov 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome ^_^
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 11:43 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.05300 seconds
  • Memory Usage 2,211KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete