Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 11-19-2002, 08:55 AM
LiL pImPsTeR LiL pImPsTeR is offline
 
Join Date: Oct 2001
Location: Everywhere
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I need this text to wrap....

in the included screenshot id liek teh text to wrap around the avatar, as it is now, it starts at the bottom of the avatar, i want it to begin at the top, and just keep wrapping around the avatar.....i hope my screenshots arent too ugly, but this is what im trying to do and its hard to show you....
Attached Images
File Type: jpg screen.jpg (72.1 KB, 0 views)
Reply With Quote
  #2  
Old 11-19-2002, 08:56 AM
LiL pImPsTeR LiL pImPsTeR is offline
 
Join Date: Oct 2001
Location: Everywhere
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres where i want the text to b, if u cant understand my directions, hopefully thisll help
Attached Images
File Type: jpg screen2.jpg (79.2 KB, 0 views)
Reply With Quote
  #3  
Old 11-19-2002, 10:00 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, can you align the text to the top or not?
Reply With Quote
  #4  
Old 11-19-2002, 07:42 PM
LiL pImPsTeR LiL pImPsTeR is offline
 
Join Date: Oct 2001
Location: Everywhere
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Tony
Hmm, can you align the text to the top or not?
i kant get that to work either, unless im usign the wrong code for it, wut code do u suggest, heres the code im using right there.....
heres a snipplet of the code i have there...
Code:
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top">
$post[avatar]<normalfont>$post[message]</normalfont>
</td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>
Reply With Quote
  #5  
Old 11-20-2002, 03:13 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The thing is you use the same <td> tag for the avatar and post message. That might be why. Try adding align="top" in that <td> tag and see what happens.
Reply With Quote
  #6  
Old 11-20-2002, 05:30 AM
LiL pImPsTeR LiL pImPsTeR is offline
 
Join Date: Oct 2001
Location: Everywhere
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yah that didint work, i tried using different <td> tags, and it looks a little better, but when a thread isnt long, the distance between the avatar and the begining of the text is a few inches, heres a screen shot in my next post.
Reply With Quote
  #7  
Old 11-20-2002, 05:35 AM
LiL pImPsTeR LiL pImPsTeR is offline
 
Join Date: Oct 2001
Location: Everywhere
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here it is, i changed the code a little, its messy looking cuz i havent made it pretty to b psoted yet, but here is the code snipplet im using, and the screenshot....

Code:
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" align="left" valign="top">
$post[avatar]</td><td bgcolor="$post[backcolor]" align="left" valign="top"><normalfont>$post[message]</normalfont>
</td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>
Attached Images
File Type: jpg untitled1.jpg (192.2 KB, 0 views)
Reply With Quote
  #8  
Old 11-20-2002, 06:15 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it's centered, but doesn't show in your code.
Reply With Quote
  #9  
Old 11-20-2002, 06:59 AM
NoPrints113 NoPrints113 is offline
 
Join Date: Sep 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im having the same problem exept not in the postbit..... i have no idea if this code will work in the postbit it DID NOT work for me on my main page but u can goahead and give it a try.......

Quote:
Anime-loo:
<td bgcolor="#FFFFFF"><img src="$bburl/path/to/avatar.jpg" border="0" align="left" vspace="3"><smallfont>*text here*</smallfont><br>
</td>
Reply With Quote
  #10  
Old 11-20-2002, 09:30 AM
LiL pImPsTeR LiL pImPsTeR is offline
 
Join Date: Oct 2001
Location: Everywhere
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Tony
I think it's centered, but doesn't show in your code.
yah its not centered anywhere in the postbit, i dunno wut the **** is up....ill think of sumthing....want me to send u the postbit tony and u have a look at it? ill give u credit for helping when i post it.....
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:26 PM.


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.07431 seconds
  • Memory Usage 2,270KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_quote
  • (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
  • (3)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