vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - LAM - Quote Img & Video to URL (https://vborg.vbsupport.ru/showthread.php?t=252043)

mawby 10-12-2010 10:00 PM

LAM - Quote Img & Video to URL
 
1 Attachment(s)
This product will change any [IMG] and [VIDEO=] tags to [URL] tags when a post is quoted.


Installation
  1. Download the attached .xml file
    product-LAM_QuoteImg2URL.xml
  2. Install the product
    AdminCP -> Plugins & Products -> Add/Import Product -> Import Product

Configuration

There is none!


Example

If someone has made a post like this;

https://vborg.vbsupport.ru/attachmen...1&d=1286983589

The image tag is converted to a URL when quoted, like this;

https://vborg.vbsupport.ru/attachmen...1&d=1286983589


Version History

4.1.4.0 - Added [VIDEO=] to [URL] support (2011/0705)
4.0.8.0 - Minor optimisation (2010/10/26)
4.0.6 - Initial release (2010/10/13)

benstillman 10-13-2010 02:35 PM

Awesome.

BlackJacket 10-13-2010 03:09 PM

Dont know why this isn't standard. Great mod! Tagged for later.

Juggernaut 10-13-2010 04:30 PM

Installed

Shadow09 10-13-2010 04:57 PM

Installed thx

Xeyn 10-13-2010 05:05 PM

thx,,,great mod........

synseal 10-13-2010 05:35 PM

Excellent!... Thanks.

ToNetU 10-13-2010 07:55 PM

very good.. installed

ProFifaLeagues 10-13-2010 09:15 PM

So does this just lessen the load on your own site with the link to the image??

Blooded 10-13-2010 10:53 PM

thanks :)

Sol-Invictus 10-14-2010 03:40 AM

Installed.
Thanks.

Dr.osamA 10-14-2010 04:12 AM

Excellent = 5 stars

installed

thanxx

mawby 10-14-2010 06:11 AM

Quote:

Originally Posted by rammieone (Post 2109899)
So does this just lessen the load on your own site with the link to the image??

Assuming the image has already been downloaded by the browser viewing the original post - no, caching should take care of that. What it does mean is if you have a thread with lots of pictures and a lot of people who are quoting just to reply things like "That's cool" then you don't end up with the same pictures appearing again, and again..... and again.

I find it makes a thread more coherent to view without the need to keep scrolling past quoted images to find something new.

sticky 10-14-2010 08:32 AM

About time for something like this :)

ProFifaLeagues 10-14-2010 08:52 AM

Quote:

Originally Posted by mawby (Post 2109998)
Assuming the image has already been downloaded by the browser viewing the original post - no, caching should take care of that. What it does mean is if you have a thread with lots of pictures and a lot of people who are quoting just to reply things like "That's cool" then you don't end up with the same pictures appearing again, and again..... and again.

I find it makes a thread more coherent to view without the need to keep scrolling past quoted images to find something new.


Cheers for clearing that up Mawby Great idea too!:up:

CharlieDelta 10-15-2010 06:58 PM

Great mod! Thanks.

ProFifaLeagues 10-15-2010 07:22 PM

Installed and working A1 thanks a nice little add on

Wajdan 10-17-2010 04:42 PM

Tagged

mawby 10-26-2010 04:24 PM

I've done a very minor update to optimise the code. I'm not convinced it will make that much of a difference in real life, but it's an optimisation none the less.

BadgerDog 10-27-2010 09:15 PM

Will this work backwards to v4.04?

Thanks .. :)

Regards,
Badger

mawby 10-29-2010 12:35 PM

Quote:

Originally Posted by BadgerDog (Post 2115016)
Will this work backwards to v4.04?

I haven't tested it on 4.0.4, but I can think of no reason why it wouldn't work.

BadgerDog 10-29-2010 04:32 PM

Quote:

Originally Posted by mawby (Post 2115626)
I haven't tested it on 4.0.4, but I can think of no reason why it wouldn't work.

Thanks .. :)

Installed and seems to work fine on v4.04pl1 ... :up:

Regards,
Badger

Zombo 11-09-2010 03:44 PM

lol i made my own fix by editing class_bbcode.php, this is much better as a plugin tho

goshalim 11-11-2010 05:35 AM

What is the perspose of this mod ?
Can someon explain the reason for using it >?

mawby 11-12-2010 12:38 PM

Quote:

Originally Posted by goshalim (Post 2120456)
What is the perspose of this mod ?
Can someon explain the reason for using it >?

https://vborg.vbsupport.ru/showpost....8&postcount=13

prandah 03-21-2011 07:44 PM

Brilian
Thanks For Mod :D

Pvtiste 06-30-2011 12:33 PM

Really nice job! Could you do the same with the video please? :)

5 stars & installed!

mawby 07-05-2011 08:30 AM

Quote:

Originally Posted by Pvtiste (Post 2215017)
Really nice job! Could you do the same with the video please? :)

I've been meaning to do that for ages on my site. I finally have! :D There's a new version uploaded that will work for videos as well as images.

pantani 07-05-2011 09:13 AM

Verry nice mod thanks for that, installed ;)

ProFifaLeagues 07-05-2011 09:54 AM

Nice update Mawby thanks

Luca_ITA 08-06-2011 02:25 PM

Great mod! Installed on 4.1.5pl1

Randomm 08-06-2011 06:50 PM

Installed and rated
BTW where would I be able to find this in the settings?

Tonje! 11-04-2011 08:50 PM

Thanks! Installed on 4.1.7 and works fine.

Luca_ITA 12-23-2011 05:44 PM

Working fine on 4.1.9. tnx

spillage 12-24-2011 03:10 PM

Excellent job, this is a great mod...

Suggestion for future development; Have an editable field to list tags to be included (CSV list).
Users may have custom tags like [YouTube], [PDF], etc, that would also be good to convert in a quote.

Mark.B 12-24-2011 04:53 PM

Works perfectly, thank you.

SRSC 12-24-2011 05:34 PM

how to update for all post??? It only work from now on.

14DH01 01-19-2012 12:31 PM

Quote:

Originally Posted by SRSC (Post 2280741)
how to update for all post??? It only work from now on.

+ 1 :up:

sticky 01-21-2012 11:24 PM

Can't get this to work on 4.1.10 for some reason.

sticky 01-22-2012 09:16 AM

Ok, it's working for linked images and videos but not for attached images. Any idea why?


All times are GMT. The time now is 06:03 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.01464 seconds
  • Memory Usage 1,781KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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