The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Could A Coder Put Me Out Of Misery
I am sure this is simple to do, but I am making a balls of it big time and it is really starting to annoy me.
All I want to do is move the sponsor ie $vbphrase[sponsored_by] under the $forum[description]. It is currently putting it over to the right...so if I add any length of desciption at all it takes a second line and looks messy. Have attached an image of what the board looks like now. (in image want to move: Sponsor: Institute Internet Supporters Club under Pride of the Maiden City. Here is the code. HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td align="center" 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="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if></a> </if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> <if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div style="float:$stylevar[right]"> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if> </a></div> </if> </tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <tr align="center"> <td class="thead" width="35"> </td> <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="200">$vbphrase[last_post]</td> <td class="thead" width="65">$vbphrase[threads]</td> <td class="thead" width="65">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead" width="120">$vbphrase[moderator]</td> </if> </tr> $childforumbits <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr> </tbody> </if> </table> <div style="padding:0px 0px 16px 0px;"></div> |
#2
|
|||
|
|||
Find:
HTML Code:
<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div style="float:$stylevar[right]"> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if> </a></div> </if> HTML Code:
<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <br /> <div style="float:$stylevar[right]"> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if> </a></div> </if> HTML Code:
<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div style="float:$stylevar[left]"> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if> </a></div> </if> |
#3
|
|||
|
|||
Thanks Brad, but no joy. I tried the <br /> as well, and other stuff ... hence pulling me hair out stage.
|
#4
|
||||
|
||||
remove style="float:$stylevar[right]"
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|