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 MDawg for VB5 Details »»
Title Tag Grabber AND Video Embedding by MDawg for VB5
Version: 3.0.2, by mdawg mdawg is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 5.2.6 Rating:
Released: 06-25-2017 Last Update: Never Installs: 34
Supported Uses Plugins
Re-useable Code Additional Files Translations  

All New Version 3.0.2

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.

This is an update by Rhodium for the mod created by BirdOPrey5 - thanks to both!

The mod now works without the bugs mentioned in the prior version.

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 mdawg -V3.0.2.zip (6.6 KB, 243 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Mr Peabody, yilmaz

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

Reserved.
Reply With Quote
  #3  
Old 06-25-2017, 10:49 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works with vb 5.3.1 without bugs, let us know please.
Reply With Quote
  #4  
Old 06-26-2017, 08:08 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, good luck with the mod.

May want to consider disabling auto-install, it causes problems for people who want to remove it.

For example- for people who need to remove my mod (if they had the old version installed) first log into the Admin CP of your forum, go to Admin CP -> Products & Hooks -> Manage Products. Leave this screen up and got to step 2.

Step 2 - Use FTP or your host's File Manager, or whatever other means you have for deleting the folder bop5titletags from the /core/packages/ folder on vbulletin.

Step 3, as quickly as possible after completing step 2 go back to Manage Products in your Admin CP and choose Uninstall from the drop down box for Title Tag Grabber and Video Embed by BOP5.

This will remove my mod. At this point, also in the Admin CP, you should go to Admin CP -> Maintenance -> Clear Cache. This will remove all titles and videos previously edited by the mod. Don't worry, after installing the new mod, clear cache again and they will be rebuilt first time they are loaded.

Best of luck.
Reply With Quote
  #5  
Old 06-26-2017, 06:26 PM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Great, good luck with the mod.

May want to consider disabling auto-install, it causes problems for people who want to remove it.

For example- for people who need to remove my mod (if they had the old version installed) first log into the Admin CP of your forum, go to Admin CP -> Products & Hooks -> Manage Products. Leave this screen up and got to step 2.

Step 2 - Use FTP or your host's File Manager, or whatever other means you have for deleting the folder bop5titletags from the /core/packages/ folder on vbulletin.

Step 3, as quickly as possible after completing step 2 go back to Manage Products in your Admin CP and choose Uninstall from the drop down box for Title Tag Grabber and Video Embed by BOP5.

This will remove my mod. At this point, also in the Admin CP, you should go to Admin CP -> Maintenance -> Clear Cache. This will remove all titles and videos previously edited by the mod. Don't worry, after installing the new mod, clear cache again and they will be rebuilt first time they are loaded.

Best of luck.
I dealt with this already. After having removed the mod and deleting the folder from packages it reappeared as an installed package in admincp.

That auto install works but can be a real hassle! Though I didn't have any problems that I specifically ran into with your mod I installed the new one and do not see any problems thus far with this one either.

People might want to remember to copy your "BBCode Ignore Regex Extension" list before uninstalling though. Luckily I remembered

Thanks fellas,
William
Reply With Quote
  #6  
Old 06-26-2017, 09:09 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We did eliminate auto re-install on this 3.0.2 version.

public $AutoInstall = 0;
Reply With Quote
  #7  
Old 06-27-2017, 08:10 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as the BBCode Ignore Regex Extension, I always just left mine as
\[/link]|

maybe you could go over why you inputted so many exceptions, and what exactly they were. Thanks!
Reply With Quote
  #8  
Old 06-28-2017, 04:40 AM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdawg View Post
As far as the BBCode Ignore Regex Extension, I always just left mine as
\[/link]|

maybe you could go over why you inputted so many exceptions, and what exactly they were. Thanks!
Take for example this iframe:

<iframe src="https://www.w3schools.com"></iframe>

You don't want the url to translate from the mod so you'd exclude the iframe tags in the bbcode ignore....

William
Reply With Quote
  #9  
Old 11-10-2017, 12:57 PM
laebshade laebshade is offline
 
Join Date: Jul 2010
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm seeing the script running slow and ultimately causing HTTP 500 errors on certain pages. Excerpt from php5 fpm log:

Code:
[10-Nov-2017 14:49:52]  [pool www] pid 29142
script_filename = /var/www/html/index.php
[0x00007f0bcfc0f028] curl_exec() /var/www/html/core/vb/vurl/curl.php:342
[0x00007f0bcfc0ee98] execCurl() /var/www/html/core/vb/vurl/curl.php:279
[0x00007f0bcfc0ed38] exec() /var/www/html/core/vb/vurl.php:322
[0x00007f0bcfc0ebf8] exec2() /var/www/html/core/vb/vurl.php:236
[0x00007f0bcfc0eaa8] exec() /var/www/html/core/vb/api/content/link.php:91
[0x00007ffe30f2f200] parsePage() unknown:0
[0x00007f0bcfc0e8d8] call_user_func_array() /var/www/html/core/vb/api/wrapper.php:199
[0x00007ffe30f2f5b0] __call() unknown:0
[0x00007ffe30f2f8e0] parsePage() unknown:0
[0x00007f0bcfc0e710] call_user_func_array() /var/www/html/includes/api/interface/collapsed.php:91
[0x00007f0bcfc0e538] callApi() /var/www/html/core/packages/mdawgtitletagsvb5/api/content/text.php:174
[0x00007ffe30f2fe00] mdawg_title() unknown:0
[0x00007f0bcfc0e3e0] preg_replace_callback() /var/www/html/core/packages/mdawgtitletagsvb5/api/content/text.php:85
[0x00007f0bcfc0e2b8] mdawg_get_titles() /var/www/html/core/packages/mdawgtitletagsvb5/api/content/text.php:50
[0x00007ffe30f30670] getDataForParse() unknown:0
[0x00007f0bcfc0e0c0] call_user_func_array() /var/www/html/core/vb/api/wrapper.php:216
[0x00007ffe30f30a20] __call() unknown:0
[0x00007ffe30f30d50] getDataForParse() unknown:0
[0x00007f0bcfc0def8] call_user_func_array() /var/www/html/includes/api/interface/collapsed.php:91
[0x00007f0bcfc0dcc0] callApi() /var/www/html/includes/vb5/template/nodetext.php:560
The URL in question will not load with this mod enabled and triggers a MySQL "gone away" message email to be sent from vBulletin.

I disabled the script, and the page is able to load successfully.
Reply With Quote
  #10  
Old 11-10-2017, 04:57 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We haven't seen any such problems, with this or prior versions of this Mod.

MySQL gone away is typically a server error, often resolved with re-configuration and re-allocation of resources on the server. I myself have this Mod running on four different vb5 (currently 5.3.3) forums, one with heavy traffic, one with medium and two with low, and no problems.

When you say php5, does that mean you are running PhP5? I am running 7.1.11 at present on four of my forums, and 7.1 on the other.
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 08:53 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.04587 seconds
  • Memory Usage 2,333KB
  • 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
  • (2)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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