vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   BB Code Enhancements - Image with Alternate Text BB Code (https://vborg.vbsupport.ru/showthread.php?t=180543)

mikkitine 05-25-2008 09:00 PM

Image with Alternate Text BB Code
 
What does this do?

Hover over my avatar just to the right and notice how there is a piece of alternate text telling you when I was last online. This BB Code enhancement does the same for linked images on your forum. It's very simple.

Installation

1
custom BB Code to create.

Installation instructions

Admin CP > Custom BB Codes > Add New BB Code

Title: Image with Alternate Text

Tag: img

Replacement:
Code:

<img src="{param}" alt="{option}" border="0" />
Example: Use {option}: Yes

Then save. All is done.

Enjoy and click install. It should work without a hitch anywhere.

Update 2nd June 2008
v1.01:
Changed the image tag from "IMGA" to "IMG". This will not conflict with the original IMG tag.

suvari1794 05-28-2008 01:54 PM

can't we do this for original img tag? for example; https://vborg.vbsupport.ru/

how we can fix original vbulletin php files?

wtfsoccerdude 05-28-2008 02:37 PM

Yea it would be great if this can be merged with the default IMG tag :D. Please do work it out :).

mikkitine 06-01-2008 08:56 PM

Quote:

Originally Posted by suvari1794 (Post 1534118)
can't we do this for original img tag? for example; [img=Jack]http://www.picture.com/jack.png[/img]

how we can fix original vbulletin php files?

If I knew a way how to edit the original BB Code I would have definitely tried that instead of making a new image BB Code. I'm not sure where to start with doing that and I think this is the safest option.

If anyone knows though, please post a way.

Regards.

s810car 06-04-2008 01:15 AM

err....security issues?

mikkitine 06-08-2008 11:29 PM

None that I'm aware of.

mikkitine 07-01-2008 09:02 PM

Quote:

Originally Posted by wtfsoccerdude (Post 1534155)
Yea it would be great if this can be merged with the default IMG tag :D. Please do work it out :).

I've found out how and have updated the BB Code. Lol, a really simple fix actually. No known security issues.

Q-v-n-s-Q 07-01-2008 11:29 PM

thank you, i might use it for my board


All times are GMT. The time now is 04:28 AM.

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.02212 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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