Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Replace Local Links With Title Details »»
Replace Local Links With Title
Version: 1.00, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-08-2005 Last Update: Never Installs: 70
 
No support by the author.

Please note, this hack is NO LONGER SUPPORTED. I have built a new mod that accomplishes the same thing but the method is completely different. To avoid confusion, I just created a new mod. You can find the new mod here:

https://vborg.vbsupport.ru/showthread.php?p=1322843










CHANGELOG:

1.01

Added support for threads with the newpost and lastpost attributes in the query string.

Made matches less greedy.

-----------------------------------

I wish I could come up with a better name for this plugin..

Basically what this does is if someone posts a link in a thread that links to a thread in your forum, it will replace the link text with the title of that thread.

For example:

https://vborg.vbsupport.ru/showthread.php?t=83252

Would automatically be displayed as:

Hacks should be released in ONE ZIP file please

This is for version 3.5.x and should work for future versions unless they move hooks around.

As far as support, I will reply to this thread when I can.

Installation is simple, go to your admin cp, click plugin system, click download/upload plugin and upload the attached plugin.

NOTE: The second xml file (vbulletin-plugins-anon.xml) is ONLY needed for the anonymizer hack. If you have that hack installed, then use the second file, otherwise, use the first. Only install the second file IF you use the anonymizer hack. It is either or, don't install both!

Also note if you have other plugins that alter links other than the anonymizer, such as mods that make your links look like html pages, or in anyway alters links entered into posts, then this will probably not work for you.

The only other thing you should do after that is CLICK INSTALL.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

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

Quote:
Originally Posted by croportal
Because you are using another hack to make your pages look like html pages. It conflicts with the hack.

This will only parse links that look like so:

http://yourdomain.com/path/to/your/f...ead.php?t=3123

In otherwords, if you have another plugin that parses or in any other way alters links, this plugin will not work.
Reply With Quote
  #33  
Old 11-09-2005, 09:41 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most of the problems people seemed to be having was when using goto=lastpost or goto=newpost attributes in the query string, which the original hack would not parse.

Added support for these in the hack and speeded up the match routine to make them more greedy.

If you have version 1.0, just uninstall that plugin, and reinstall 1.01.
Reply With Quote
  #34  
Old 11-09-2005, 10:01 PM
Casperddc Casperddc is offline
 
Join Date: Jun 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put it on the boards this morning - thanks!
Reply With Quote
  #35  
Old 11-14-2005, 10:05 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should just be noted that if you have a hack that already alters links in some sort of way, this might not work for you (except anonymizer).
Reply With Quote
  #36  
Old 11-29-2005, 05:42 AM
revlisoft revlisoft is offline
 
Join Date: Aug 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a fix available for when there are 2 links in the same post? When that happens the following link gets it's title replaced too.
Reply With Quote
  #37  
Old 11-29-2005, 07:49 PM
AshokForums.com AshokForums.com is offline
 
Join Date: Nov 2005
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow brilliant!! Thanks.. just what i needed!
Reply With Quote
  #38  
Old 11-30-2005, 12:53 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea! Thanks.
Reply With Quote
  #39  
Old 11-30-2005, 09:31 AM
bplinson bplinson is offline
 
Join Date: Jul 2004
Location: Ohio
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Working Good
Reply With Quote
  #40  
Old 11-30-2005, 03:09 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm, it doesn't show in the plugins system, what name should it have, Replace Local Links With Title ?
Reply With Quote
  #41  
Old 12-01-2005, 04:19 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ramsesx
Hm, it doesn't show in the plugins system, what name should it have, Replace Local Links With Title ?
And is there any settings for it? Don't see it either!
Reply With Quote
Reply


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 10:20 PM.


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.15130 seconds
  • Memory Usage 2,303KB
  • 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
  • (2)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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