Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Title Tag Fetcher (Auto Replace URL with Titletag) Details »»
Title Tag Fetcher (Auto Replace URL with Titletag)
Version: 1.5c, by exportforce exportforce is offline
Developer Last Online: Jul 2016 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 08-30-2008 Last Update: 08-31-2008 Installs: 89
Uses Plugins
 
No support by the author.

Hi there.

Since I needed a new URL Autotext Generator, I always loved the prework of Jafo232 and his Replace URL's With Page Title.
I just did some modifications on this Mod and for some forseeing mistypings, I also leaned out the checking of the "www" if given.

For those who don't know that mod it's quite simple:
If you post an URL in the Forums, this Mod just loads the <title>XXXXXX</title> out of the linked website.

The title won't be read if the following conditions occur:
  • The linked page simply has no <title>-Tag
  • The page is down or the <title>-Tag is not being found within the first 60 seconds
  • The <title>-Tag is not being found within the first 1000 lines of code.
Installation:
Just import the XML via the ACP and thats all.

Uninstall:
Just kill it out of your ACP.

01.09.2008 Update
Fixed Typo which got us a parse error

Download Now

File Type: zip Title Tag Replacer.zip (1.4 KB, 812 views)

Show Your Support

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

Comments
  #102  
Old 01-28-2017, 07:55 AM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod has the effect of recording your own server as a guest on your forum which results in some odd behaviour such as listing your server in WOL and not having the ability to tag forum urls where guests do not have viewing permissions.

So, is this expected behaviour; should the code be modified to get around it? If so, how?
Reply With Quote
  #103  
Old 05-07-2017, 05:12 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, correct Rhodium, must have
PHP set for
allow_url_fopen = On

This mod is running okay now, once I made that PHP adjustment, in my 4.2.3 forum running PHP 5.6.30

Note: for any URLs that were not converted (during a period when you had allow_url_fopen = Off ), you must go back in and edit those posts AND remove the hyperlinks from the non-coverted URLs before re-saving the posts. Easiest way to do this is:
1. Click, Edit Post
2. Cut the URL that has not been converted
3. Paste it into a new browser window
4. Copy that URL that has been posted in that browser window
5. Paste the URL back into the post.
6. Save

https://vborg.vbsupport.ru/showpost....3&postcount=87

Now the mod will have created the title for the post. For some reason, edit and save does nothing unless you remove the hyperlink from the URL in question (one that has not been converted).
Reply With Quote
  #104  
Old 05-12-2017, 02:33 AM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod will not work with vb 4.2.5 IF running php 7. It will work under PhP 5.6

Quick replies while running this mod in php 7, go blank.
Reply With Quote
  #105  
Old 05-12-2017, 03:42 AM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Running fine for me with 4.2.5 on PHP 7.1.
Reply With Quote
  #106  
Old 05-12-2017, 04:02 AM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you made posts? Or threads? New ones I mean? Then try making a QUICK REPLY to the post, within the thread. Then try an Advanced Reply to the post, within the thread.

Also, I have a phpinfo.php file loaded in my directory to verify which exact version of PhP I am running, and an .htaccess file that was forcing PhP 5.6 for this directory only, for my vb4 forum only. I commented out the code in that .htaccess to revert to PhP 7, and that was when I determined these issues with this mod.

Issues I had were with PhP 7.0.18 if that makes a difference.
Reply With Quote
  #107  
Old 05-12-2017, 11:49 AM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdawg View Post
Have you made posts? Or threads? New ones I mean? Then try making a QUICK REPLY to the post, within the thread. Then try an Advanced Reply to the post, within the thread.

Issues I had were with PhP 7.0.18 if that makes a difference.
Yes; result below:
Reply With Quote
  #108  
Old 05-12-2017, 12:41 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know what your post above means. The URLs just direct me back to my own post within this thread. I meant, have you done that within your own vb4 forum that verifiably is running PhP 7 (such as verified with a phpinfo.pho file) and with this mod running.
Reply With Quote
  #109  
Old 05-12-2017, 12:51 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It means it does work with PHP 7.1.

He's showing you examples: the notification email shows that he entered URLs and his post above demonstrates that they were converted to titles.
Reply With Quote
  #110  
Old 05-13-2017, 12:44 AM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well for whatever reasons, when I toggle this mod here, and this other mod (Automatic Tagger)
https://vborg.vbsupport.ru/showpost....&postcount=459
on and off, my vb 4 php 7 forum has issues, namely that posts made are invisible other than at most the title of a post on an advanced reply, and the issues go away when I disable those two mods.

These are the PhP errors from the error_log :

-May-2017 19:51:40 America/Los_Angeles] PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/*****/public_html/*****.com/forums/includes/class_core.php on line 1424
[12-May-2017 19:54:32 America/Los_Angeles] PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 70
[12-May-2017 19:54:34 America/Los_Angeles] PHP Deprecated: Function split() is deprecated in /home/*****/public_html/*****.com/forums/includes/functions_autotaggerfromcontentandtitle.php on line 85
[12-May-2017 19:56:24 America/Los_Angeles] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 68
[12-May-2017 19:56:24 America/Los_Angeles] PHP Fatal error: Call to undefined function split() on line 85 in /home/mdawg/public_html/truepassage.com/forums/includes/functions_autotaggerfromcontentandtitle.php
in /home/mdawg/public_html/truepassage.com/forums/vb/vb.php on line 286
[12-May-2017 19:56:24 America/Los_Angeles] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/mdawg/public_html/truepassage.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 68

Those errors are with both mods running.

With autotagger off, but external title fetcher ON (under php 7):

[12-May-2017 20:08:35 America/Los_Angeles] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/*****/public_html/*****.com/forums/includes/functions_newpost.php(196) : eval()'d code on line 68
Reply With Quote
  #111  
Old 05-13-2017, 01:06 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdawg View Post
Well for whatever reasons, when I toggle this mod here, and this other mod (Automatic Tagger)
https://vborg.vbsupport.ru/showpost....&postcount=459
on and off, my vb 4 php 7 forum has issues, namely that posts made are invisible other than at most the title of a post on an advanced reply, and the issues go away when I disable those two mods.
I had conflicts with Automatic Tagger even before vBulletin 4.2.5 and with PHP 5.x.

What happens if you disable that one and keep Title Tag Fetcher installed?
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 09:01 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.04839 seconds
  • Memory Usage 2,334KB
  • 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
  • (4)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
  • (1)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