Download and import product-linktitles.xml via the Product Manager.
Enable the modification via AdminCP > vBulletin Options > External Link Titles Options (it is disabled by default)
???
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.
[hr]-[/hr] 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!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I get similar error and PHP safe mode is not on:
safe_modeOffOff
safe_mode_gidOffOff
Here is my error:
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.
Well, according to the error:
Quote:
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
It's either one of 2 things. You verified safe mode isn't enabled, so there must be an open_basedir set in functions_newpost.php. You'll need to check for plugins that hook into your the file, and see if there's a way to resolve the error.
The reason the link shows as "301 Moved Permanently" is because vBulletin.org has a redirect to the portal page. The CURLOPT_FOLLOWLOCATION option tells the modification to follow all redirect tags until the end. Since you can't use that option, it stops on the first try.
You can still use the modification, you would simply have to disable CURLOPT_FOLLOWLOCATION and occasionally be stuck with links such as "301 Moved Permanently" in such cases.