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: Jun 2019 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: 366
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:	467
Size:	73.2 KB
ID:	130049   Click image for larger version

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

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

Name:	word_links_free_vb4_settings_full.jpg
Views:	229
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 386 22 May 2018 08:16

  #46  
Old 12 Jun 2011, 18:44
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
No problem. thanks for the update, glad it is working.

It looks like I'll need to do an update for it to work with ampersands (&) since S&B doesn't seem to be working for me. Curious if you can see if it's working for you.

Also I'm going to download the skimlinks plugin and confirm one way or the other if the mods will work together in plugin mode. In Javascript mode it will work for sure.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #47  
Old 12 Jun 2011, 18:52
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Originally Posted by BirdOPrey5 View Post
Wow... for a list like that please confirm you are using "Match whole word only" is YES and "Case Sensitive?" is yes. That should prevent any issues.

I did notice the mod is not matching "S&B" so I will look into that issue.
I added the S&B entry back in, but you are correct. For some reason, it doesn't show up as a link. To my knowledge, this is the only entry that's not working now. See http://www.recumbentriders.org/forum...ead.php?p=5128 for an example.
Reply With Quote
  #48  
Old 12 Jun 2011, 18:59
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Spinball View Post
Skimlinks uses two methods of operation - the Javascript and a plugin. We use the plugin.
I have a concern that the plugin might clash with this mod.
Spinball, are you talking about the "SkimWords" feature of SkimLinks? If so it sounds like it does pretty much the same thing as this mod.

Unfortunately it would seem without a Skimlinks account I can't do much testing.

I hope you consider testing the mod. This mod makes no changes to the database so disabling or removing it will immediately undo any changes it makes to posts.

If there is a conflict it may be a fairly easy fix such as changing the execution order of the plugins.

Originally Posted by adwade View Post
I added the S&B entry back in, but you are correct. For some reason, it doesn't show up as a link. To my knowledge, this is the only entry that's not working now. See http://www.recumbentriders.org/forum...ead.php?p=5128 for an example.
Yeah I pasted all your words and links into my test site and only S&B is not linking, I'm sure it's a special character issue, I will work on it and have a fix soon I expect.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #49  
Old 12 Jun 2011, 19:19
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Quick Question...

In the post at http://tinyurl.com/3kptwls the fifth line down ends by saying: He rides a TerraTrike by WizWheels.

WizWheelz is one of my words, but it doesn't show up as a LINK in this case. Is that because I have Match Whole Words Only set to YES -and- there is a period following the word in this case?
Reply With Quote
  #50  
Old 12 Jun 2011, 20:09
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by adwade View Post
Quick Question...

In the post at http://tinyurl.com/3kptwls the fifth line down ends by saying: He rides a TerraTrike by WizWheels.

WizWheelz is one of my words, but it doesn't show up as a LINK in this case. Is that because I have Match Whole Words Only set to YES -and- there is a period following the word in this case?
Your list of keyword was Wizwheelz with a "Z" - that post is Wizwheels with an "S."

Whole words will work with periods, exclamation points, spaces, new lines- basically any normal punctuation that would end a word.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #51  
Old 13 Jun 2011, 01:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
adwade - I have figured out the "S&B" issue is because the & is being turned into the HTML code for an "&."

I will update the mod, probably tomorrow, but for now if you want change your keyword:


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.

And it should link S&B as expected.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #52  
Old 13 Jun 2011, 19:54
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Updated to Version 1.2

Fixed bug when ampersand (&) and other special HTML characters were used in keywords. Keywords with these characters (ex: S&B) will work as expected.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #53  
Old 14 Jun 2011, 12:38
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Another couple of points.
We would want some transparency to our visitors. Every time a link is added, we would want some kind of indication of that. Otherwise people whose posts have been changed will complain that it will look like they posted the link and therefore endorse it.
Could we have a title attribute of something like
Shopping links added by AVForums
?

Also it would be nice if we could track the number of added links and clicks some how.
My ad guy suggested inserting a 1x1 pixel also.

Have you considered any of these ideas?
__________________
AVForums.com the UK's largest audio visual home consumer electronics forums. Now using Xenforo because vB5 is not suitable for large forums and vB3 and vB4 are no longer being developed.
Reply With Quote
  #54  
Old 14 Jun 2011, 14:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Spinball View Post
Have you considered any of these ideas?
I figured the issue of having links added to posts should be told to the users by way of an announcement and/or forum rules noting that the forum has a policy of auto-linking certain keywords and users should understand some links may be added to their posts. If you want to list your keywords or such that is up to you.

If your're using skimwords they should already be used to this.

The custom CSS option allows you to make links generated by this mod look different than ordinary user-added links so that could help reduce confusion too.

I suppose I could add an option to append a line to any post altered by this mod something like "For your convenience some keywords in this post have been auto-linked." - Obviously something you could edit.

But the tracking of links would involve edits to the database and that was never something I was intending to do with this mod. May I add it one day- possibly- but it likely will not be anytime soon.

Adding a spot for a 1-pixel gif would only help track if someone was willing to make a separate gif for each keyword. It could be done but does anyone really want to go through that much trouble? And it would only show how many times a link was displayed, would be of no help tracking clicks.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #55  
Old 14 Jun 2011, 16:22
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
New in 1.3: Added optional notice on posts with links and associated phrase.

You can now choose to display a custom notice in posts, PMs, visitor messages, and social group posts to alert users that keywords have automatically been turned into links.

To edit this notice use the Phrase Manager and edit the GLOBAL phrase: bop5_wordlinks_note.
HTML code is allowed in phrases. {1} will be replaced with the number of keywords linked in a post. Its use in the phrase is optional.
Attached Images
File Type: jpg wordlinks_vb3.jpg (103.2 KB, 16 views)
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5; 14 Jun 2011 at 16:29.
Reply With Quote
  #56  
Old 14 Jun 2011, 16:35
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Great Work!!!! : D

I have a suggestion but do not know if it will be very difficult to program
Registered users can enable or disable "Word Links" from your profile?
That would be perfect.
Reply With Quote
  #57  
Old 14 Jun 2011, 16:41
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Artes_Marciales View Post
Great Work!!!! : D

I have a suggestion but do not know if it will be very difficult to program
Registered users can enable or disable "Word Links" from your profile?
That would be perfect.
It would require you as admin to make a custom profile field but the logic would be pretty easy to program in the mod, I just don't know how many admins would like to give the choice to disable- would defeat the purpose of the mod.

But I will try and work it into the next update.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #58  
Old 14 Jun 2011, 16:58
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Ok, Thanks!! : D

I think registered users may not want to see the links and I think is very good for them to have the possibility to enable or disable the mod.
Reply With Quote
  #59  
Old 15 Jun 2011, 01:50
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
BUG-FIX!

I noticed today that the option to "Match Whole Words Only" was being ignored and upon investigation I see it has been broken since version 1.0. (It was working in the Betas). I have fixed this issue and released version 1.31.

I am also well into development of an option to manage links and keywords via a csv datafile, so it's easier to keep track of than the two boxes currently in use. I expect to have this newer version out in the next day or two.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #60  
Old 15 Jun 2011, 21:19
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Big update today... Two new features.

1) For those of you with a lot of keywords and links it's hard to keep track of which keyword goes to which link in the two separate boxes you can now put all your keywords and links together in one .csv (comma separate value) data file and upload it and the mod will pull its info from the data file instead of the two boxes.

In addition you can use advanced features if using the datafile such as setting the "target" and "rel" attributes for each link individually if you choose. If you don't specify a target or a rel value the mod will use whatever setting you have chosen in the mod settings.

A sample datafile is included and an example is here:

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

You can make a csv file in a text editor or use a spreadsheet like Microsoft Excel and "Save As" a common CSV file.

The second new feature is integration with an optional Custom User Profile Field. If you make a custom profile field to enable users to turn automatic word linking on or off you can tell this mod which field number you created and the mod will disable itself for anyone who turns it off. (By default it's on.) Full instructions on how to make a custom user profile field is included in the mod instructions.

A separate How-To make a compatible csv datafile is also included in the mod .zip fie.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
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 06:06.

Layout Options | Width: Wide Color: