Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Convert [IMG] to [URL] in quoted text Details »»
Convert [IMG] to [URL] in quoted text
Version: 1.20, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-02-2006 Last Update: 02-09-2006 Installs: 95
Uses Plugins
 
No support by the author.

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

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-03-2006, 12:19 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very needed, thanks.
Reply With Quote
  #3  
Old 02-03-2006, 12:41 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Indeed! Thanks.
Reply With Quote
  #4  
Old 02-03-2006, 12:52 AM
Omega Prime's Avatar
Omega Prime Omega Prime is offline
 
Join Date: Sep 2002
Location: ::Infinity::
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another nice feature to have

[high]* Omega Prime clicks install[/high]
Reply With Quote
  #5  
Old 02-03-2006, 01:22 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #6  
Old 02-03-2006, 02:01 AM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"....
Reply With Quote
  #7  
Old 02-03-2006, 02:22 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not that I'm aware of? What else might alter img tags?
Reply With Quote
  #8  
Old 02-03-2006, 02:31 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 02-03-2006, 03:43 AM
incurable incurable is offline
 
Join Date: Apr 2005
Location: pink jar~*
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gosh this is neat !!! i need it !!
Reply With Quote
  #10  
Old 02-03-2006, 06:19 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [/high]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05949 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete