Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Replace URL's With Page Title Details »
Replace URL's With Page Title
Mod Version: 1.1, by Jafo232 (Coder) Jafo232 is offline
Developer Last Online: Nov 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (30 votes - 4.60 average) Installs: 464
Released: 22 Aug 2007 Last Update: 22 Aug 2007 Downloads: 2090
Not Supported Uses Plugins  


This product will automatically take any incoming parsed link and display the title of that page instead of showing the URL.

Example:

http://www.vbulletin.org/forum/index.php

Is how URL's are displayed by default, after adding this plugin, automatically the page title of that URL will be displayed and linked:

VBulletin.org Forum

The only thing required to install is to upload the product file (see readme in attached file).

For those asking what the difference is between this mod, and a similar one, see my post here:

http://www.vbulletin.org/forum/showp...7&postcount=23

Limitations:
  • If the page has no title tag, only the URL will be displayed.
  • If the title tag does not appear within the first 1000 lines of the page, only the URL will be displayed. To keep the script from locking on URL's that go to large files or other large documents that could put a strain on the server and timeout a post, only the first 1000 lines are accepting when retrieving the page information.
  • Links on pages posted prior to adding this mod will not be updated.
Changelog:
  • Aug 22-2007: Fixed issue where functions might redeclare themselves, especially with shoutbox.
(note 49 downloads v1.0)

If you enjoy this mod, please nominate it for mod of the month (MOTM).

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.
Similar Mod
Mod Developer Type Replies Last Post
Replace Local Links With Title Jafo232 vBulletin 3.5 Add-ons 90 22 Aug 2007 04:10

  #16  
Old 22 Aug 2007, 11:45
993ti 993ti is offline
 
Join Date: Dec 2005
I'm using this one:
http://www.vbulletin.org/forum/showthread.php?t=146679
__________________
Twenteracingscene - Dutch car club (VB), Aibo forum (VB)
Streetcars (VB),
Reply With Quote
  #17  
Old 22 Aug 2007, 11:57
baghdad4ever baghdad4ever is offline
 
Join Date: May 2007
Real name: husam
Links on pages posted prior to adding this mod will not be updated
what do you mean by that

i have 50000 threads in my forum

if i install the hack

this 50000 will not be include??
Reply With Quote
  #18  
Old 22 Aug 2007, 12:22
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
How is this any different than: http://www.vbulletin.org/forum/showthread.php?t=146679 ?

Also, fopen() is a cludgy function to use and you'll find that many people will be unable to use it on shared hosting accounts (where fopen() is usually disabled in favor of the cURL() function).
Reply With Quote
  #19  
Old 22 Aug 2007, 13:01
Luky Luky is offline
 
Join Date: Oct 2006
Real name: Jay
This mod has already been made but..
Reply With Quote
  #20  
Old 22 Aug 2007, 15:41
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Originally Posted by United32 View Post
Huh, I have done that, changed two instances of convert_url_to_bbcode_callback_auto_title in Title-Replace.
Not using Shoutbox, I am not sure why there would be a conflict. It is possible that it may just not be compatible with it. You could try altering the order of the plugins execution.
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #21  
Old 22 Aug 2007, 15:42
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Originally Posted by rainyleaves View Post
Awesome mod.

But didn't work.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What's wrong?

Please fix.....
Thanks.
Without seeing a real time example of it not working for you, there is nothing to fix.
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #22  
Old 22 Aug 2007, 15:56
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Originally Posted by magnus View Post
How is this any different than: http://www.vbulletin.org/forum/showthread.php?t=146679 ?

Also, fopen() is a cludgy function to use and you'll find that many people will be unable to use it on shared hosting accounts (where fopen() is usually disabled in favor of the cURL() function).
Well there are several differences.

One being, there is only one plugin, and it uses one hook: url_to_bbcode.

Second, it uses Vbulletins built in method for matching URL's, instead of the one built into this hack.

If the user chooses not to parse links, during a reply or threadpost, then the hack won't override it as the hack you linked to appears to do.

I have never heard of a host disabling fopen, the only thing is when it used to open FILES, and safe mode is on, it will check the UID. However, I do not believe this applies when calling a remote document via http.

cURL on the other hand, must be installed on the system (well at least the libcurl package) whereas fopen is native.

What happens with the other hack when a user say, posts a link to the latest fedora distribution that is 2.7 GB? From what I see of the other hack, the server will attempt to download this entire package before parsing out a title (that it will never find). Of course, it will time out, or give you an exhausted memory error. My mod by contrast, only downloads the first 1000 lines of any document.

This also works with shoutbox or any other plugin that does not bypass the normal posting process, whereas the other only works with the newpost and and edit post hooks.

I hope this answers any of your questions.
__________________
Become a Lampwright today at www.lampwrights.com!

Last edited by Jafo232; 22 Aug 2007 at 17:30.
Reply With Quote
  #23  
Old 22 Aug 2007, 16:09
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Originally Posted by baghdad4ever View Post
what do you mean by that

i have 50000 threads in my forum

if i install the hack

this 50000 will not be include??
All that means is, links in those pages will not be transformed to show titles. The hack will only work on new or edited threads/posts.
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #24  
Old 22 Aug 2007, 16:36
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Real name: MrDby
Installed!!!!
Reply With Quote
  #25  
Old 22 Aug 2007, 16:41
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Real name: MrDby
UNINSTALL IT MESSED UP MY SHOUT BOX

Fatal error: Cannot redeclare convert_url_to_bbcode_callback_auto_title() (previously declared in //local/home//.net/forum/includes/functions_newpost.php(175) : eval()'d code:1) in //local/home//.net/forum/includes/functions_newpost.php(175) : eval()'d code on line 1
Reply With Quote
  #26  
Old 22 Aug 2007, 16:42
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Originally Posted by Mrdby View Post
UNINSTALL IT MESSED UP MY SHOUT BOX

Fatal error: Cannot redeclare convert_url_to_bbcode_callback_auto_title() (previously declared in //local/home//.net/forum/includes/functions_newpost.php(175) : eval()'d code:1) in //local/home//.net/forum/includes/functions_newpost.php(175) : eval()'d code on line 1
As stated in the limitations, may not be compatible with vbshoutbox..
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #27  
Old 22 Aug 2007, 16:51
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Real name: MrDby
http://www.vbulletin.org/forum/showthread.php?t=147346 oh ok..i use this one.
Reply With Quote
  #28  
Old 22 Aug 2007, 17:27
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Ok, resolved the issue with shoutbox. When you install, overwrite.
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #29  
Old 22 Aug 2007, 17:32
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Real name: MrDby
so shouldn't you update the verison?
Reply With Quote
  #30  
Old 22 Aug 2007, 17:46
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Originally Posted by Mrdby View Post
so shouldn't you update the verison?
The version is updated (1.1)..
__________________
Become a Lampwright today at www.lampwrights.com!
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 14:26.

Layout Options | Width: Wide Color: