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

Reply
 
Thread Tools
Word Links (Turn words into links) by BOP5 Details »»
Word Links (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: 3.8.x Rating:
Released: 05-15-2011 Last Update: 07-27-2012 Installs: 69
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:

Code:
.boplink A:link {background: yellow; text-decoration: none}
.boplink A:visited {background: yellow; text-decoration: none}
.boplink A:active {background: yellow; text-decoration: none}
.boplink A:hover {background: yellow; font-weight:bold; color: red;}
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

File Type: zip Word Links FREE for VB3 by BOP5 v2.0.zip (244.6 KB, 256 views)

Screenshots

File Type: jpg wordlinks_phrase.jpg (73.2 KB, 0 views)
File Type: jpg wordlinks_vb3.jpg (103.2 KB, 0 views)
File Type: jpg user_profile_field_setup.jpg (93.2 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.
4 благодарности(ей) от:
furnival, JohorBahru, xorex, yahsuah

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

if it's the MARCO mod try this:

Go to Admin CP -> plugin manager

Edit the plugin: Word Linker Postbit

Change the Execution Order from 2 to 7 and save the plugin.

Does that work?
Reply With Quote
  #33  
Old 06-11-2011, 02:46 PM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthrea...35#post2206235
Product Here

Thanks!
Attached Files
File Type: xml product-post_replacements.xml (3.0 KB, 17 views)
Reply With Quote
  #34  
Old 06-11-2011, 02:52 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 Artes_Marciales View Post
Try what I suggested above about changing the execution order.
Reply With Quote
  #35  
Old 06-11-2011, 03:06 PM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
if it's the MARCO mod try this:

Go to Admin CP -> plugin manager

Edit the plugin: Word Linker Postbit

Change the Execution Order from 2 to 7 and save the plugin.

Does that work?
Thank you!
Now it works perfectly, is a great mod for seo and affiliate links
Reply With Quote
  #36  
Old 06-12-2011, 07:36 AM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is quite a nifty MOD indeed! Voted it MOTM!
Reply With Quote
  #37  
Old 06-12-2011, 08:39 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to limit the number of keywords linked per page?
We'd choose a fairly low number like 3.
Reply With Quote
  #38  
Old 06-12-2011, 11:01 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 Spinball View Post
Would it be possible to limit the number of keywords linked per page?
We'd choose a fairly low number like 3.
It's something I have some ideas on but it will mean some new plugins so it will probably be a while. In the mean time you can limit per keyword per post.

Out of curiosity would you be interested it a limit per keyword per page or an absolute number of links per page?

EDIT - I take that back, I was able to add a max number of links relatively easily, will have an update later today.
Reply With Quote
  #39  
Old 06-12-2011, 02:22 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Smashing, thanks.
I'm only interested in a max number per page so as not to annoy our readers too much.
On the other hand, one of our advertisers has asked for all instances of 'HDMI cable' to link through to his site.
This could be very lucrative.
Not certain on whether to offer conversion to a link for all instances or keep it limited.

How does this work with key words or phrases which have already been linked by the poster?
And are there any clashes with Skimlinks plugin?
Reply With Quote
  #40  
Old 06-12-2011, 03:02 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 Spinball View Post
Smashing, thanks.
I'm only interested in a max number per page so as not to annoy our readers too much.
On the other hand, one of our advertisers has asked for all instances of 'HDMI cable' to link through to his site.
Not certain on whether to offer conversion to a link for all instances or keep it limited.

How does this work with key words or phrases which have been linked by the poster?
And are there any clashes with Skimlinks?
If a keyword is already in a link it will be ignored by this mod.

I use vigink which to my knowledge works the same as skimlinks (javascript based link intercepting) and the links generated should be compatible with both.
Reply With Quote
  #41  
Old 06-12-2011, 03:10 PM
adwade adwade is offline
 
Join Date: Aug 2006
Location: SouthEast, TN
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, I seem to have somehow broken this MOD. It was working fine last night, but as I've added more entries something's amiss now. Below are my WORDS and LINKS, could you look over them and see what kind of rule I'm breaking?(i.e. Maximum size of a LINK, etc?)

I have Case Sensitive and Match Whole Words Only set to YES.

We're a Recumbent Cycling Website and I was trying to establish automatic LINKS to the various manufacturers. If there is a maximum length to a LINK's URL, can something like tinyurl.com be used instead?

Code:
Angletech
Bacchetta
Backsafer
Barcroft
Bigcat
Bike Friday
Bike-e
Bike e
Bikee
Birk
BROL
Burley
Carbent
Catrike
Challenge
Cycle Genius
DF
Easy Racers
Easy Racer
Flevobike
Flying Furniture
Greenspeed
Haluzak
handcycle
Hase
Hell-Bent
Hellbent
HP Velotecnik
HPVelotecnik
Ice Adventure
Ice Spirit
Ice Vortex
Just Two Bikes
JTB
KMX
Labent
Ladue
Leitra
Lightfoot
Lightning Cycle Dynamics
Linear
Logo Trikes
Logo Trike
Longbikes
M5
Optima
Organic Engines
Para-Cycle
Paracycle
people movers
Quadracycle
Rainbow
Rans
RANS
recumbent
Recumboni
Reynolds
Rhoades
Ryan
S&B
Sidewinder
ST
Sunrise Medical
Sun
SUN
Terracycle
TerraCycle
Toxy
Trailmate
Trimuter
Trisled
Turner
Velocity
Velocraft
Velogenesis
Velokraft
velomobiles
velomobile
Vision
Volae
Wazabike
Windcheetah
Wizwheelz
Zohrer
Code:
http://angletechcycles.com/
http://www.bacchettabikes.com/
http://www.backsafer.com/home.asp
http://www.barcroftcycles.com/
http://www.catrike.com/
http://www.bikefriday.com/
http://www.bicycleman.com/recumbents/bike_e/bike_e.htm
http://www.bicycleman.com/recumbents/bike_e/bike_e.htm
http://www.bicycleman.com/recumbents/bike_e/bike_e.htm
http://www.speedbikes.ch/
http://www.bentrideronline.com/index.php
http://www.edgerecumbents.com/index.html
http://bentupcycles.com/product-list/short-wheelbase-1253/?rb_br=116
http://www.catrike.com/
http://www.challengebikes.com/
http://www.cyclegenius.com/index.html
http://www.acronymfinder.com/Diamond-Frame-%28bicycle%29-%28DF%29.html
http://www.easyracers.com/
http://www.easyracers.com/
http://translate.googleusercontent.com/translate_c?hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&tl=en&u=http://www.flevobike.nl/&usg=ALkJrhhmpbguz3Kk7j0ho7tEpZc5hnVCbg
http://www.flyingfurniture.com.au/
http://www.greenspeed.com.au/
http://www.bicycleman.com/recumbents/haluzak/haluzak.htm
http://en.wikipedia.org/wiki/Handcycle
http://hasebikes.com/2-1-news-homepage.html
http://www.hellbentcycles.com/
http://www.hellbentcycles.com/
http://www.hpvelotechnik.com/index_e.html
http://www.hpvelotechnik.com/index_e.html
http://www.icetrikes.co/explore-our-trikes/adventure
http://www.icetrikes.co/explore-our-trikes/sprint
http://www.icetrikes.co/explore-our-trikes/vortex
http://www.justtwobikes.com/
http://www.justtwobikes.com/
http://www.kmxus.com/
http://www.labentbyladue.com/
http://www.labentbyladue.com/
http://www.leitra.dk/
http://www.lightfootcycles.com/
http://www.lightningbikes.com/
http://www.linearrecumbent.com/
http://www.logotrikes.com/
http://www.logotrikes.com/
http://www.longbikes.com/index.html
http://www.m5-ligfietsen.com/site/EN/
http://www.optimabikes.com/
http://www.organicengines.com/
http://www.para-cycle.com/whats/index.htm
http://www.para-cycle.com/whats/index.htm
http://www.recumbent.com/
http://www.quadracycleinc.com/
http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.rainbowligfietsen.nl%2Fpage%2F202%2Fligfietsen.html
http://www.ransbikes.com/
http://www.ransbikes.com/
http://en.wikipedia.org/wiki/Recumbent_bicycle
http://www.cambiecycles.com/
http://www.reynoldsweldlab.net/7352.html
http://www.rhoadescar.com/index.html
http://www.longbikes.com/2/CompanyInfo/AboutUs.html
http://home.pacbell.net/recumbnt
http://www.sidewindercycle.com/
http://www.stmfr.co.jp/STMFR/recumbent.html
http://tinyurl.com/3zs7a3p
http://www.sunbicycles.com/products.php?cl1=RECUMBENT
http://www.sunbicycles.com/products.php?cl1=RECUMBENT
http://www.terracycle.com/
http://www.terracycle.com/
http://www.toxy.de/index_en.html
http://www.trailmate.com/
http://www.trimuter.com/
http://www.trisled.com.au/
http://www.turnerrecumbents.com/
http://homepages.paradise.net.nz/velocity/index.html
http://www.velokraft.com/
http://www.velogenesis.com/
http://www.velokraft.com/
http://en.wikipedia.org/wiki/Velomobile
http://en.wikipedia.org/wiki/Velomobile
http://www.bicycleman.com/recumbents/vision/vision.htm
http://www.volaerecumbents.com/
http://wazabike.itgo.com/
http://www.windcheetah.co.uk/
http://www.wizwheelz.com/
http://www.zohrer.com.br/index.php
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 08:15 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.05533 seconds
  • Memory Usage 2,371KB
  • 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
  • (3)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
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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