Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Replace URL's With Page Title Details »»
Replace URL's With Page Title
Version: 1.1, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 08-21-2007 Last Update: 08-21-2007 Installs: 467
Uses Plugins
 
No support by the author.


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

Example:

https://vborg.vbsupport.ru/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:

https://vborg.vbsupport.ru/showpost....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).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Avimelech

Comments
  #22  
Old 08-22-2007, 02:42 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rainyleaves View Post
Awesome mod.

But didn't work.
HTML Code:
[url="http://****/forums/showthread.php?t=22758"]http://****/forums/showthread.php?t=22758[/url]
What's wrong?

Please fix.....
Thanks.
Without seeing a real time example of it not working for you, there is nothing to fix.
Reply With Quote
  #23  
Old 08-22-2007, 02:56 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus View Post
How is this any different than: https://vborg.vbsupport.ru/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.
Reply With Quote
  #24  
Old 08-22-2007, 03:09 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #25  
Old 08-22-2007, 03:36 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!!!!
Reply With Quote
  #26  
Old 08-22-2007, 03:41 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #27  
Old 08-22-2007, 03:42 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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..
Reply With Quote
  #28  
Old 08-22-2007, 03:51 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=147346" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=147346</a> oh ok..i use this one.
Reply With Quote
  #29  
Old 08-22-2007, 04:27 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, resolved the issue with shoutbox. When you install, overwrite.
Reply With Quote
  #30  
Old 08-22-2007, 04:32 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so shouldn't you update the verison?
Reply With Quote
  #31  
Old 08-22-2007, 04:46 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mrdby View Post
so shouldn't you update the verison?
The version is updated (1.1)..
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 12:16 AM.


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.05791 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete