The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Image alignment
I did some digging and found This posted waaaaay back around here. Obviously this won't work in VB3 because the file structure and coding has changed (BB code is now handled in includes/functions_bbcodeparse.php and the preg_replace is different; img code parsing happens around line 997).
Adding a new [imgalign] BB code like suggested on that thread still works, although I'd really like to use [img=left/right/center] instead. Has anyone already figured this out? |
#2
|
|||
|
|||
|
#3
|
|||
|
|||
For the above I just put
Code:
[right ][/right ] Code:
[center ][/center ] Code:
[left ][/left ] |
#4
|
|||
|
|||
Yes, but that only shifts the image left/center/right and fails to grant the advantage of <img src="blah.gif" align="left" /> (allowing text to wrap around and float next to images).
|
#5
|
||||
|
||||
Quote:
Code:
Title: Float Tag: float Replacement: <span style="float:{option}">{param}</span> Example: [float=right][img]Image[/img][/float]Float Text Description: Float an image to the left or right of a block of text. Use {option}: Yes |
#6
|
|||
|
|||
Off topic ....
Quote:
|
#7
|
||||
|
||||
PHP Code:
I thought we were now supposed to use < div align = "center"> </div> -- something like that anyways... no??? |
#8
|
||||
|
||||
use CSS to align
this way you can use the class throughout the site HTML Code:
<span style="float:{option}">{param}</span> HTML Code:
<span class="{option}">{param}</span> HTML Code:
/*right float*/ .rfloat { float:right } /*left float*/ .lfloat { float:left } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|