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: Apr 2021 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: 377
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:	482
Size:	73.2 KB
ID:	130049   Click image for larger version

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

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

Name:	word_links_free_vb4_settings_full.jpg
Views:	243
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 21:29

  #61  
Old 16 Jun 2011, 03:28
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
THANXX again. This is working just M-a-r-v-e-l-o-u-s!
Reply With Quote
  #62  
Old 16 Jun 2011, 18:40
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Great Work!!!!
Thanks!!!
Reply With Quote
  #63  
Old 25 Jun 2011, 15:47
teach1st's Avatar
teach1st teach1st is offline
 
Join Date: Oct 2001
Real name: Fred
I imagine not many people use the HTML "alt" image tag with vBulletin, but I do with my class newsletters, which go back for nine years. Word Links breaks the image if the alt tag one of the auto-linked words. For example, "homework" is automatically linked. If I have an image with "homework" in the alt tag (and I do, every week), here's what I get: X (broken image) homework3.gif" alt="homework"> (homework is a link)

Not a big deal, really. It's really a great product. Thanks!
__________________
fred
Reply With Quote
  #64  
Old 25 Jun 2011, 16:28
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I know most people don't use alt in their images in vBulletin, but actually this mod should work even if they do. I just checked your site (the one in your profile) and found this example link in one of your posts (by viewing the HTML source)


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

The problem is that isn't a valid xhtml img element though it works on browsers just fine... the proper tag should look like:


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

I assume you're using some type of Mod or BB Code to produce those images. If you edit it to put the proper xhtml closing (the "space, followed by the slash, followed by the closing square-bracket) or " />" this mod will recognize it as an xhtml <img> tag and ignore all keywords inside of it be it filename or alt 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
  #65  
Old 25 Jun 2011, 16:34
teach1st's Avatar
teach1st teach1st is offline
 
Join Date: Oct 2001
Real name: Fred
Originally Posted by BirdOPrey5 View Post
I assume you're using some type of Mod or BB Code to produce those images. If you edit it to put the proper xhtml closing (the "space, followed by the slash, followed by the closing square-bracket) or " />" this mod will recognize it as an xhtml <img> tag and ignore all keywords inside of it be it filename or alt code.
Thanks for the tip! The problem is I've been using that kind of sloppy coding for the past ten or eleven years, but I think I might be able to use the vB replacement variable manager to change them in bulk.
__________________
fred
Reply With Quote
  #66  
Old 25 Jun 2011, 16:42
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Are you using a BBCode? If so it would be a simple fix and work on all past images as well. If it is a BB Code paste the replacement text into a post and I can update it for you.
__________________
-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
  #67  
Old 25 Jun 2011, 16:48
teach1st's Avatar
teach1st teach1st is offline
 
Join Date: Oct 2001
Real name: Fred
Originally Posted by BirdOPrey5 View Post
Are you using a BBCode? If so it would be a simple fix and work on all past images as well. If it is a BB Code paste the replacement text into a post and I can update it for you.
I'm using straight HTML in the public forums (nobody else but me and a special kid account can post in public). Many of the tags were put in by my students, who help write the newsletter.
__________________
fred
Reply With Quote
  #68  
Old 25 Jun 2011, 16:50
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by teach1st View Post
I'm using straight HTML in the public forums (nobody else but me and a special kid account can post in public). Many of the tags were put in by my students, who help write the newsletter.
OK gotcha...
__________________
-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
  #69  
Old 25 Jun 2011, 16:52
teach1st's Avatar
teach1st teach1st is offline
 
Join Date: Oct 2001
Real name: Fred
I am far, far from an expert, but I'm wondering if this would work:

Take: ">
Replace " />
__________________
fred
Reply With Quote
  #70  
Old 25 Jun 2011, 17:06
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
It might but it may cause other problems with other tags... also I think the replacement variable is run after all other mods so it wouldn't help in this case.

Ideally you'd need some type of search and replace on your database using a regular expression to find your old <img> tags and update them to xhtml <img> tags....

But I wouldn't get involved in something risking your database if things don't go well.

Another solution but not ideal would be a plugin that runs on postbit_display_complete with executon order 1 (so it runs before this mod) to change your html <img> tags to xhtml <img> on the fly. But it would really depend on how consistent your existing tags were entered. Is it always src="" before alt="" for example? if they were inconsistent this wouldn't work.
__________________
-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
  #71  
Old 25 Jun 2011, 17:16
teach1st's Avatar
teach1st teach1st is offline
 
Join Date: Oct 2001
Real name: Fred
With fifth graders, not much is consistent.

You are right...too much risk. So far, the "homework" tag is the only problem. I can simply use "hw" when I want to link to our homework page. Thanks for your help today and thanks for a great product!
__________________
fred
Reply With Quote
  #72  
Old 05 Jul 2011, 17:34
furnival furnival is offline
 
Join Date: Mar 2008
Wow this is fantastic. I was just looking for whether VBSEO could do something like this and stumbled across this thread. Many thanks for releasing this!
Reply With Quote
  #73  
Old 15 Jul 2011, 07:49
yamahapaul's Avatar
yamahapaul yamahapaul is offline
 
Join Date: Aug 2008
Real name: Paul
I want to use this for amazon but can't figure out how to structure the link to my affiliates program


__________________
midlands heritage
Reply With Quote
  #74  
Old 15 Jul 2011, 20:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
A basic affiliate link to Amazon looks like:


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

Change my affiliate code in red to your own 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
  #75  
Old 27 Jul 2011, 12:19
suko22 suko22 is offline
 
Join Date: Jan 2009
Hi, congrats for this addon, works great in my forum.

But have one problem with images. Using the default 'Insert image' button from vbulletin, if I try to insert an image whit a name linked whit this addon, I have this problem:



The word linked is 'dmt' , and the image name is 'dmt22.jpg' . How can I solve it?

thanks
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 09:44.

Layout Options | Width: Wide Color: