Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Word Links (Turn words into links) by BOP5 Details »
Word Links (Turn words into links) by BOP5
Mod Version: 2.0, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Dec 2020 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (12 votes - 4.83 average) Installs: 66
Released: 16 May 2011 Last Update: 28 Jul 2012 Downloads: 376
Supported Uses Plugins Translations  

My VB4 Version of this mod won the June 2011 Mod-of-the-Month!! This is virtually an identical mod- thank you for your votes!

The purpose of this mod is to automatically turn keywords or phrases you specify into links. You set a list of keywords and a list of URLs to link them to and let the mod do the rest.

Demo Link

There are many options as you can see in the screenshot. You can choose to include the "nofollow" attribute, choose to open links in a new tab, choose to match whole words only or not, specify specific forums, enable in social groups and visitor messages, and disable completely for selected usergroups.

Version: 2.0
  • New in 0.91: Limit the number of links created per keyword per post.
  • New in 0.92: Use CSS to customize the look of links created by this mod.
  • New in 0.93: Linked words now retain the same case as they were originally typed. Also a new option to specify whether linked words are case sensitive or not.
  • New in 0.94: The <span> tags for use with custom CSS are now optional. They can be turned off to prevent unnecessary HTML generation if not using custom CSS. Also bug & conflict fix.
  • New in 0.95: Enable or disable in PMs.
  • New in 0.96: Should fix conflicts with AME mod, restores same case change in 0.93.
  • New in 1.0: Additional code to prevent unintended linking. No new features.
  • New in 1.1: Set approximate number of max links per page.
  • New in 1.2: Fixed bug when Ampersands (&) were used in keywords.
  • New in 1.3: Added optional notice on posts with links and associated phrase.
  • New in 1.31: Bug-fix. Somewhere around version 1.0 "Match Whole Words Only" stopped working. It is now fixed.
  • New in 1.5: Two new features: 1) You can now use a csv data file for your links (and advanced features) if you prefer and 2) You can use a custom user profile field to allow users to disable the mod individually if you choose.
  • New in 2.0: New condensed code. New option for custom regex code.

Example... If someone types:

"I bought it on Amazon."

This mod can auto convert it to:

"I bought it on Amazon.

And you would presumably put your Amazon affiliate code, if you had one, in the link.

NOTE: This mod does not alter the actual posts or the database. Disabling or uninstalling the mod will remove all links.

There is a VB3 and VB4 version of this mod, please download the correct version.

Full instructions in zip file.

*NEW IN 0.92*

As of version 0.92 all links created are within a <span> tag of class "boplink." This allows you to customize the look of the links created by this mod ussing CSS.

In your "Additional CSS" you can add the following CSS code and customize it to your liking for each of your styles. This is OPTIONAL. If you do not add this CSS links will retain the same style as existing links in your posts.

Sample CSS:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This CSS will highlight the links in yellow and turn the text to red and bold when mouse-overed.

In VB 3.x Additional CSS is accessible via Style Manger -> All Style Options, scroll down to Additional CSS Definitions. Use the lower box to customize the CSS uniquely for each style.

This mod uses functions that may not work on non-latin (multibyte/unicode) characters. I'm sorry but it is only tested/working on English and other latin based alphabets.

Please Mark as Installed if you use this.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	wordlinks_phrase.jpg
Views:	479
Size:	73.2 KB
ID:	130049   Click image for larger version

Name:	wordlinks_vb3.jpg
Views:	773
Size:	103.2 KB
ID:	130050   Click image for larger version

Name:	user_profile_field_setup.jpg
Views:	439
Size:	93.2 KB
ID:	130080   Click image for larger version

Name:	word_links_free_vb4_settings_full.jpg
Views:	240
Size:	54.2 KB
ID:	140155  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Word Links FREE (Turn words into links) by BOP5 BirdOPrey5 vBulletin 4.x Add-ons 393 11 Dec 2020 22:29

  #106  
Old 26 Nov 2012, 15:06
cleonard cleonard is offline
 
Join Date: Sep 2011
Updating links in previous posts

I just installed this on one of my forums and while it is creating links on new posts, older posts (my forum has nearly 10 years of content) remain unlinked. Is there a way to apply this tool to older posts or an add-on to do so?

Thanks!
Reply With Quote
  #107  
