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

Hmm, not sure if it is because we use the anonymiser plug in but no go at my site using 3.51
Reply With Quote
  #3  
Old 11-09-2005, 11:56 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure what that anonymiser plugin is, but make sure you enable this plugin, and that you are using LOCAL links. It will not link titles to other forums, just your own.
Reply With Quote
  #4  
Old 11-09-2005, 11:59 AM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should also note that it will not parse titles if someone links to a particular post in a thread, only if they link to the thread itself.
Reply With Quote
  #5  
Old 11-09-2005, 12:00 PM
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Location: United Kingdom
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this, will this replace links already posted before applying the plugin?
Reply With Quote
  #6  
Old 11-09-2005, 12:01 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michaelbenson
Thanks for this, will this replace links already posted before applying the plugin?
Yes it will. It does not modify any database data, it parses it after it is retrieved.
Reply With Quote
  #7  
Old 11-09-2005, 12:10 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The plug in defaults to Active. The link I added was the title thread of another internal forum. See my example here
http://www.cpfools.com/forum/showthr...1929#post11929
Reply With Quote
  #8  
Old 11-09-2005, 12:17 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C_P
The plug in defaults to Active. The link I added was the title thread of another internal forum. See my example here
http://www.cpfools.com/forum/showthr...1929#post11929
I think this is because of your anonymizer hack, because if you look at the link in that thread:

http://www.cpfools.com/forum/showthread.php?t=4281

The actual link is:

http://www.anonym.to/?http://www.cpfools.com/forum/showthread.php?t=4281

Which will mean nothing to the plugin. The plugin will search for the setting you have for Forum URL in your vbsettings and ignore all other URL's. The only way that MIGHT work, and I am not sure is if you change your Forum URL setting to:

http://www.anonym.to/?http://www.cpfools.com/forum
Reply With Quote
  #9  
Old 11-09-2005, 12:21 PM
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is what I suggested in first post. May need to add a *Won't work with anonymizer plug in.
Good mod though.
Reply With Quote
  #10  
Old 11-09-2005, 12:27 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by C_P
That is what I suggested in first post. May need to add a *Won't work with anonymizer plug in.
Good mod though.
I am not familiar with the anonymizer hack, but I modified the original plugin and attached it to the mod post up top. Try that one, it should work for you (vbulletin-plugins-anon.xml).
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 01:57 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.04425 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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