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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-24-2007, 09:33 PM
Evaporate Evaporate is offline
 
Join Date: May 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I need help modifying some table properties?

Hi.

I am a recent Vbulletin convert (from Joomla/SMF shudder) and I love it and have a number of mods etc already installed. As you can imagine this is starting to give me a little headache till I figure out where the template settings are.

I have added a chatbox and a Welcome Panel from the Vbulletin mods. But they are not in the same style as the rest of the forum.

I've been messing around with the Chatbox and Welcome panel but I don't know where the stlye settings are for the rounded top of the tables etc. I can find the template for the welcome panel and Chatbox. I just don't know where the template settings to copy are.

If you see the first actual forum it has the rounded table corners and differant background image.

I am using CA Evo style .



Any ideas greatly appreciated.

I've been poking around the documenatiion but no eureka moments.

What is the actual top part of the forum table called? Forumg Header?
Reply With Quote
  #2  
Old 06-24-2007, 10:36 PM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That style uses replacement variables for the curved corner effect.

You'll have to go into the chatbox template and the welcome header template and search for something that looks like this:
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[chatbox]</td>
</tr>
and replace it with something like this:
Code:
<ca-hdr>
		<td class="tcat" width="100%">$vbphrase[chatbox]</td>
</ca-hdr>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width: 0;">
I'm not entirely sure if the replacement variable for that style is "<ca-hdr>" but you can find that out by looking at the bottom of the Style Manager. I also took a wild guess what the $vbphrase for "Chatbox" would be, so that may be off too.
Reply With Quote
  #3  
Old 06-25-2007, 07:04 AM
Evaporate Evaporate is offline
 
Join Date: May 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
That style uses replacement variables for the curved corner effect.

You'll have to go into the chatbox template and the welcome header template and search for something that looks like this:
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[chatbox]</td>
</tr>
and replace it with something like this:
Code:
<ca-hdr>
		<td class="tcat" width="100%">$vbphrase[chatbox]</td>
</ca-hdr>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width: 0;">
I'm not entirely sure if the replacement variable for that style is "<ca-hdr>" but you can find that out by looking at the bottom of the Style Manager. I also took a wild guess what the $vbphrase for "Chatbox" would be, so that may be off too.
Thanks. I'll give it a go tonight :up:
Reply With Quote
  #4  
Old 07-05-2007, 09:40 PM
Evaporate Evaporate is offline
 
Join Date: May 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<!-- Chatbox -->

<table class="tborder" cellpadding="4" cellspacing="1" border="0" width="100%" align="center">

<thead>
<tr>
<td class="tcat"><a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_chatboxtop')"><img id="collapseimg_forumhome_chatboxtop" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a><a href="#" onclick="return openChatbox()">$vbphrase[chatbox_chatbox]</a></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_chatboxtop" style="">
<tr>
<td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox.php?nofocus=1" width="100%"$chatboxheight style="border: 0px" frameborder="0"></iframe></div></td>
</tr>
</tbody>
</table>
<br />


I've tried it but it just adds another header to my chatbox et al. The above script is my chatbox script?
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 06:18 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.03491 seconds
  • Memory Usage 2,194KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_quote
  • (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