Go Back   vb.org Archive > vBulletin Modifications > vBulletin 5.x Modifications > vBulletin 5.x Products & Extensions

Reply
 
Thread Tools
Title Tag Grabber AND Video Embedding by BOP5 for VB5 Details »»
Title Tag Grabber AND Video Embedding by BOP5 for VB5
Version: 3.0.1, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 5.1.x Rating:
Released: 10-10-2012 Last Update: 06-29-2015 Installs: 49
Re-useable Code Additional Files  
No support by the author.

.

IMPORTANT! - Updated version released here: https://vborg.vbsupport.ru/showthread.php?t=325277

All New Version 3.0

Use version 3.0.1 on VB 5.1.5 and newer (tested on 5.1.7)
It has not been tested on old versions of VB5. If you still have an old version of VB5 try the Version 2.0 download.

This mod can do two things:
  1. It can automatically grab the title of a page you are linking to
  2. It can embed video URLs automatically

For example it will turn:

http://www.vbulletin.org

to

vBulletin.org Forum - The Official vBulletin Resource!

This is working on both the simple and complex style URL BBcodes, and it will ignore existing links if you have specified a custom title.

It can also turn a link like: http://www.youtube.com/watch?v=gxEPV4kolz0 into an embedded video without use of the [video] BB Code.

In addition there is an option to auto embed old links that were previously embedded by the AME 2.x mod for vBulletin 3.x. If you still have [AME] BB Codes in your posts this mod can do its best to embed them like they used to be with AME.

Video Embedding is currently working with Youtube (both short and original URLs) and Vimeo.com videos.

The Mod should auto install, upload files as instructed in Readme (everything goes in the usual place.) Clear the system cache to see the mod work on existing posts.

If you wanted to undo the changes made by this mod simply delete the files/remove the mod/ and clear the cache. This mod does not alter the original posts, only the cached copies.

Please "Mark as Installed" if you use this.
Donations Always Appreciated. :up:
Consider nominating for MOTM if you like it!

Download Now

File Type: zip Title Tag Grabber and Video Embed by BOP5 -V2.0.zip (8.5 KB, 197 views)
File Type: zip Title Tag Grabber and Video Embed by BOP5 -V3.0.1.zip (8.9 KB, 164 views)

Screenshots

File Type: jpg title-grab-settings.jpg (93.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
eTiKeT?, In Omnibus, Teascu Dorin, yilmaz

Comments
  #52  
Old 06-13-2016, 02:41 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does work yes and I have it installed on 5.2.2 However it has the above noted issue from my post # 47
Reply With Quote
  #53  
Old 08-10-2016, 01:37 AM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to exclude the urls in < iframes >

Edit: looks it will exclude if using \</iframe>| in the ignore regex feature.

Thanks,
Shim
Reply With Quote
Благодарность от:
BirdOPrey5
  #54  
Old 08-10-2016, 03:10 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The solution I found was to bookcase the problematic terms with noparse /noparse tags. But, it would be preferable if the software were updated to prevent the issue entirely because you can't really know what terms will be problematic before you post them....
Reply With Quote
Благодарность от:
BirdOPrey5
  #55  
Old 03-24-2017, 01:18 PM
Manuela Manuela is offline
 
Join Date: Mar 2017
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tested it in vb 5.2.6

Worked great for videos... but I had to deactivate it.

Because for URL it also rewrote all links within attached images from URL and they were not shown anymore.

Setting "Auto Parse ALL URLs" to "No" also disabled the video function... so its unfortunately useless for me.

Do you think you can find a solution for this problem?
Reply With Quote
  #56  
Old 03-24-2017, 06:30 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post a plaint text example of the attached image issue that is causing you problem? So I can enter the text on my VB5 forum and see if I can replicate the issue?
Reply With Quote
  #57  
Old 03-25-2017, 09:43 AM
Manuela Manuela is offline
 
Join Date: Mar 2017
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure.. here is what it does to an attachement when implemented with extern URL:

Code:
[IMG2=JSON]{"data-align":"none","data-size":"full","src":"https:\/\/http://www.example.de\/dateien\/uh60808,1275746830,image.jpg"}[/IMG2]
This only happens to extern URLs, not to image attachements that had been uploaded to server.
Reply With Quote
  #58  
Old 03-28-2017, 08:32 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I need the text you type into the post before it happens, not after it happens.

You can get the text by viewing the raw source in the Advanced editor before submitting the post.
Reply With Quote
  #59  
Old 03-28-2017, 09:05 PM
Manuela Manuela is offline
 
Join Date: Mar 2017
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was an attached image used on vb 5.2.6.
No written Text, URL or written BBCode.

Clicked on the Image Icon, filled in the Image-URL and then saved the post. Nothing else.

And after installing and activating the mod all attached images in posts turned to the code I added above.
Reply With Quote
  #60  
Old 04-09-2017, 10:14 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I don't foresee anytime to work on this, I have marked it re-usable code, if anyone wants to take a look at improving it themselves and releasing an updated version, feel free.
Reply With Quote
  #61  
Old 04-24-2017, 03:57 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What it seems to do is truncate the URL for external links IF it is a really long URL such as say one for an image, example:
https://lh3.googleusercontent.com/zm...ghO5dS0dg=w300

it turns it into this upon saving:
https://lh3.googleusercontent.com

I don't believe this has anything to do with "images" per se, it just means that this hack is altering any really long external URLs when posted as external links. (When you use the ADD LINK function.) When you click to edit the external link URL, it is all there, but after you post it, it is truncated such that it no longer goes to the correct URL.

Within the same post if you post the URL as a line in the post text (NOT as an external link), the URL appears fine.

To summarize again:
If you try to use the Add Link function to the right of the Image button, upon posting the URL is truncated and invalid. However if you click to edit, the URL is all there. Just upon saving the URL is altered.

But if you simply post a URL within the message, it appears okay.

I am assuming that this is something this hack is doing, and not a bug in VB 5.3.0


---

As far as what Manuela is saying up there, yes it does post the image when you try to find and post it via URL, but it also makes a crazy URL at the top of the post, which for this URL
https://lh3.googleusercontent.com/zm...ghO5dS0dg=w300

looks like this:
[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"zmJTC0HBAeAk9ZcCjNANsQMLv78-oc04-b9olW60XYFBj78jf3-Iuj36EghO5dS0dg=http://w300.jpg","data-attachmentid":74051}[/ATTACH]


---

So these are two separate, perhaps related, bugs with the hack. I wish Bird O'Prey could find the time to revise this very useful hack. We could pass a donation hat and I would contribute if that would make a difference. Thanks!
Reply With Quote
Reply

Thread Tools

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 01:00 AM.


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.06591 seconds
  • Memory Usage 2,337KB
  • 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
  • (1)bbcode_code
  • (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
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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