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 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: 367
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:	469
Size:	73.2 KB
ID:	130049   Click image for larger version

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

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

Name:	word_links_free_vb4_settings_full.jpg
Views:	231
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 09:16

  #91  
Old 05 Dec 2011, 00:26
kpmedia's Avatar
kpmedia kpmedia is offline
 
Join Date: Jan 2008
This is the mod I've always wanted, but never existed. (No, I didn't like our pre-2011 options, both for technical and financial reasons.) Thank you so much for sharing this, and as open source in the spirit of the vB.org community. I don't often post simple thank you's, but this one deserved it for sure.

Also appreciate that you didn't ditch 3.x owners, and make a 4.x only mod.

BOP, I'm grateful.
__________________
FAQ: What are some HostGator alternatives? And who is EIG?
FAQ: What are the best web hosts and why?
And to all the vB plugin authors ... Thanks for making this a great app!

Last edited by kpmedia; 05 Dec 2011 at 00:35.
Reply With Quote
  #92  
Old 11 Apr 2012, 22:32
dethfire dethfire is offline
 
Join Date: Feb 2003
can you release 2.0 for vb3.8?
__________________
Check out my sites:
http://www.physicsforums.com
http://www.chefsuccess.com
Reply With Quote
  #93  
Old 11 Apr 2012, 23:30
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
2.0 Was mostly because I made "Gold" version to work in the vBulletin Suite. There were only minor changes to the Free version- the cleaned up code was more for my benefit than anyone else.

What features do you want that this version doesn't already have?
__________________
-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
  #94  
Old 11 Apr 2012, 23:42
dethfire dethfire is offline
 
Join Date: Feb 2003
Originally Posted by BirdOPrey5 View Post
2.0 Was mostly because I made "Gold" version to work in the vBulletin Suite. There were only minor changes to the Free version- the cleaned up code was more for my benefit than anyone else.

What features do you want that this version doesn't already have?
it works great, I just like new version numbers thanks!
__________________
Check out my sites:
http://www.physicsforums.com
http://www.chefsuccess.com
Reply With Quote
  #95  
Old 27 Jul 2012, 18:25
suko22 suko22 is offline
 
Join Date: Jan 2009
Originally Posted by suko22 View Post
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
I quote myself because i am having the same problem again. Look at this post http://www.todocircuito.com/foro/tod...49/#post250349

This is the last fix I used months ago... now doesnīt work

Nevermind- I see the issue- you're image resizer mod is conflicting.

You can fix this by editing the three plugins:

Word Linker Group Message
Word Linker Postbit
Word Linker Visitor Messages


In EACH find the line:
Code:

$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|onclick="[\w .()]+"))~'.$bopcase;

And replace it with:
Code:

$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|rel="thickbox">|onclick="[\w .()]+"))~'.$bopcase;

In a future version I will include an option for a custom regex to take care of special circumstances like yours.
Reply With Quote
  #96  
Old 27 Jul 2012, 22:17
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
In the custom regex field of the mod settings try adding this to the end of the exiting code:


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

So the full box will probably look like:


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

New code in red.

Note- there is no space between the old | and the new .
__________________
-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
  #97  
Old 27 Jul 2012, 22:31
suko22 suko22 is offline
 
Join Date: Jan 2009
Originally Posted by BirdOPrey5 View Post
In the custom regex field of the mod settings try adding this to the end of the exiting code:


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

So the full box will probably look like:


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

New code in red.

Note- there is no space between the old | and the new .
Uhmmm... Iīm searching in Forum Options / Word Links by BOP5 and canīt find custom regex

Where is that field??
Reply With Quote
  #98  
Old 27 Jul 2012, 22:49
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Sorry... It looks like I forgot to upload version 2.0 to vBulletin.org.

Let me double check it and if it is ready to go (like I think it was) I'll upload it in a few hours.

Version 2.0 has the custom regex option.
__________________
-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
  #99  
Old 27 Jul 2012, 23:40
suko22 suko22 is offline
 
Join Date: Jan 2009
Originally Posted by BirdOPrey5 View Post
Sorry... It looks like I forgot to upload version 2.0 to vBulletin.org.

Let me double check it and if it is ready to go (like I think it was) I'll upload it in a few hours.

Version 2.0 has the custom regex option.
Thanks m8, iīll wait for 2.0 version then
Reply With Quote
  #100  
Old 28 Jul 2012, 02:29
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
OK So then I noticed this was the thread for the VB 3,8 version- i was not intending to update this version to 2.0, it was the VB4 version I updated to 2.0.

However I did go ahead and bring this version up to 2.0 so it has the same features as the 4.x version again.

NOTE - if you upgrade to v 2.0 there is now a php file you must upload.

This version has the custom regex field you can try per instructed above.
__________________
-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
  #101  
Old 30 Jul 2012, 12:35
suko22 suko22 is offline
 
Join Date: Jan 2009
Originally Posted by BirdOPrey5 View Post
OK So then I noticed this was the thread for the VB 3,8 version- i was not intending to update this version to 2.0, it was the VB4 version I updated to 2.0.

However I did go ahead and bring this version up to 2.0 so it has the same features as the 4.x version again.

NOTE - if you upgrade to v 2.0 there is now a php file you must upload.

This version has the custom regex field you can try per instructed above.
Ok m8, updated to 2.0 and changed custom regex field, now works fine

Thanks again
Reply With Quote
  #102  
Old 06 Sep 2012, 12:01
nervice nervice is offline
 
Join Date: Feb 2005
Great mod! Thanks for this.
I have a question related to using the CSV file.
Is it possible to have commas inside the words I would like to auto-link? I.e. is there a possibility to escape the comma character? Or to switch to a different separation character, e.g. semicolon?
Reply With Quote
  #103  
Old 08 Sep 2012, 14:32
klaush klaush is offline
 
Join Date: Oct 2005
Normally yes! But it has another issue with the "Add Alt Text for Images GOLD by BOP5 for VB 3. If this mod is installed and activated you will have the same style error as well.

Originally Posted by suko22 View Post
now works fine

Thanks again
__________________
Greetings

Klaus
Reply With Quote
  #104  
Old 08 Sep 2012, 15:24
klaush klaush is offline
 
Join Date: Oct 2005
And this issue with all jpg/jpeg within the [ img ] tag:

The picture is not shown, but this line

jpg" border="0" alt="" />
__________________
Greetings

Klaus
Reply With Quote
  #105  
Old 08 Sep 2012, 16:15
klaush klaush is offline
 
Join Date: Oct 2005
O.k., found it. You canīt use "jpg" as a keyword!
__________________
Greetings

Klaus

Last edited by klaush; 08 Sep 2012 at 16:42.
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 01:16.

Layout Options | Width: Wide Color: