Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Images with text wrap Details »»
Images with text wrap
Version: 1.0.1, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 03-17-2008 Last Update: 03-17-2008 Installs: 74
 
No support by the author.

Images with text wrap
Version 1.0.1
(By Boofo)

What does this do?
This will allow you to wrap test around images on either the left side or the right side. You can also define the background color you want for the image.

Installation:
Custom BB Codes to make: 2
Files to Upload: 2

Installation Instructions:
Step 1: Upload the 2 images to the images/misc folder.

Step 2: Go to Admin CP -> Custom BB Codes -> Add New BB Code
Enter the following information for each BB Code.

Done!
Enjoy!

NOTE: If you do not click install, you do not need support.

Show Your Support

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

Comments
  #62  
Old 04-25-2008, 05:18 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for double posting but this is kinda important. I'm using this code with some 600x600 collages to make a thread. Pics and text work fine at higher resolutions but at lower resolutions the images float over the text blocking it. Is there anything short of reducing the size of the pics I'm using (already reduced them from 800x800 to 600x600) that would make this thread come out right? I'd really like to avoid reducing them too much as the images that make up the collage would be hard to make out.
http://animeappeal.com/forums/showthread.php?t=181
Reply With Quote
  #63  
Old 04-25-2008, 06:32 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just checked your link and when I lowered the window size, I didn't see text floating over the images. It just moves the text below or above the images. Or am I missing what you are asking, which is entirely possible.
Reply With Quote
  #64  
Old 04-25-2008, 08:00 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I created those on my desk system. 20" widescreen running @ 1680x1050. My laptop is 15.4" running @ 1280x800. That's top res for those systems respectively.
I though I had taken in to consideration the resolution differences by reducing the size of the collages to 600x600 from 800x800. It works if you park pictures offset. When the forum floats down to fit the laptop screen it shows as it was intended.
But if the pics are one on the left >text in between< pic on the right, when the forum floats down to fit the laptop screen, the pictures get push together and the text that was in between is now behind the pictures. If you look at the thread about your bbcode and the one above it about making collages with the same sized screen and res as my laptop, you'll see what I'm trying to say. Also if you look just under the top and bottom pics in my laptop's configuration, you'll see a word just about buried under the top set and a loose word under the bottom set. Those were part of the text between the sets.
I'd rather it stay like it was put together and the scroll bar pop up than to have it crushed together like it's doing.
Reply With Quote
  #65  
Old 04-25-2008, 08:04 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I see what you are saying now. I don't see a way to do that, to be honest with you. I will play with it and see if I can come up with anything but the way it works, I'm not sure we can set it to scroll if the screen size is too small. You are the first one that has done it with the text in between pics.
Reply With Quote
  #66  
Old 04-26-2008, 11:54 AM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up: Nice one Important modification... :up:
Reply With Quote
  #67  
Old 04-26-2008, 11:56 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NAZIA View Post
:up: Nice one Important modification... :up:
But no important enough for the install button?
Reply With Quote
  #68  
Old 04-29-2008, 03:43 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does hspace and vspace control?
Reply With Quote
  #69  
Old 04-29-2008, 04:04 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Horizontal spacing and vertical spacing between the pic and the text.
Reply With Quote
  #70  
Old 04-30-2008, 07:05 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'd be amazed at what you can do if you change those values. I duped the left justitfy command and renamed it then set the values to increase the padding. When you increase the hspace value it pushes the image off of the left side of the forum border and pushes the text over also.
If you want to center a pic and have text under it you:
First find the total width of the screen. Divide that in half.
Do the same for the picture you'll be using.
Subtract the half of the picture from the half of the screen and you get the padding in pixels you need to put in hspace.
Then bang in those carrage returns till your edit and quote buttons are back down at the bottom of the page adding the imfamous period at the end.
Or
Drop down a line or two under the picture and put in your text.
The padding acts like a wall on the right hand side of the whole image. If you over run the right forum page border it will get pushed out.

I added another button to be able to have seperate values for another image. I wound up with this:
(5/4/08> Site crashed. All lost including backups. I will endevoer to get the how to's back up ASAP.)
I came back to correct the formula. It was in error. It is the screen res after all. But it does apply no matter what res you use. Center is center.
Reply With Quote
  #71  
Old 05-05-2008, 08:56 AM
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Location: Philippines
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome mod
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 12:53 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.04845 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete