The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
WRAP Code
Hello,
I dont know what the name of this thing is, but i think its some wrap code. HTML Code:
It's almost the same as this only it does got the letter written above it. Thanks MerQ EDIT: HTML Code:
<table align="left" border="0" cellspacing="$stylevar" class="tborder" width="80%"> <td class="tcat" colspan="$mods[colspan]"> <span class="smallfont">[B]Managers[/B] HLH Damast HLH MerQ</a><else /></if></strong></span></td> <table align="left" border="0" cellpadding="$stylevar" cellspacing="$stylevar" class="tborder" width="80%"> <td class="tcat"> <span class="smallfont">[B]Team Leaders[/B] HLH ZeR0SaN HLH Fearlezz v2</a><else /></if></strong></span></td> While it should be. |
#2
|
||||
|
||||
I have no idea what we are supposed to see in that image. Are we just looking at the box? If so, view source on this page shows this:
Code:
<pre class="alt2" dir="ltr" style=" margin: 0px; padding: 4px; border: 1px inset; width: 500px; height: 34px; text-align: left; overflow: auto"> Text goes here </pre> |
#3
|
|||
|
|||
Your code works, thanks.
Only i still don't know why my code worked bad on a costum style. 'cause that one is alot better, than this one. |
#4
|
|||
|
|||
anyone?
|
#5
|
||||
|
||||
What exactly is it that you want? The two are pretty different. One is a box where overflow is handled with a scroll bar and the other is a table with a proper head and the text wraps.
|
#6
|
|||
|
|||
I want the proper code for the one with the proper head and text wraps. Only problem is that if i just the code i made listed in the first post it will strech out the template.
The second screenshot is just a excample of how the template should look like. Hope you understand it. |
#7
|
||||
|
||||
It's really hard to tell without seeing the source code. My guess would be that the table is all screwed up. Looking at your code would suggest that also since you have 'else' and 'end if' statements with no beginning. So, I'd take a look at your source code and see if everything adds up properly (all the trs and tds and tables).
|
#8
|
|||
|
|||
I took this part form a template, adv_portal_module_wrapper
And changed it. This is the code i used. HTML Code:
$mods[formcode] <div style="padding-bottom:$vba_style[portal_vspace]px"> <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> <thead> <tr> <td class="tcat" colspan="$mods[colspan]"> <if condition="$vba_style['portal_collapsemods']"> <a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a> </if> <span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td> </tr> </thead> <tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse"> <if condition="$show['tablerow']"> <tr> <td class="$bgclass"> $modulehtml </td> </tr> <else /> $modulehtml </if> </tbody> </table> </div> <if condition="$mods['formcode']"></form></if> |
#9
|
||||
|
||||
That looks fine, from what I can see. But, have you gone and actually looked at what is spit out on a page? View your page source and see what is going on cuz something is obviously stretching things out. You may have to modify that template yourself to make it work with your site.
|
#10
|
|||
|
|||
Where can i find the spit out and the page source?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|