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

Reply
 
Thread Tools
Image Alignment BBCode (left or right align) Details »»
Image Alignment BBCode (left or right align)
Version: FINAL BBCO, by PoetJA-1975 PoetJA-1975 is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.6.8 Rating:
Released: 04-03-2008 Last Update: Never Installs: 20
Additional Files  
No support by the author.

This is a simple image alignment bbcode you can create in your AdminCP to align images to either the right or left of text... This bbcode should work for any of the 3.x series vBulletin.

Instructions:

Go to your AdminCP - In the Custom BB Codes section - Click Add New BB Code - Then fill out the following sections as noted below:

Title: Image BBCode With Left or Right Alignment

Tag: imgalign

Example: [imgalign=left]http://img77.imageshack.us/img77/1202/jpicad30pa.gif[/imgalign]

Replacement:
HTML Code:
<img src="{param}" align="{option}" border="0" alt="" style="padding:6px;" />
Use {option}: Yes

Button Image (Optional): images/editor/imagealign.gif

  • **NOTES**
  • Upload attached image to your forum's /images/editor folder
  • In the example - you can put in the image url of your choice
  • The option can be left, right, bottom, top
    View THIS SITE for possible options and examples.

Online vBulletin Forum Example: JPiC Forum For Writers

Show Your Support

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

Comments
  #12  
Old 11-11-2008, 03:24 PM
r3dh3adkid r3dh3adkid is offline
 
Join Date: Sep 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do have text but I just put a black block over it.

If you have have text that does not wrap below your picture then it will mess up like I posted.

Is there a way to fix this tho?
Reply With Quote
  #13  
Old 11-11-2008, 11:02 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The float option only allows for right & left I believe...
My option allows for right, left, middle, top & bottom align
@ r3dh3adkid -- No - the purpose of the image align is for the text to wrap around the image. The only way to alleviate the issue you posted is to possibly use spaces in your post. ALSO - if you are using the bbcode = Click INSTALL.

Jacquii.
Reply With Quote
  #14  
Old 11-26-2008, 07:02 PM
behcet behcet is offline
 
Join Date: Apr 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnx a lot i was looking for it for a long time. but i have a problem.
1-is it possible to add the link as an "option". i mean the opening window (popup).
2-when i want to apply it to the old <img> tag, images are losing and and the red x square symol is looking there. your suggestions?
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:06 PM.


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.03718 seconds
  • Memory Usage 2,231KB
  • Queries Executed 18 (?)
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_html
  • (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
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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