vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding images in posts ?? (https://vborg.vbsupport.ru/showthread.php?t=204286)

King Justice 02-05-2009 06:01 AM

Adding images in posts ??
 
Help me add images in posts in my forum..

I want to align the image to the right keeping the text to the left. For some reason whenever I add an image it makes the entire line break?

I want to do something like this without using HTML code in the post because I can't and don't want to make any vulnerability:

Code:

<p style="text-align: center;">Text to the left of the image.</p><p style="text-align: right;"><img src="image.gif" /></p>
That'd keep the content of the post the left with the image to the right..
BB-codes don't do crap. Please help me accomplish this..

Or is there anyway to allow HTML in a specific thread only? :confused:

bananalive 02-05-2009 11:37 AM

You could create your own bbcode, maybe something like this?

<p style="text-align: center;">{param}</p><p style="text-align: right;"><img src="{option}" /></p>

Lynne 02-05-2009 02:43 PM

Look in the mods forums in the BBCode Enhancements prefix and you'll find the bbcode to do this. Or do a search.

King Justice 02-05-2009 04:03 PM

Quote:

Originally Posted by Lynne (Post 1735215)
Look in the mods forums in the BBCode Enhancements prefix and you'll find the bbcode to do this. Or do a search.

Sorry what? :confused: That confused me. ;_; Sorry Lynne, I just don't understand what you're telling me to search for?

Lynne 02-05-2009 04:10 PM

Go to the Mods forum - for instance this 3.7 add-ons one - https://vborg.vbsupport.ru/forumdisplay.php?f=228 and then change the dropdown to BBCode Enhancements and hit Show Mods. You may also look in the 3.6, or 3.5, or 3.8 Mods forums, too. BBCode is pretty much version independent.

King Justice 02-06-2009 08:47 PM

So I need to use a plugin to do this? It's so weird because there's really no point in using the [left] and [right] BB-codes because it breaks a line when ya do it and it shouldn't, that's not really compliant...as <p> for example if you align it to the left and one to the right are side-by-side as it should be. [left] and [right] should be columns if used together or without breaking...

Lynne 02-06-2009 09:17 PM

No, you don't have to use a mod. It's just that people post the bbcode in those forums under the BBCode Enhancements area.


All times are GMT. The time now is 10:24 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.01128 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete