vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Convert [IMG] to [URL] in quoted text (https://vborg.vbsupport.ru/showthread.php?t=107022)

Hellcat 02-02-2006 10:00 PM

Convert [IMG] to [URL] in quoted text
 
OK, another quick one I made 'cause someone requested something like this and I didn't find it while looking for it :)
So, forgive me if something like this already exists.... :nervous:
(Point of reference)

This one replaces all [IMG] tags in quoted text with [URL] tags.
So, you and your users don't have to see the same image over and over again, and if you really forgot what the image was, just click the link :D

Installation:
Import the product .XML -> DONE :)


Like I said, a quick one.


Update 1.20
By request, this now also adds an option to the UserCP where users can choose if quoted images should be converted to URLs or left as images.

UserCP -> Edit Options -> At the bottom of the page

:)

Tulsa 02-03-2006 12:19 AM

Very needed, thanks.

Daniel 02-03-2006 12:41 AM

Indeed! Thanks.

Omega Prime 02-03-2006 12:52 AM

Another nice feature to have :)

[high]* Omega Prime clicks install[/high]

Tulsa 02-03-2006 01:22 AM

Still in beta?

I did a quick test of a pic and quoted it and got this...

PHP Code:

[quote=Tulsa]

[
URL="http://img140.imageshack.us/img140/8140/ritzcarlton8qe.jpg"][IMG]http://img140.imageshack.us/img140/8140/ritzcarlton8qe.jpg[/IMG][/URL][/quote] 

It appears to have doubled it, left the img tags and tacked on the url tags at the ends?

Hellcat 02-03-2006 02:01 AM

Quote:

Originally Posted by Tulsa
Still in beta?

I did a quick test of a pic and quoted it and got this...

PHP Code:

 

It appears to have doubled it, left the img tags and tacked on the url tags at the ends?

Do you have any other things installed that alter [IMG] tags or such?
Because there is no way this one could double it since all it does is replacing "IMG" by "URL"....

Tulsa 02-03-2006 02:22 AM

Not that I'm aware of? What else might alter img tags?

Tulsa 02-03-2006 02:31 AM

Maybe this was just some kind of fluke?? Someone on my sight just quoted a pic and it worked fine.

Update:
I'm not sure this is going to make any sense at all but it appears to only be happening when you are quoting a pic hosted from imageshack or photobucket??

Other sources of pics from other servers work fine?

incurable 02-03-2006 03:43 AM

gosh this is neat !!! i need it !!

Zia 02-03-2006 06:19 AM

yoooooooooooooooooooooooooooooo
I missed the fisrt post here...

Hellcat rockz like hell..haha

Thnx a Lot

[high]* Zia Kliks Install... is there any way i kliked hundreads of time :D[/high]


All times are GMT. The time now is 02:21 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.01939 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete