Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Word Links FREE (Turn words into links) by BOP5 Details »»
Word Links FREE (Turn words into links) by BOP5
Version: 2.0, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 05-15-2011 Last Update: 03-04-2012 Installs: 244
Uses Plugins
Additional Files  
No support by the author.



Thank You for voting this June 2011 Mod of the Month!!!

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.

This is the FREE Version. It allows you to auto-link words in:
  • Posts/Threads
  • Private Messages
  • Visitor Messages
  • Social Groups

The GOLD Version is available at Qapla.com It allows auto-linking words in:
  • Posts/Threads
  • Private Messages
  • Visitor Messages
  • Social Groups
  • Picture Comments
  • Blog Entries
  • Blog Comments
  • CMS Articles
  • CMS Comments

Live Demo at Qapla.com.

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 or styles.

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.935: Fixed conflict with VBSEO and possibly other mods. Upgrade if you are having problems.
  • New in 0.94: Made the "Custom CSS" an option to prevent unnecessary HTML if not needed.
  • New in 0.95: Enable or disable in PMs.
  • New in 0.96: Should fix conflicts with AME3 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.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 1.5a: Updated German language file thanks to Igel1.
  • New in 1.6: Fixed bug if keyword was part of thread title and thread title was a link in the post. (VB4 Only)
  • New in 1.7: Added field to extend the regex easily through the mod settings. Included fix for bold/font color links.
  • New in 2.0: Rewritten more efficient code. Added option to disable by styleid. Added GOLD version.

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.

Notice:
Since the following words are used in HTML tags I would avoid them as keywords:
style, div, class, pre, href, img, html, meta, name, rel, nofollow, and link.

I would also avoid any single letter or two letter keywords since they could easily be used accidentally in places you weren't intending.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated. :up:
[s]Nominate MOTM if you LOVE it! [/s] Thank You!

Download Now

File Type: zip Word Links FREE for VB4 by BOP5v20.zip (244.3 KB, 1077 views)

Screenshots

File Type: jpg wordlinks20_posts.jpg (119.4 KB, 0 views)
File Type: jpg wordlinks20_socialgroups.jpg (87.5 KB, 0 views)
File Type: jpg wordlinks20_vms.jpg (82.3 KB, 0 views)
File Type: jpg word_links_free_vb4_settings_full.jpg (54.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
12 благодарности(ей) от:
babyv0x, BCP Hung, CThiessen, dnk.it, eTiKeT?, m2006, mahsazn, markoroots, mohammadxxx, postcd, Taurus1, Trangalleiro

Comments
  #282  
Old 02-24-2014, 07:38 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I imagine it has to do with regular expressions and character encoding- unfortunately I don't know how to fix the issue. The issue has been mentioned in comments on php.net but there's no easy fix.
Reply With Quote
  #283  
Old 02-25-2014, 12:51 PM
Mn3m0n1c Mn3m0n1c is offline
 
Join Date: Oct 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the answer, i'll try to analyze encoding settings and regexp deeper.
Reply With Quote
  #284  
Old 02-25-2014, 06:15 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
The mod is designed to not affect keywords already part of a link...

So if Amazon is a keyword

and you have a Link like-

Use Google to Search Amazon

Amazon should NOT be getting linked...

If it is please send me a URL where I can see it happen and the keyword(s) that are getting linked that shouldn't be.
Here's an example: http://nikonites.com/general-lenses/...up-%24400.html

These should all be links to amazon, but some are coming up with the links defined in this mod. The phrases are defined in a file. Maybe it has something to do with the dots and dashes?
Reply With Quote
  #285  
Old 03-09-2014, 11:44 PM
Thangvip9x Thangvip9x is offline
 
Join Date: Apr 2012
Location: Yen Bai, Vietnam
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error when use this mod Add Alt Text to Linked Images by BOP5 (VB 4.1.10+)
If in alt images has a word link, this mod will error
Please fix it
Ex: In alt images is "i love vbulletin", i settings vbulletin is word link in admincp, it will display error "i love
HTML Code:
<a href="http://vbulletin.org">vbulletin</a>
in alter images
I forced uninstall this mod
Can you fix it!
Reply With Quote
  #286  
Old 03-11-2014, 03:53 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Thangvip9x View Post
Error when use this mod Add Alt Text to Linked Images by BOP5 (VB 4.1.10+)
If in alt images has a word link, this mod will error
Please fix it
Ex: In alt images is "i love vbulletin", i settings vbulletin is word link in admincp, it will display error "i love
HTML Code:
<a href="http://vbulletin.org">vbulletin</a>
in alter images
I forced uninstall this mod
Can you fix it!
This is interesting- In the Settings for the Alt Text to Linked Images mod find the setting-

Image Resizer Code

And add this code-

Code:
onload="NcodeImageResizer.createOn(this);"
Even if you're not using an image resizer just want to see if this stops the problem or not.
Reply With Quote
  #287  
Old 03-12-2014, 02:15 AM
Thangvip9x Thangvip9x is offline
 
Join Date: Apr 2012
Location: Yen Bai, Vietnam
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
This is interesting- In the Settings for the Alt Text to Linked Images mod find the setting-

Image Resizer Code

And add this code-

Code:
onload="NcodeImageResizer.createOn(this);"
Even if you're not using an image resizer just want to see if this stops the problem or not.
I don't use mod "Image Resizer", i only use "Add Alt Text to Linked Images", i forced uninstall because error when setting word link by bop5
Reply With Quote
  #288  
Old 03-31-2014, 01:15 PM
sonic83 sonic83 is offline
 
Join Date: May 2011
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello. This error only appears if the option setting:

Match Whole Words Only?
If "Yes" will link whole words only. Example: If "Jeep" is a keyword, "Jeeps" will not be linked. If "No" it will match partial words. Using the same example you'd see "<a href="http://www.jeep.com" target="_blank">Jeep</a>s."


This error appears on all post with quote:

<a> div class = "BBCode_Container">

And the quotes box is gone:



And in the post if you quote appears:

a>



Help please.

thanks

PS: Sorry for my english
Reply With Quote
  #289  
Old 03-31-2014, 04:29 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the keyword causing the problem?

Can you provide a link to your site?
Reply With Quote
Благодарность от:
sonic83
  #290  
Old 04-01-2014, 07:45 AM
sonic83 sonic83 is offline
 
Join Date: May 2011
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
What is the keyword causing the problem?

Can you provide a link to your site?
Hi BirdOPrey5. I send you pm whit video.
Reply With Quote
  #291  
Old 04-26-2014, 07:15 PM
sonic83 sonic83 is offline
 
Join Date: May 2011
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sonic83 View Post
Hi BirdOPrey5. I send you pm whit video.
Hello, I do not want it to look like I hit the topic, you could check for this problem occur?

thanks
Reply With Quote
Reply

Thread Tools

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 09:43 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.05220 seconds
  • Memory Usage 2,365KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete