vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Replace URL's With Page Title (https://vborg.vbsupport.ru/showthread.php?t=155909)

Jafo232 08-21-2007 10:00 PM

Replace URL's With Page Title
 

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).


SuperTaz 08-22-2007 03:27 AM

I like this...Thanks. Installed

cynthetiq 08-22-2007 03:29 AM

what an interesting idea, thanks I'm going to sample it. installed

Jafo232 08-22-2007 03:30 AM

I have been testing it for a few days, let me know if you come up with any issues.. So far I have really not found any..

SuperTaz 08-22-2007 03:32 AM

Will do.

TTG 08-22-2007 05:05 AM

Quote:

Originally Posted by Jafo232 (Post 1322856)
I have been testing it for a few days, let me know if you come up with any issues.. So far I have really not found any..

Creates a problem if you're using an Ajax shoutbox

Message in shoutbox :-
Quote:

Fatal error: Cannot redeclare convert_url_to_bbcode_callback_auto_title() (previously declared in /home/X/X/forums/public_html/forums/includes/functions_newpost.php(175) : eval()'d code:1)

Jafo232 08-22-2007 05:46 AM

Quote:

Originally Posted by TTG (Post 1322880)
Creates a problem if you're using an Ajax shoutbox

You could rename the function in the plugin code and any call too it in either product.

Dave Hawley 08-22-2007 06:52 AM

Any chance of this working with 3.5.4? I tried installing but it bugged out :(

United32 08-22-2007 07:07 AM

I like this mod, and this is working except the vbshout! I'm not getting error messages but I cannot post messages in the shoutbox.

United32 08-22-2007 07:14 AM

Quote:

Originally Posted by Jafo232 (Post 1322889)
You could rename the function in the plugin code and any call too it in either product.

What exactly I should do? Is everithing using Ajax effected in some way?


All times are GMT. The time now is 02:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete