Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Long thread title.. and moving images.. Details »»
Long thread title.. and moving images..
Version: , by !!!cyr0n_k0r !!!cyr0n_k0r is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-10-2002 Last Update: Never Installs: 0
 
No support by the author.

Ok, at the top of the thread there is a series of images.

In the center of the images is the variable for the thread title. I forget, its something like $thread[title] or something like that.

Anyway, as you can see in the picture, when the thread title gets too long it messes up the images.

What changes to my code do I make to allow the images to "strectch" when the thread title gets long.

Example, the center image background will expand with the thread title.. while the left and right image backgrounds shrink to allow room for the thread title.

Quote:
<!-- Begin Top Images -->

<br><table width="{contenttablewidth}" height="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="right" width="0"><img src="{imagesfolder}/*******/left.gif"></td>
<td width="30%" align="center" background="{imagesfolder}/*******/bg_top.gif"></td>
<td valign="top" align="right" background="{imagesfolder}/*******/bg_top.gif"></td>
<td align="left" width="0"><img src="{imagesfolder}/*******/left2.gif" ></td>

<td width="40%" align="center" background="{imagesfolder}/*******/bg_top2.gif">
<normalfont color="{categoryfontcolor}"><b>$thread[title]</b></normalfont></a><br></td>
<td align="right" width="0"><img src="{imagesfolder}/*******/right2.gif"></td>
<td width="30%" align="center" background="{imagesfolder}/*******/bg_top.gif">
</td>
<td valign="top" align="right" background="{imagesfolder}/*******/bg_top.gif"></td>
<td align="left" width="0"><img src="{imagesfolder}/*******/right.gif" ></td>
</tr>

<!-- End Top Images -->

-----
the reason the site is blurred out is because the site isnt yet live, and I dont want to deal with traffic and stuff until it goes live.

Download Now

File Type: (21.3 KB, 40 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-10-2002, 09:12 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not just removed the thread title from that space..?

- miSt
Reply With Quote
  #3  
Old 11-10-2002, 10:40 PM
!!!cyr0n_k0r !!!cyr0n_k0r is offline
 
Join Date: Apr 2002
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thats not an answer.

Can someone answer this?
Reply With Quote
  #4  
Old 11-11-2002, 12:02 AM
Pancreas Paul Pancreas Paul is offline
 
Join Date: Sep 2002
Location: OH
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Cyron kor. Its clownmoun Anyway, are you talking about the thing that goes Thread Forum>Forum cat>Thread title?
Reply With Quote
  #5  
Old 11-11-2002, 12:29 AM
Pancreas Paul Pancreas Paul is offline
 
Join Date: Sep 2002
Location: OH
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for posting again, but he wanted me to. Ok, try this.

Quote:
<!-- Begin Top Images -->

<br><table height="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="right" <img src="https://vborg.vbsupport.ru/images/*******/left.gif"></td>
<td align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td valign="top" align="right" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td align="left"><img src="https://vborg.vbsupport.ru/images/*******/left2.gif" ></td>

<td align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top2.gif">
<normalfont color="#000000"><b>$thread[title]</b></normalfont></a><br></td>
<td align="right"><img src="https://vborg.vbsupport.ru/images/*******/right2.gif"></td>
<td align="center" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif">
</td>
<td valign="top" align="right" background="https://vborg.vbsupport.ru/images/*******/bg_top.gif"></td>
<td align="left"><img src="https://vborg.vbsupport.ru/images/*******/right.gif" ></td>
</tr>

<!-- End Top Images -->
Reply With Quote
  #6  
Old 11-11-2002, 12:44 AM
!!!cyr0n_k0r !!!cyr0n_k0r is offline
 
Join Date: Apr 2002
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope, that didnt help.
It made the thread title no goto another line.. but the left and right backgrounds were all messed up.
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:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05273 seconds
  • Memory Usage 2,270KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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