Back to vBulletin 3.6 Template Modifications

VB Image Hosting BBCode Align Image Tags
Mod Version: 1.00, by jaks

This modification is in the archives.
vB Version: 3.6.8 Rating: (2 votes - 4.50 average) Installs: 10
Released: 08 Nov 2006 Last Update: Never Downloads: 1
Not Supported Template Edits  

If you use the same hacks as I am listed below then you might want to add another Couple BBCodes because using the Align left or Align right buttons found within Borg's BBCode additions will not be valid XHTML when combined with VB Image hosting. You will also have duplicate BBCode image tags which doesn't make sense. VB Image hosting makes your image link to a seperate page to view full size images. Borg's BBCode Align tag already has built in image tags so that will cause problems.

VB image Hosting
http://www.vbulletin.org/forum/showthread.php?p=1106016

Borgs' [BB Code] Pack - Signs, User, Divider, Search Tags, Float Images
Borgs' [BB Code] Pack - Signs, User, Divider, Search Tags, Float Images

Anyway this is now much of a hack but i figure there might be some that will not notice until it's too late and have to edit a bunch of posts to fix that problem. I have also attached 2 images you can use for new buttons or you can make your own.

Add these in AdminCP==>Custom BB Codes==>Add New BB Code
#1
Title: Align Right
Tag: AR
Replacement:
PHP Code:
<div style="float: right; padding-top: 5px; padding-bottom: 5px; padding-left: 5px;">{param}</div
Example:
PHP Code:
<div style="float: right; padding-top: 5px; padding-bottom: 5px; padding-left: 5px;">[url=http://www.yoursite.com/forums/vbimghost.php?do=displayimg&imgid=20][img]https://www.vbulletin.org/forum/[/img][/URL]</div> 
Description: Aligning image to the right from Truly Unusual Image Hosting
Use {option}: No
Button Image (Optional): http://www.yoursite.com/forums/images/editor/Alignright.gif

--------------------------------------
#2
Title: Align Left
Tag: AL
Replacement:
PHP Code:
<div style="float: left; padding-top: 5px; padding-bottom: 5px; padding-right: 5px;">{param}</div
Example:
PHP Code:
<div style="float: left; padding-top: 5px; padding-bottom: 5px; padding-right: 5px;">[url=http://www.yoursite.com/forums/vbimghost.php?do=displayimg&imgid=20][img]https://www.vbulletin.org/forum/[/img][/URL]</div> 
Description: Aligning image to the right from Truly Unusual Image Hosting
Increase Size Decrease Size
Use {option}: No
Button Image (Optional): http://www.yoursite.com/forums/images/editor/Alignleft.gif

Don't care if you click Install or don't. Not planning on winning any wards with this post lol.

Smiles at Ranma2k and Borgs8472

Download

No files for download.

Screenshots

Similar Mods

BB Code Enhancements Image Alignment BBCode (left or right align) Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024