+ Reply to Thread
Results 1 to 9 of 9

Thread: Time colour and topic colour

  1. #1
    Member protheory has disabled reputation
    Join Date
    Oct 2007
    Posts
    79

    Time colour and topic colour

    I'm having a few issues with my topic descriptions in various places. The time colour is different in some places than in others.

    Like this.

    http://i40.photobucket.com/albums/e2...logy/time1.jpg

    I've looked for ages at the code but I'd like to know how to spot the code controlling the time in each template then overload the colour method for each specific instance as and when I need to please.

    Also I'm having trouble finding which code changes the colour of the cell containing my forum description, in this case my chat forum. I changed one of the alternating colours but I can't seem to isolate the instance of this cell in the code to change it to a different colour. I want the cell with the Chat Forum (under the navbar) to have a different background colour.

    http://i40.photobucket.com/albums/e2...escription.jpg


    How do I insert a BR tag to move my new topic buttons and moderation dropdowns down a space?

    http://i40.photobucket.com/albums/e2...picbuttons.jpg

    Sorry about all the blobs, the black blob is my button but it's all a mess at the moment so I'm keeping it under wraps. I just want to move the button on the left down, the mod bit down, and the same at the top of the thread/forum where it says 'New Topic' above the displayed thread listing please.

    I'd also like to put my banner inside its own cell inside another table. The problem I have is that I have a logo centred but it looks bad stretched so I would like to put it into its own cell and have this cell within another stretched cell with the same background image so that it blends in.

    Thanks

  2. #2
    vBulletin Team Jake Bunce has a spectacular aura about Jake Bunce has a spectacular aura about Jake Bunce's Avatar
    Join Date
    Dec 2000
    Location
    Land of the In-N-Out Burger
    Age
    28
    Posts
    46,521
    The time color is set in your:

    Admin CP -> Styles & Templates -> Style Manager -> Main CSS (in the menu) -> Time Color

    The rows of forums in the forum list are represented by these four templates:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_forumbit_*

    When editing these templates you can use a conditional like this to show specific HTML code for forumid X:

    Code:
    <if condition="$forum[forumid] == X">
    
    </if>
    To add that break to the forumdisplay page, editing this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY

    Add the red code:

    Code:
    		</td>
    	</tr>
    	</tbody>
    	<!-- end show no threads message -->
    </if>
    </table>
    
    <br />
    
    <!-- controls below thread list -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <tr valign="top">
    	<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
    	<if condition="$show['pagenav'] OR $show['inlinemod']">
    		<td align="$stylevar[right]">$pagenav
    		<if condition="$show['inlinemod']">
    To edit the layout around the title image you need to edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu) -> header

  3. #3
    Member protheory has disabled reputation
    Join Date
    Oct 2007
    Posts
    79
    Thanks for the reply, the BR tag works perfectly but I can't seem to get the header table working. Here's my header template:

    Code:
    <br />
    <br />
    <table width="88%" cellpadding="0" cellspacing="0" border="2"  align="center" >
    <tr>
    <td><!-- logo -->
    <a name="top"></a>
    <div align="center">
      <center>
    <table border="0" width="100%" cellpadding="0" 
    
    cellspacing="0" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111">
    <tr>
        <td width="100%" align="center">
    <tr>
        <td width="100%" align="center"><br /><a 
    
    href="$vboptions[forumhome].php$session[sessionurl_q]"><img 
    
    src="http://i40.photobucket.com/albums/example.jpg" width="95%" border="0" alt="$vboptions[bbtitle]" 
    
    /></a></td>
    
    
        <td align="$stylevar[right]">
            &nbsp;
    
        </td>
    </tr>
    </table>
    
    
    
    <!-- /logo -->
    
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output
    I'd just like to put a table around my logo/banner image as mentioned above if possible please, so that I can put the code in for a matching image as the background for my new table or cell.

    I need to know where to put the BR tags in my threadbit too please, the post reply buttons are now in need of spacing to match the forum buttons.

    Thanks

  4. #4
    vBulletin Team Jake Bunce has a spectacular aura about Jake Bunce has a spectacular aura about Jake Bunce's Avatar
    Join Date
    Dec 2000
    Location
    Land of the In-N-Out Burger
    Age
    28
    Posts
    46,521
    I am not sure I understand exactly what you are trying to do in the header. Maybe you want to move the $spacer_open variable to the top so the page background area includes the title image.

    To add a spacer to the showthread page, edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

    Code:
    <div id="posts">$postbits<div id="lastpost"></div></div>
    
    <!-- start content table -->
    $spacer_open
    <!-- / start content table -->
    
    <br />
    
    <!-- controls below postbits -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr valign="top">
    	<if condition="$show['largereplybutton']">
    		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>

  5. #5
    Member protheory has disabled reputation
    Join Date
    Oct 2007
    Posts
    79
    Thanks In my header I've got a stretched image and I'd like to overlay this image but with a matching background so it blends in giving the effect of an extended image. I just thought I could create a cell and have the background image in there and then put another cell inside this one with my current banner which would be overlayed on top. A cell within a cell, one cell with a background image and one with my banner in the middle should blend in nicely. Like the effect of nested quotes I think.

  6. #6
    vBulletin Team Jake Bunce has a spectacular aura about Jake Bunce has a spectacular aura about Jake Bunce's Avatar
    Join Date
    Dec 2000
    Location
    Land of the In-N-Out Burger
    Age
    28
    Posts
    46,521

  7. #7
    Member protheory has disabled reputation
    Join Date
    Oct 2007
    Posts
    79
    Thanks but that's not quite what I'm looking for but I'll be able to find another way around it I think no worries. Last thing I'd like to ask is how do I tile a category strip image?

    I've already got a tiled CSS menu using the same image and I'd like to repeat just the image part in my category strips. I've searched all over but not found the right code yet. I understand that it's 'repeat something or other' but I'm not sure where to put the generic CSS tiling code for my strips.

    Last thing I'll ask , I promise

  8. #8
    vBulletin Team Jake Bunce has a spectacular aura about Jake Bunce has a spectacular aura about Jake Bunce's Avatar
    Join Date
    Dec 2000
    Location
    Land of the In-N-Out Burger
    Age
    28
    Posts
    46,521
    The default style already uses a tiled category image:

    Admin CP -> Styles & Templates -> Style Manager -> Main CSS (in the menu) -> Category Strips

    In the Background field there is this code:

    Code:
    #869BBF url(images/gradients/gradient_tcat.gif) repeat-x top left
    You can see it references a gradient image that is tiled horizontally.

  9. #9
    Member protheory has disabled reputation
    Join Date
    Oct 2007
    Posts
    79
    Quote Originally Posted by Jake Bunce View Post
    The default style already uses a tiled category image:

    Admin CP -> Styles & Templates -> Style Manager -> Main CSS (in the menu) -> Category Strips

    In the Background field there is this code:

    Code:
    #869BBF url(images/gradients/gradient_tcat.gif) repeat-x top left
    You can see it references a gradient image that is tiled horizontally.
    That's just what I wanted, thanks

+ Reply to Thread

Similar Threads

  1. Time Colour
    By Reg Carter in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 11
    Last Post: Wed 31st Jan '07, 8:29am
  2. Add my default text colour to the colour picker... how to??
    By TheMusicMan in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 9
    Last Post: Mon 24th Apr '06, 6:21am
  3. Matching Colour Names to Colour Codes
    By kurtbarker in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 3
    Last Post: Thu 6th Apr '06, 7:03am
  4. Can't get a colour right
    By DWZ in forum vBulletin Templates, Graphics & Styles
    Replies: 4
    Last Post: Tue 13th Apr '04, 10:27pm
  5. Font Colour Along With Replied Background Colour.
    By Novadream in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 1
    Last Post: Thu 30th Jan '03, 12:36am

Bookmarks

Posting Permissions

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