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-06-2006 02:23 PM

OK,here comes the update :)

I replaced the "plain search and replace" by a regular expression - resulting in case INsesitive replace :up:
So, [img], [IMG], [imG].... whatever, should be propperly replaced by [url] now.

To update, just re-import the new product .XML with the "allow overwrite" option enabled and you're set.

EasyTarget 02-06-2006 03:06 PM

/me installs

S@NL - BlackBik 02-06-2006 08:35 PM

Thanks for the update, Hellcat :)

Hellcat 02-06-2006 08:39 PM

Quote:

Originally Posted by S@NL - BlackBik
Thanks for the update, Hellcat :)

A pleasure (as long as some1 really uses it ;)) :)

S@NL - BlackBik 02-06-2006 08:53 PM

I sure am, and it's working fine :)

EasyTarget 02-07-2006 03:48 AM

hey if you are up for challenges hellcat, I have a good one for ya :p

It would be similar to this mod, but with a more general application. On my board there's lots of people that link to pictures from other sites. This is ok for awhile, but soon the original picture is deleted leaving the post with the signature x.

I was wondering if you could add to this hack or start a new one which would let the admin run a scheduled task every so often which would search all new posts for images and add when it finds posts with images it would find out if it was hosted at a remote site or not, and if it was then it would convert it to a forum attachment in that post or copy/host the image in a folder specified by the admin and relink the img tag to the new location. And if the admin can add exempt urls that'd be beneficial too I'm sure.

Anyways, just something I've had on my mind for awhile :p

Julie 02-09-2006 12:47 AM

Nice little thing, which is very much needed indeed! Thank you! :)

Slacker 02-09-2006 04:25 AM

Just what I needed! Installed, thanks!

http://boards.slackercentral.com

Tralala 02-09-2006 05:49 PM

Curious for feedback on this. Does installing this actually decrease load on the forum's server in any way, or is it more of an "aesthetic" decision?

(I realize it could speed things up for the user side rendering and display of image-heavy threads, but I'm of the mindset that it wouldn't have any effect, really, on the forum server itself. Am I wrong?)

That said, some users really don't like this. At all. Any chance it could be made a user-selectable option? That would please everyone, one would think.

Hellcat 02-09-2006 09:10 PM

This has no affect on the forum's server, except when most of the images are hosted on the forum server itself, wich usually isn't the case.

Adding an user option would be possible, yes.


All times are GMT. The time now is 03:05 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.01042 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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