Go Back   vb.org Archive > Community Central > Community Lounge

Reply
 
Thread Tools Display Modes
  #11  
Old 05-17-2006, 06:51 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Props to teamwork gang!
Reply With Quote
  #12  
Old 05-17-2006, 06:57 AM
cayote cayote is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah that was great...no offense to anyone but the final instructions made sense when I looked at them. Dunno what all the rigomorale was about in the header I have (custom, I'm sure something will crash later hahaha) but the changing everything to one function made sense to me. Learning as I go!
Reply With Quote
  #13  
Old 05-17-2006, 07:02 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A lot of us learn that way too.
Reply With Quote
  #14  
Old 05-17-2006, 07:04 AM
cayote cayote is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's amazing how that cleaned up the look of my page...now if I could stretch it....arg...heheheh I guess that's just a matter of the graphic dimensions?
Reply With Quote
  #15  
Old 05-17-2006, 07:11 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes but you can always stretch the image. If your using the <img> tag then set the width in the tag. Something like:

Code:
<img src="image_URL_here.gif/jpg" width="700px" class="img" />
Then in Main CSS (Additional CSS Definitions):
Code:
img {
  border:0;
  }
It will distort your image, however, if it's stretched forcefully.
Reply With Quote
  #16  
Old 05-17-2006, 07:21 AM
cayote cayote is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freesteyelz
Yes but you can always stretch the image. If your using the <img> tag then set the width in the tag. Something like:

Code:
<img src="image_URL_here.gif/jpg" width="700px" class="img" />
Then in Main CSS (Additional CSS Definitions):
Code:
img {
  border:0;
  }
It will distort your image, however, if it's stretched forcefully.

Ok but how does that work with what you told me above?

Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td style="text-align:center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
I replace
Code:
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
with what you said? I don't get that as they appear to be completely different statements. Oh wait..the CSS call covers the border statement..but what about the $stylevar[titleimage] and alt="$vboptions[bbtitle] stuff...?
Reply With Quote
  #17  
Old 05-17-2006, 07:34 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be:

Code:
<img src="$stylevar[titleimage]" width="700px" border="0" alt="$vboptions[bbtitle]" />
Where it says "700px" change to the width you want it stretched to.

The border="0" should not be inside the <img> tag (bad coding) but that's for another time (shame on vB). Heh.
Reply With Quote
  #18  
Old 05-17-2006, 07:40 AM
cayote cayote is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh...again that makes sense..

[Edit] Ok that works but goofs the graphic..so's I guess I redo it. Oddly it also Widened it? PS...if you are online Free...any chance of live chat? I have a TS we can use. Err..[Edit] How do I just use the graphic as is..ie it's dimensions? [Edit again] Nevermind...using the width setting along with the newly made graphic worked fine...thanks! [Re edit] Ok...hehe another one...the whole page scales with the browser...except the graphic...yikes! [Double trouble edit] Ok...replacing width with $stylevar[outertablewidth] allows the graphic to scale with the browser but the initial graphic doesn't fit the window...? Learning as I go. Making a new image (larger) didn't work as far as sizing? Hmmm. Hope others are reading this and learning too!
Reply With Quote
  #19  
Old 05-18-2006, 12:21 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe. Self-service is fantastic.
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 08:43 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.03860 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
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
  • (7)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete