Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
External Link Titles, retrieve descriptive titles for URLs Details »
External Link Titles, retrieve descriptive titles for URLs
Mod Version: 1.1.1, by magnus (Member) magnus is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (17 votes - 4.71 average) Installs: 172
Released: 07 May 2007 Last Update: 24 Jul 2007 Downloads: 1107
Not Supported Uses Plugins  

Keywords: SHOWTHREAD, external, link, titles, URLs, SEO

Description:
Retrieves descriptive titles for external posted links. Allows for better link recognition and, in theory, could help increase page SEO.

Details:
I recall this being requested somewhere, so I decided to take a stab at it. This is yet another feature offered in vBSEO.

For those unaware of what this actually does.. by default, when a URL is posted without a description it looks like:
http://www.vbulletin.com

With this modification enabled, it will now look like:
vBulletin.org Forum - The Official vBulletin Resource!

Nicer, eh?



Installation:
  1. Download and import product-linktitles.xml via the Product Manager.
  2. Enable the modification via AdminCP > vBulletin Options > External Link Titles Options (it is disabled by default)
  3. ???
  4. Profit!

Notes:
There's really no magic here, it polls for titles using the cURL() function. If for some reason your host does not have cURL() enabled, you're out of luck.

From time to time you may notice the occasional link that does not get titled -- this is due to either the fact that the url is not active or it either timed out waiting for a response. By default, the system will wait for 5 seconds before timing out. If you wish to modify the timeout, you may do so via the AdminCP.



Comments:
As with all my hacks, this modification is provided free of charge. However, if you find this product useful and have money burning a hole in your pocket, feel free to make a small donation, I won't mind.. really.

Version History:
  • 1.0.0 - Initial release, here's to hoping...
  • 1.1.0 - Added the ability to blacklist specific domains from having link titles retrieved (configurable via the AdminCP)
  • 1.1.1 - Wrapped returned titles in html_entity_decode(); to return properly decoded HTML characters.

Currently Known Bugs:
  • None

* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 08 May 2007, 06:56
bollie's Avatar
bollie bollie is offline
 
Join Date: Jun 2006
Location: Zele (Belgium)
Real name: ivan
Nice
Reply With Quote
  #17  
Old 08 May 2007, 08:58
dizzy100 dizzy100 is offline
 
Join Date: Mar 2006
Excellent addition and works perfectly. Many thanks.
Reply With Quote
  #18  
Old 08 May 2007, 11:33
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Quantnet.org View Post
Installed and enabled the hack. Yes is checked.
Server has curl enabled.

When i post something new and click on review, I have this error at the top of the page

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /includes/functions_newpost.php(360) : eval()'d code on line 56
You're running PHP in Safe Mode.
Reply With Quote
  #19  
Old 08 May 2007, 13:03
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Update:
v1.1.0
  • Added the ability to blacklist specific domains from having link titles retrieved (configurable via the AdminCP)


This is the only thing that has changed. If you don't care about blacklists, you don't have to upgrade.
Reply With Quote
  #20  
Old 08 May 2007, 19:17
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Real name: Antonio
Great product, thanks *installed*
Reply With Quote
  #21  
Old 09 May 2007, 05:26
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Real name: Peter
I've problem with special characters like & in the title.

Example:
http://www.my-vb.de/board/ankuendigungen-my-vb-teams
=>
Ankündigungen des my-vB Teams - my-vB - Addons & Styles - Made in Germany


Regards,

Stoebi
Reply With Quote
  #22  
Old 09 May 2007, 22:37
Seb@'s Avatar
Seb@ Seb@ is offline
 
Join Date: Aug 2005
any demo or screenshot ?
Reply With Quote
  #23  
Old 09 May 2007, 23:16
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by Seb@ View Post
any demo or screenshot ?
Screenshot of what???

All it does is change a link, for example you put www.vbulletin.com, it changes it to vBulletin - Home or something like that.
Reply With Quote
  #24  
Old 09 May 2007, 23:20
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Seb@ View Post
any demo or screenshot ?
If the original description wasn't enough, sadly a demo or screenshot wouldn't help either.
Reply With Quote
  #25  
Old 09 May 2007, 23:20
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Originally Posted by Stoebi View Post
I've problem with special characters like & in the title.

Example:
http://www.my-vb.de/board/ankuendigungen-my-vb-teams
=>
Ankündigungen des my-vB Teams - my-vB - Addons & Styles - Made in Germany


Regards,

Stoebi
Noted. I'll take a look at that, thanks.
Reply With Quote
  #26  
Old 10 May 2007, 23:32
KiD0M4N KiD0M4N is offline
 
Join Date: Feb 2007
My friend Ad1tya had requested this and here it is. Mod released. Helluva forum guys

Installed and working like charm.
Reply With Quote
  #27  
Old 13 May 2007, 02:19
staff80 staff80 is offline
 
Join Date: Oct 2006
seems it doesn't work on 3.6.6. At least for me. It's enabled and nothing changed.
Reply With Quote
  #28  
Old 13 May 2007, 03:46
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by staff80 View Post
seems it doesn't work on 3.6.6. At least for me. It's enabled and nothing changed.
Works perfectly fine for me
Reply With Quote
  #29  
Old 13 May 2007, 05:47
Surviver's Avatar
Surviver Surviver is offline
 
Join Date: Feb 2006
Real name: Julian
I would use the function fetch_censored_text() for the title

Greetings Surviver
__________________
vBPoint
Reply With Quote
  #30  
Old 15 May 2007, 01:09
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Originally Posted by Quantnet.org View Post
Installed and enabled the hack. Yes is checked.
Server has curl enabled.

When i post something new and click on review, I have this error at the top of the page

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /includes/functions_newpost.php(360) : eval()'d code on line 56
I get similar error and PHP safe mode is not on:
safe_modeOffOff
safe_mode_gidOffOff
Here is my error:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /includes/functions_newpost.php(360) : eval()'d code on line 30
and after i resolves back to thread it was posted in, my http://www.vbulletin.org displays this as the hyperlink:
301 Moved Permanently link test
Now, this could be do the he anonym modification we have installed. If so, we cannot install this but a nice option none the less.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:58.

Layout Options | Width: Wide Color: