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
  #352  
Old 04-03-2015, 01:58 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way, when I was using vb3 and vbseo, there was a feature in vbseo that did this called "vbSEO acronym expander." But back then vbseo had to modify their code for me so that it worked for HTTPS (not just HTTP) urls.

So I dunno, maybe that is the key to how to address this problem for vb5 too.

In any case, this would be a great mod for vb5 - to allow the changing of select words automatically as they appear in all posts into hyperlinks.
Reply With Quote
  #353  
Old 04-03-2015, 07:41 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We'll see- the way it needs to work in VB5 is a bit different, but I have an early beta working on VB5 already- I may release it at some point if I feel I can get it ready.
Reply With Quote
  #354  
Old 04-03-2015, 09:28 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice! Thanks. Look forward to it, and any other useful vb5 mods.
Reply With Quote
  #355  
Old 04-03-2015, 10:12 PM
addamroy addamroy is offline
 
Join Date: Sep 2010
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BOP - Is there any way you can do a 'minor' update to this thing so that it never "links to itself"??

IE I'm linking mainly to internal pages with this, and it looks kind of silly when a thread has several links to itself.

What do you think??
Reply With Quote
  #356  
Old 04-07-2015, 04:18 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 addamroy View Post
BOP - Is there any way you can do a 'minor' update to this thing so that it never "links to itself"??

IE I'm linking mainly to internal pages with this, and it looks kind of silly when a thread has several links to itself.

What do you think??
Wouldn't really be minor... Will consider it, it unfortunately won't be for a while, if it happens.
Reply With Quote
  #357  
Old 11-22-2015, 02:19 PM
mdawg's Avatar
mdawg mdawg is offline
 
Join Date: Mar 2009
Location: United States
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still would like to see this for vb 5.
Reply With Quote
  #358  
Old 12-10-2015, 05:47 PM
JesterP JesterP is offline
 
Join Date: Jun 2007
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to tell the parser to disregard a specific post? Like a bbcode or a word that will tell it not to create links for this post.

There are isolated instances where I want the forum the post is in to be enabled, but some posts, maybe not.

Thank you!
Reply With Quote
  #359  
Old 12-11-2015, 08:10 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try noparse BBcode?
Reply With Quote
  #360  
Old 12-14-2015, 12:21 AM
JesterP JesterP is offline
 
Join Date: Jun 2007
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan_SP View Post
Did you try noparse BBcode?
Hiya,

No I haven't. I'll see how that works out.

Thanks

*edit* It stopped bbcode from parsing, but the word links continued. Any other ideas?
Reply With Quote
  #361  
Old 12-14-2015, 08:10 AM
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 JesterP View Post
Is there a way to tell the parser to disregard a specific post? Like a bbcode or a word that will tell it not to create links for this post.

There are isolated instances where I want the forum the post is in to be enabled, but some posts, maybe not.

Thank you!
It's a two step process.

1st in BBCode Manager you need to make a new BBCode... call it nolink or something like that.
Make the replacement:

Code:
<nolink>{param}</nolink>
and save it...


Then you need to edit the Word Links mod settings. At the bottom of the settings the option called Custom Regex

You should have some existing code in this box, at the very end of it, making sure to leave no space, add the following code:
Code:
|</nolink>
And save changes.

And if all works then you should be able to write
Quote:
This [nolink]keyword[/nolink] will not be linked...
in a post and it won't be linked.
Reply With Quote
2 благодарности(ей) от:
Alan_SP, MarkFL
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 02:11 AM.


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.07082 seconds
  • Memory Usage 2,360KB
  • 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
  • (4)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (14)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