vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Change IMG tag to URL tag (https://vborg.vbsupport.ru/showthread.php?t=197839)

Tmnoonan 12-02-2008 05:26 PM

Change IMG tag to URL tag
 
I have a forum in which people are constantly typing in the img tag even though we disable it. We would like it so that the img tag just does the same thing as the url tag, since people are always posting huge images that screw up people on dial-up.

Is there any way to make it so a IMG tag just turns into a URL tag? Leaving a link to the picture is our most desired result.

Tmnoonan 12-05-2008 04:22 PM

Is there some way to mess with the phraser? Does anyone know which file it is?

Lynne 12-05-2008 04:36 PM

How can they be using it if it is not allowed? Did you disable it in your vboptions - disable bbcode? or what? What is the exact code they are using - http://something.com/picture.jpg ?

If so, you can make a plugin just for posts and replace [ img] with [ code] and also [ /img] with [ /code] (no spaces).

Tmnoonan 12-10-2008 08:54 PM

Thanks for the reply! How would I go about making a plugin of that nature?

Lynne 12-10-2008 09:04 PM

You can try something like this - Word Replacement


All times are GMT. The time now is 11:48 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.00906 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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