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 03-28-2008, 04:53 PM
xHLHx Darkskilz xHLHx Darkskilz is offline
 
Join Date: Sep 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Its better to see the screenshot. Is there some code for this?

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>
Effect:



While it should be.

Attached Images
File Type: jpg ScreenHunter_03 Mar. 28 18.51.jpg (18.1 KB, 0 views)
Reply With Quote
  #2  
Old 03-28-2008, 05:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #3  
Old 03-28-2008, 05:48 PM
xHLHx Darkskilz xHLHx Darkskilz is offline
 
Join Date: Sep 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 03-30-2008, 11:56 AM
xHLHx Darkskilz xHLHx Darkskilz is offline
 
Join Date: Sep 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #5  
Old 03-30-2008, 02:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 03-31-2008, 02:38 PM
xHLHx Darkskilz xHLHx Darkskilz is offline
 
Join Date: Sep 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 03-31-2008, 03:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #8  
Old 03-31-2008, 04:10 PM
xHLHx Darkskilz xHLHx Darkskilz is offline
 
Join Date: Sep 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #9  
Old 03-31-2008, 04:28 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 04-01-2008, 03:59 PM
xHLHx Darkskilz xHLHx Darkskilz is offline
 
Join Date: Sep 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where can i find the spit out and the page source?
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:13 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.08886 seconds
  • Memory Usage 2,277KB
  • Queries Executed 12 (?)
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
  • (1)bbcode_code
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete