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

Reply
 
Thread Tools
LAM - Quote Img & Video to URL Details »»
LAM - Quote Img & Video to URL
Version: 4.1.4.0, by mawby mawby is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.1.4 Rating:
Released: 10-12-2010 Last Update: 07-04-2011 Installs: 118
Uses Plugins
Re-useable Code Translations  
No support by the author.

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;



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




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)

Download Now

File Type: xml product-LAM_QuoteImg2URL.xml (1.4 KB, 260 views)

Screenshots

File Type: png Orignal post.png (64.4 KB, 0 views)
File Type: png Quote.png (18.5 KB, 0 views)

Show Your Support

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

Comments
  #42  
Old 01-23-2012, 01:43 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sticky View Post
Ok, it's working for linked images and videos but not for attached images. Any idea why?
Anyone?
Reply With Quote
  #43  
Old 01-30-2012, 06:36 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone else having trouble with attached images not displaying as links in 4.1.10?
Reply With Quote
  #44  
Old 03-04-2012, 07:34 AM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not work with 4.1.11
Reply With Quote
  #45  
Old 03-28-2012, 06:49 AM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by spillage View Post
Suggestion for future development; Have an editable field to list tags to be included (CSV list).
I'll try and get that added in a some point.

Quote:
Originally Posted by sticky View Post
Anyone else having trouble with attached images not displaying as links in 4.1.10?
Is this where the user has posted [attach] images? That doesn't happen too often on my site hence it's not annoyed me enough to stop them being quoted. I'll try and get this added in but it's a little different to the others as I'll have to build a link for the attachment rather than just changing the [image]/[video] tags to [url].

Quote:
Originally Posted by Bulent Tekcan View Post
Not work with 4.1.11
My site is running 4.1.11 and it definitely is working.

Quote:
Originally Posted by SRSC View Post
how to update for all post??? It only work from now on.
This product cannot do that. For reasons of optimisation this product alters the post before it is saved instead of before it is loaded. You could attempt to replace all the [image]/[video] tags in the database using a regex to find those within a [quote] block, but the potential to screw things up would make that too risky for me suggest it as a good idea!
Reply With Quote
  #46  
Old 06-10-2012, 08:29 PM
galmi galmi is offline
 
Join Date: Jun 2012
Location: Germany
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way I can get this to work not only in quotes but all over the whole forum?
So every time anyone uses the [img]-Tag it gets replaced not only if quoted?

Thanks in advance!
Reply With Quote
  #47  
Old 07-30-2012, 12:19 AM
spillage spillage is offline
 
Join Date: Feb 2009
Location: S. Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone confirm if this mod is working on 4.2?
Reply With Quote
  #48  
Old 07-30-2012, 03:00 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great on 4.2.
Reply With Quote
  #49  
Old 08-29-2013, 07:52 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Downloaded but not tested...

Good reports though....Thanks...

EDIT: Using 4.2.1 and uploaded.
Picture still appears in quotes. Do I need to enable this mod in admin cp some place?

Thanks..
Reply With Quote
  #50  
Old 08-29-2013, 08:54 AM
megabink's Avatar
megabink megabink is offline
 
Join Date: Oct 2011
Location: Norway
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
EDIT: Using 4.2.1 and uploaded.
Picture still appears in quotes. Do I need to enable this mod in admin cp some place?

Thanks..
There are no settings in the acp for this mod.
I noticed this only works with [IMG] tags,and i also installed this before and it did work neither so i uninstalled the mod.
Maybe you need to add the [IMG] bbcode in order to make this work.
Reply With Quote
  #51  
Old 08-29-2013, 09:40 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by megabink View Post
There are no settings in the acp for this mod.
I noticed this only works with [IMG] tags,and i also installed this before and it did work neither so i uninstalled the mod.
Maybe you need to add the [IMG] bbcode in order to make this work.
Thanks. I will uninstall for now and just watch for developments...
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 03:37 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.07353 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete