Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2006, 05:52 AM
Sin City Sin City is offline
 
Join Date: May 2003
Location: Florida
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default What's Going On Box issue...

I made a matrix style from scratch back on vB 3.0... now i am converting it all to 3.5.2 and figured i'd fix some things up that i never addressed in the previous version... i've decided to add the "view forum leaders" and "mark forums read" options to the bottom of my What's Going On box (which has been modified to have a top and bottom "bar")... my problem is illustrated below...


http://img171.imageshack.us/img171/4972/screenln0.jpg



and here is my coding...

PHP Code:
<!-- bottom -->
    <
table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <
tr>
<
td style="text-align: $stylevar[left]class="tcat"><img src="http://www.site.com/forum/matrix/matcat_bottomleft.gif" alt="" /></td>
<
td class="mcat" align="center" style="background-image: url(http://www.site.com/forum/matrix/matrixborderbgbottom.gif); text-align: center;"><div class="smallfont"><strong>
            <
a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
            &
nbsp; &nbsp;
            <
a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
        </
strong></div></td>
<
td style="text-align: $stylevar[right]class="tcat"><img src="http://www.site.com/forum/matrix/matcat_bottomright.gif" alt="" /></td>
</
tr>
</
table>
   <!-- /
bottom -->

<
br />
<!-- 
end what's going on box --> 

any help would be appreciated... thanks in advance
Reply With Quote
  #2  
Old 09-28-2006, 12:17 PM
Sin City Sin City is offline
 
Join Date: May 2003
Location: Florida
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #3  
Old 09-29-2006, 04:47 PM
Sin City Sin City is offline
 
Join Date: May 2003
Location: Florida
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump again
Reply With Quote
  #4  
Old 09-29-2006, 05:23 PM
ZacUSNYR ZacUSNYR is offline
 
Join Date: Mar 2005
Location: Upstate, NY
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find:
Code:
<td class="mcat" align="center" style="background-image: url(http://www.site.com/forum/matrix/matrixborderbgbottom.gif); text-align: center;"><div class="smallfont"><strong>
Try:
Code:
<td class="mcat" align="center" width="100%" style="background-image: url(http://www.site.com/forum/matrix/matrixborderbgbottom.gif); text-align: center;"><div class="smallfont"><strong>
Reply With Quote
  #5  
Old 09-29-2006, 05:42 PM
Sin City Sin City is offline
 
Join Date: May 2003
Location: Florida
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i actually thought about adding the width code, but figured i'd ask first... worked great... thanks
Reply With Quote
  #6  
Old 09-29-2006, 05:52 PM
ZacUSNYR ZacUSNYR is offline
 
Join Date: Mar 2005
Location: Upstate, NY
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doh! moment for me - I didn't even see your style tag you had in there.

Try doing it with width:100% in the style tag instead of width="100%"

Code:
<td class="mcat" align="center" style="background-image: url(http://www.site.com/forum/matrix/matrixborderbgbottom.gif); text-align: center; width:100%"><div class="smallfont"><strong>
Reply With Quote
  #7  
Old 09-29-2006, 06:18 PM
Sin City Sin City is offline
 
Join Date: May 2003
Location: Florida
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you again... since you seem to be rather knowledgable... mind if i ask you another question?... if you look at the image i have in the first post, i obviously am using three different images for the bar... a left, middle, and right graphic... do you know how i could do that for the "category strips" in the Style Options?... i ask because certain places (like View Forum Leaders) use that and it obviously doesn't look right with everything else without all three images
Reply With Quote
  #8  
Old 09-29-2006, 07:07 PM
ZacUSNYR ZacUSNYR is offline
 
Join Date: Mar 2005
Location: Upstate, NY
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'd need to add the images the same way you constructed the bar - only problem is the collapse button is an img as well so you'd need to make the side images background and specify height/width of the block.

I just took a quick look at the original code on my site and this looks like it'd get you where you want to be.

forumhome_forumbit_level1_nopost template will have the info you're looking for. Remember to subtract 2 from each colspan (it colspans per a vboption - 5 cells or if show moderators 6). Then add your new columns to the beginning and the end.
Reply With Quote
Reply


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 01:26 AM.


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.04063 seconds
  • Memory Usage 2,240KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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