Old 27 Nov 2012, 01:57
al2thero al2thero is offline
 
Join Date: Aug 2008
i like it

thank u
Reply With Quote
  #108  
Old 28 Nov 2012, 23:33
yahsuah yahsuah is offline
 
Join Date: Jul 2005
Thanks for this mod. It is working very well in my forum.
Reply With Quote
  #109  
Old 30 Nov 2012, 00:17
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by cleonard View Post
I just installed this on one of my forums and while it is creating links on new posts, older posts (my forum has nearly 10 years of content) remain unlinked. Is there a way to apply this tool to older posts or an add-on to do so?

Thanks!
1) Please "Mark as Installed"

2) This mod works on all posts, both old and new- If it is not working on old posts on your forum you must have some sort of separate caching system installed- clearing the cache should get it working on all old posts.

If it was just the vBulletin post cache it would already be working.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #110  
Old 11 Jan 2013, 02:45
muhakeme's Avatar
muhakeme muhakeme is offline
 
Join Date: Jan 2008
I have mod " Geek auto linker " . I had about 50000 URL and my CPU was very high. How is this mod about CPU?
__________________
www.muhakeme.net
Reply With Quote
  #111  
Old 12 Jan 2013, 15:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I don't have data to compare. I've seen several hundred links work without issue.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #112  
Old 05 Jan 2014, 00:41
RSNF's Avatar
RSNF RSNF is offline
 
Join Date: May 2010
Is there a way to get this to ignore anything in a BB tag?
Reply With Quote
  #113  
Old 03 Apr 2015, 07:52
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
How about making this for vb 5 - vb5 is the wave of the future!

I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move.
Reply With Quote
  #114  
Old 03 Apr 2015, 22:37
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by RSNF View Post
Is there a way to get this to ignore anything in a BB tag?
Not really, it never sees the bbcodes, it works on the test that had already been converted to HTML.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #115  
Old 03 Apr 2015, 22:38
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by mdawg View Post
How about making this for vb 5 - vb5 is the wave of the future!

I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move.
I have done some work on a VB5 version, it is not out of the question.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #116  
Old 06 Apr 2016, 11:24
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Hello,

Thanks for the mod. It seems I need a custom regex for this. Matching the <i> tags.

I also noticed if I use Turkish characters such as "Ş" in the phrase, the HTML output becomes invalid and I see the post text as font=5 ... etc.

Last edited by NeutralizeR; 07 Apr 2016 at 01:38.
Reply With Quote
  #117  
Old 07 Apr 2016, 01:33
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Changing

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

fixed the issue with Turkish characters but not sure If it is safe to remove htmlspecialchars though I won't use &amp; < > etc. in my phrases.

<b> <i> <a> format has problems
__________________
MsXLabs Forum

Last edited by NeutralizeR; 07 Apr 2016 at 01:39.
Reply With Quote
  #118  
Old 07 Apr 2016, 10:14
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Sorry, am not able to test or fix it for non-English characters.

Removing htmlspecialcharacters may be causing the issue with the tags, but if you want to try a new custom regex try:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

However I don't know if it will work.

The default to go back to if it doesn't work is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #119  
Old 07 Apr 2016, 12:11
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Originally Posted by BirdOPrey5 View Post
Sorry, am not able to test or fix it for non-English characters.

Removing htmlspecialcharacters may be causing the issue with the tags, but if you want to try a new custom regex try:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

However I don't know if it will work.

The default to go back to if it doesn't work is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thanks, It worked. Not sure what "</c>" stands for though...

I fixed the problem with Turkish characters.

Added this function:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replaced the related line with this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replaced the $bopwd with this in the regex:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now "Match Whole Words Only" works for words beginning and ending with Turkish characters.

I'm currently using the CSV file and I will have about 200-250 words when I am done with the full list. xCache and VB Optimise are enabled, did not notice any performance issues so far (with 57 words). Do you think using the admincp option is faster?
__________________
MsXLabs Forum
Reply With Quote
  #120  
Old 07 Apr 2016, 13:59
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I don't think it would be a noticeable difference. In theory I suppose the admincp option would be slightly faster but also require slightly more memory use on every page load regardless if word links were being used on the page or not.

The setting was never meant to be faster than the other, juset easier for people dealing with longer lists of keywords/links.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:16.

Layout Options | Width: Wide Color: