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
  #12  
Old 11-09-2005, 12:30 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New plug in with Anon add-in worked like a charm! Clicked install
Reply With Quote
  #13  
Old 11-09-2005, 12:54 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks m8! This looks awsome!!
Reply With Quote
  #14  
Old 11-09-2005, 12:56 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Btw did you start coding the plugin from the me irc hack?
Reply With Quote
  #15  
Old 11-09-2005, 01:00 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loukrhtia
Btw did you start coding the plugin from the me irc hack?
Yeah, I was tinkering with that hack because it is broken (see my post in that thread). It gave me the inspiration for writing this hack.
Reply With Quote
  #16  
Old 11-09-2005, 01:02 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for a 3rd post but this plugin has quite a lot of bugs...
1. If you want another text displayed and not the title it doesn't appear, only the link does.
2. Sometimes it does not parse the URL

for these reasons I will disable the plugin but I will not click uninstall cause I hope these will be fixed and I want to be notified
Reply With Quote
  #17  
Old 11-09-2005, 01:03 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232
Yeah, I was tinkering with that hack because it is broken (see my post in that thread). It gave me the inspiration for writing this hack.
Lol, I did the same thing with another hack of mine (the custom smilie bbcode) so I remembered the variables, lol. Gotcha!
Reply With Quote
  #18  
Old 11-09-2005, 01:03 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loukrhtia
Sorry for a 3rd post but this plugin has quite a lot of bugs...
1. If you want another text displayed and not the title it doesn't appear, only the link does.
2. Sometimes it does not parse the URL
Can you either post or PM me an example? I cannot replicate what you mean..
Reply With Quote
  #19  
Old 11-09-2005, 01:09 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jafo232
Can you either post or PM me an example? I cannot replicate what you mean..
Write for example "blah blah" and then select it, click the url button and enter the thread url. If you post you'll see that "blah blah" is lost and replaced with the link of the thread.
As for the other bug I don't know when it happens It seems to occur randomly but quite often...
Reply With Quote
  #20  
Old 11-09-2005, 01:11 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loukrhtia
Write for example "blah blah" and then select it, click the url button and enter the thread url. If you post you'll see that "blah blah" is lost and replaced with the link of the thread.
As for the other bug I don't know when it happens It seems to occur randomly but quite often...
Are you using the anonymizer version? I just tried highlighting text, and entering the link, and it works fine for me.
Reply With Quote
  #21  
Old 11-09-2005, 01:12 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Otherwise my guess is, it is conflicting with another plugin you have that uses the postbit_display_complete hook..
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 07:29 PM.


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.06777 seconds
  • Memory Usage 2,306KB
  • 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
  • (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
  • (3)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