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

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
  #82  
Old 04-13-2016, 05:30 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work in vb 4.2.3 has anyone tried it?
Reply With Quote
  #83  
Old 04-13-2016, 08:06 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it works in 4.2.3
Reply With Quote
  #84  
Old 04-14-2016, 03:04 AM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to import the xml, I get this error:

The following dependencies were not met:
This product is not compatible with version 4.2.3 of vBulletin. (Compatible starting with 3.6.0 / Incompatible with 4.0.0 alpha 1 and greater).

By the way I am running PHP 5.5 on that server, does that matter?
Reply With Quote
  #85  
Old 04-14-2016, 03:30 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open the product .XML file, and near the top you will find a section something like:

HTML Code:
	<dependencies>
		<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="5.0.0" />
	</dependencies>
Change the maxversion to 5.0.0, and then try importing it again.
Reply With Quote
Благодарность от:
babyv0x
  #86  
Old 04-14-2016, 04:42 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like a charm! it voiks.

One thing I noticed that is that on the old posts, simply editing/saving does not force the mod to convert the URL to external title - must click to edit post, cut out the URL, post it in a web browser, copy it again, and re-post it.
Reply With Quote
  #87  
Old 04-15-2016, 11:29 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdawg View Post
Like a charm! it voiks.

One thing I noticed that is that on the old posts, simply editing/saving does not force the mod to convert the URL to external title - must click to edit post, cut out the URL, post it in a web browser, copy it again, and re-post it.
Might just need to add an extra line or character to the post so the cache is updated.

However if code is already:


[url=http://www.google.com]www.google.com[/url] it will not fetch b/c it already has a title.

Code needs to be [url]http://www.google.com[/url] or just [url]www.google.com[/url] for it to work.

Reply With Quote
Благодарность от:
babyv0x
  #88  
Old 04-16-2016, 05:59 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has something to do with that if the URL has already become a hyperlink, the mod does not recognize it. So after I click to edit a post, I cut out the URL (hyperlink), post it in a browser, then re-post it back into the post in a form where it is no longer a hyperlink and then save it. Then the mod recognizes it and converts to an external title.

Perhaps this is exactly what you are saying in a less technical manner; I don't know.
Reply With Quote
  #89  
Old 06-29-2016, 09:01 AM
webnsn webnsn is offline
 
Join Date: Oct 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HI

I have added and updated to my Mobile site

Demo - www.wikinewforum.com
Reply With Quote
  #90  
Old 12-01-2016, 05:58 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hope I did not miss it and this has already been noted somewhere: Should you have any issues with non-standard characters and character encoding (as I did in my German language forum with ???? and the like), this may be of use to you:

In the plugin "Title_Replace" at hook "url_to_bbcode"

find:
PHP Code:
return "[url=\"" $text[2] . $text[4] . "\"]" preg_replace("/\&.+\;/"''$title[1]) . "[/url]"
add before:
PHP Code:
$title[1] = utf8_decode($title[1]); 
Simple, but effective
Reply With Quote
  #91  
Old 01-01-2017, 03:13 PM
Avimelech Avimelech is offline
 
Join Date: Jul 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not getting this to work on 4.2.3 Patch Level 2. Links included in posts just show up normally with the URL and ellipses. (I have included all the mods in the thread.)

I also tried the ZIP version (with the maxversion change alone) and no dice.

Any advice?
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 07:43 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.09592 seconds
  • Memory Usage 2,342KB
  • 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_html
  • (2)bbcode_php
  • (1)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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete