The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template help
I am trying to use images for my category strip, I have a left image, a center image, and a right image, how do I add that in and get rid of the default category strip? One example would be the armada style found at cinvin.com
I will attached a screenshot to show you what I am talking about. Thanks in advance Myth |
#2
|
|||
|
|||
I think you can get that effect by editing the forumdisplay template and then added two more columns with new classes...
|
#3
|
|||
|
|||
Do you know the code exactly, if you can give me the jist of the code, I can go from there. I don't want to get it wrong and keep being wrong.
|
#4
|
||||
|
||||
ok this is my forumhome_forumbit_level1_nopost template, the left and right are images, use a background image for the center (talking about your attachment). edit the images in my code properly so that it will show off
HTML Code:
<if condition="$forum[forumid] == 1"> <else /> </table> <table summary="$forum[title]" align=center style="background-image: url('$stylevar[imgdir_misc]/gradients/catbottombg.gif'); background-repeat: repeat-x;" border="0" cellPadding="0" cellSpacing="0" width="100%"> <tbody> <tr> <td align=left width="50%"><img border="0" height="13" src="$stylevar[imgdir_misc]/gradients/catbottomleft.gif" width="39"></td> <td align=right width="50%"><img border="0" height="13" src="$stylevar[imgdir_misc]/gradients/catbottomright.gif" width=39></td></tr></tbody></table> <br /><table summary="$forum[description]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> </if> <tbody> <tr> <td class="tcat" align="center" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="225" nowrap>$vbphrase[last_post]</td> <td class="thead" nowrap>$vbphrase[threads]</td> <td class="thead" nowrap>$vbphrase[posts]</td> <if condition="$vboptions[showmoderatorcolumn]"> <td class="thead" nowrap>$vbphrase[moderator]</td> </if> </tr> $childforumbits </tbody> </if> |
#5
|
|||
|
|||
What version of vb are you running? I have 3.0.7 so trying to compare my template with yours would be impossible if its any other version. I will try to add your code tho. I thought I would have to edit ForumHome, ShowThreads, ShowGRoups, threadbit, MemberInfo, MemberHome for this to work right.
Ok I won't be able to figure it out, here is my forumhome_forumbit_level1_nopost: HTML Code:
<tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> $childforumbits </tbody> </if> |
#6
|
||||
|
||||
I used 3.0.7 and that code is not the default vb3 so I don't think you can compare those 2, I just use it for the customize you want like the attach you gave, of course it's only for forumhome categories, others need more modifications on templates
|
#7
|
|||
|
|||
Oh ok, let me reinstall the default template then get back to you with that. But if you know what templates and how to edit, please direct me.
Ok this is a fresh install of the default template: HTML Code:
<tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> $childforumbits </tbody> </if> Thanks for your help |
#8
|
||||
|
||||
Quote:
|
#9
|
|||
|
|||
OK I will give it a try tomorrow then, need to get some sleep, 5 am here right now.
Ok tried it, put the images below my forums, not where I want them, I want to replace the regular background color with my own images. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|