View Full Version : Miscellaneous Hacks - Word Links (Turn words into links) by BOP5
BirdOPrey5
05-15-2011, 10:00 PM
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 (http://www.juot.net/forums/showthread.php?t=58948)
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 (http://www.amazon.com).
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 (https://vborg.vbsupport.ru/showthread.php?t=263699) 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:
.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. :)
BirdOPrey5
05-16-2011, 01:03 AM
Reserved.
FreshFroot
05-16-2011, 06:52 AM
This looks really good! I need something like this!
Will test and try it out.
Thanks!
BirdOPrey5
05-16-2011, 03:08 PM
Updated to 0.91 - Adds an option to limit the number of links created per keyword per post. This should help for SEO purposes to prevent too many off-site links.
vijayninel
05-16-2011, 11:20 PM
Spectacular job BirdOPrey5. Works like a charm. We could use this to sell link words to advertisers as well. :)
BirdOPrey5
05-17-2011, 01:10 AM
Spectacular job BirdOPrey5. Works like a charm. We could use this to sell link words to advertisers as well. :)
Good idea... I'd hold out a couple weeks before you start selling ad words though to make sure it's working right.
I had it on my site thinking things were great until I found a bug where it was replacing words in image tags... I had to go back to the drawing board to fix that... I did fix it before being released but I'm keeping it beta for now because I could imagine some unusual scenario I didn't plan for coming to light.
If no one reports issues in the next few weeks I'll move it out of Beta...
jerseyda6
05-17-2011, 03:08 AM
The links are barely noticeable. Is there a way for them to be highlighted?
vijayninel
05-17-2011, 04:56 AM
The links are barely noticeable. Is there a way for them to be highlighted?
That is because of the colour of hyperlinks in your style. But I suppose it may be possible to have a option to underline the links as well. (I really wouldnt use that though, it would spoil the forum).
BirdOPrey5
05-17-2011, 10:01 AM
The links are barely noticeable. Is there a way for them to be highlighted?
I can work on something for that. Basically they look just like a link your user would make if they put a link in a post. (or at least they should look like that.)
I find personally that if you make the links too prominent users get upset because they consider it advertising but I will work on something so admins can choose if they want to go that route.
BirdOPrey5
05-17-2011, 11:57 AM
Updated to version 0.92- you can now use CSS to customize the look of the links if you want. This is totally optional.
In your "Additional CSS" you can put in code like:
.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;}
to customize the look of the links. The above with highlight them in yellow and turn the text bold and red if hovered.
MagicThemeParks
05-17-2011, 12:54 PM
Spectacular job BirdOPrey5. Works like a charm. We could use this to sell link words to advertisers as well. :)
Great idea. :up:
BirdOPrey5
05-17-2011, 02:54 PM
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.
Aljuve
05-19-2011, 06:14 AM
Not working :(
BirdOPrey5
05-19-2011, 11:47 AM
A bug has come to light in the 4.x version causing it to not work on some forums. I will be releasing a fix later today.
BirdOPrey5
05-19-2011, 02:30 PM
Updated to 0.94, fixes a bug and a conflict with VBSEO. Also makes the additional HTML needed to use custom CSS optional. Can be turned on or off in the settings.
Wreck713
05-19-2011, 08:23 PM
This looks great, but I got a question since I dont see the answer in the screen shot.
Lets say the keyword is "Modern Warfare 3" and that term is used in the post 20 times. Will there really be 20 links in there ... or is there a way to set a maximum amount of links per keyword per post ?
Again, great work!
BirdOPrey5
05-19-2011, 08:28 PM
This looks great, but I got a question since I dont see the answer in the screen shot.
Lets say the keyword is "Modern Warfare 3" and that term is used in the post 20 times. Will there really be 20 links in there ... or is there a way to set a maximum amount of links per keyword per post ?
Again, great work!
Yes you can set a maximum number of keywords per post. (If you set it to 3 for example than the first 3 uses of "Modern Warfare 3" will become links. If you have another keyword, say "Playstation 3" then that will also become a keyword up to 3 times in the same post.) The limit is per keyword per post.
Wreck713
05-19-2011, 09:06 PM
Thats awesome, I dont visit here too often, but you are an asset to this community! Thanks!
Lee G
05-20-2011, 10:42 AM
Great looking mod
This has got to be better than using tynt to create back links from scrapers
Plus I like the look of extra versatility of the links
Being able to limit what forums they display in along with being able to disguise them in the same color as normal text
drsli
05-20-2011, 12:29 PM
Awesome mod and very useful! Many thanks for providing it. :)
BirdOPrey5
05-20-2011, 06:43 PM
Thanks.
Updated to 0.95- Added option to enable or disable in PMs.
BirdOPrey5
05-31-2011, 01:28 PM
Updated to 0.96. Although none reported in this version should reduce chance of conflict with AME mod.
BirdOPrey5
06-05-2011, 08:11 PM
Updated to Version 1.0.
Out of Beta! Stable release.
nine5flareside
06-05-2011, 10:11 PM
Got my vote and I didn't even download it yet!
xmobile
06-07-2011, 07:06 PM
Nice mod, but...
1. If you install TCattd - The Image Resizer
https://vborg.vbsupport.ru/showthread.php?t=184571
2. If the keyword is chosen banner link to http://sample.com/... and then you insert the image url containing "banner", example: http://sample.com/banner/images01.jpg banner keywords in the url will be automatically converted into links and images error because url of the image is not intact.
Can U leave affected to keywords in IMG tags in this case?
BirdOPrey5
06-07-2011, 08:35 PM
Yeah image resizers can cause issues...
Can you turn off this mod and then paste here the HTML code of an image on your page with the image resizer turned on? It will start with <img src="... and give me the whole tag. I can then figure out how to disable the mod on those images.
Or if you can just link me to a post on your site with images in it I can look at the code myself.
vijayninel
06-08-2011, 04:10 AM
I got some sponsors to sponsor a contest on my forum in exchange for word links. :)
Many thanks to BirdOPrey5.
Artes_Marciales
06-11-2011, 08:47 AM
Great Mod!!
Artes_Marciales
06-11-2011, 02:06 PM
I love this mod, but I have a problem.
I use "hide links from guest" and the links generated by this mod are also hidden. I need those links are not affected by the mod "hide links from guest" as it does for example the mod "Post Replacements. "
Is there any way to get links from this mod are not hidden by "hide links from guest? :o
Thanks!!!
BirdOPrey5
06-11-2011, 02:31 PM
Can you give me a link to this mod?
BirdOPrey5
06-11-2011, 02:42 PM
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?
Artes_Marciales
06-11-2011, 02:46 PM
https://vborg.vbsupport.ru/showthread.php?p=2206235#post2206235
Product Here (https://vborg.vbsupport.ru/attachment.php?attachmentid=129954&stc=1&d=1307807106)
Thanks!
BirdOPrey5
06-11-2011, 02:52 PM
https://vborg.vbsupport.ru/showthread.php?p=2206235#post2206235
Product Here (https://vborg.vbsupport.ru/attachment.php?attachmentid=129954&stc=1&d=1307807106)
Thanks!
Try what I suggested above about changing the execution order.
Artes_Marciales
06-11-2011, 03:06 PM
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 :)
adwade
06-12-2011, 07:36 AM
This is quite a nifty MOD indeed! Voted it MOTM!
Spinball
06-12-2011, 08:39 AM
Would it be possible to limit the number of keywords linked per page?
We'd choose a fairly low number like 3.
BirdOPrey5
06-12-2011, 11:01 AM
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.
Spinball
06-12-2011, 02:22 PM
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 (https://www.vbulletin.com/forum/content.php/502-Skimlinks) plugin?
BirdOPrey5
06-12-2011, 03:02 PM
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 (https://www.vbulletin.com/forum/content.php/502-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.
adwade
06-12-2011, 03:10 PM
Alright, I seem to have somehow broken this MOD.:o 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?
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
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%2F2 02%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
BirdOPrey5
06-12-2011, 03:11 PM
Updated to version 1.1.
You can now set *an approximate* number of total max links per page.
It is approximate because the mod will make links until it reaches the end of the post, VM, or social group message where it meets the page max number of links.
BirdOPrey5
06-12-2011, 03:31 PM
Alright, I seem to have somehow broken this MOD.:o 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?
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
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%2F2 02%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
Wow... for a list like that please confirm you are using "Match whole word only" is YES and "Case Sensitive?" is yes. That should prevent any issues.
I did notice the mod is not matching "S&B" so I will look into that issue.
If you're still having an issue please link me to a post on your site showing the problem.
adwade
06-12-2011, 03:49 PM
Wow... for a list like that please confirm you are using "Match whole word only" is YES and "Case Sensitive?" is yes. That should prevent any issues.
I did notice the mod is not matching "S&B" so I will look into that issue.
If you're still having an issue please link me to a post on your site showing the problem.
Affirmative, both are set to YES.
Forgive me, I thought the whole MOD had ceased working, but after looking again some links are ok. Here's one that is not: http://tinyurl.com/3zdnnkq I expected to see Sunrise Medical with a LINK, but it's not.:confused:
I did try removing the S&B reference (and link), but it doesn't seem to have made any difference.
Spinball
06-12-2011, 03:51 PM
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.
Skimlinks uses two methods of operation - the Javascript and a plugin. We use the plugin.
I have a concern that the plugin might clash with this mod.
adwade
06-12-2011, 04:42 PM
Forgive me, I thought the whole MOD had ceased working, but after looking again some links are ok. Here's one that is not: http://tinyurl.com/3zdnnkq I expected to see Sunrise Medical with a LINK, but it's not.:confused:
I did try removing the S&B reference (and link), but it doesn't seem to have made any difference.
I've taken my long-listing (seen in my post above) and began cutting it in down until I can narrow in on some culprits...
EDIT: I turned it ON for ALL Forums and it seems to be functioning properly. LOOKs like a(nother) case of User Error.:o I am carefully adding more WORDS/LINKS back in, but do not expect to see any more problems. SORRY BOP5.
BirdOPrey5
06-12-2011, 05:44 PM
No problem. thanks for the update, glad it is working.
It looks like I'll need to do an update for it to work with ampersands (&) since S&B doesn't seem to be working for me. Curious if you can see if it's working for you.
Also I'm going to download the skimlinks plugin and confirm one way or the other if the mods will work together in plugin mode. In Javascript mode it will work for sure.
adwade
06-12-2011, 05:52 PM
Wow... for a list like that please confirm you are using "Match whole word only" is YES and "Case Sensitive?" is yes. That should prevent any issues.
I did notice the mod is not matching "S&B" so I will look into that issue.
I added the S&B entry back in, but you are correct. For some reason, it doesn't show up as a link. To my knowledge, this is the only entry that's not working now. See http://www.recumbentriders.org/forums/showthread.php?p=5128 for an example.
BirdOPrey5
06-12-2011, 05:59 PM
Skimlinks uses two methods of operation - the Javascript and a plugin. We use the plugin.
I have a concern that the plugin might clash with this mod.
Spinball, are you talking about the "SkimWords" feature of SkimLinks? If so it sounds like it does pretty much the same thing as this mod.
Unfortunately it would seem without a Skimlinks account I can't do much testing.
I hope you consider testing the mod. This mod makes no changes to the database so disabling or removing it will immediately undo any changes it makes to posts.
If there is a conflict it may be a fairly easy fix such as changing the execution order of the plugins.
I added the S&B entry back in, but you are correct. For some reason, it doesn't show up as a link. To my knowledge, this is the only entry that's not working now. See http://www.recumbentriders.org/forums/showthread.php?p=5128 for an example.
Yeah I pasted all your words and links into my test site and only S&B is not linking, I'm sure it's a special character issue, I will work on it and have a fix soon I expect.
adwade
06-12-2011, 06:19 PM
Quick Question...
In the post at http://tinyurl.com/3kptwls the fifth line down ends by saying: He rides a TerraTrike by WizWheels.
WizWheelz is one of my words, but it doesn't show up as a LINK in this case. Is that because I have Match Whole Words Only set to YES -and- there is a period following the word in this case?
BirdOPrey5
06-12-2011, 07:09 PM
Quick Question...
In the post at http://tinyurl.com/3kptwls the fifth line down ends by saying: He rides a TerraTrike by WizWheels.
WizWheelz is one of my words, but it doesn't show up as a LINK in this case. Is that because I have Match Whole Words Only set to YES -and- there is a period following the word in this case?
Your list of keyword was Wizwheelz with a "Z" - that post is Wizwheels with an "S."
Whole words will work with periods, exclamation points, spaces, new lines- basically any normal punctuation that would end a word.
BirdOPrey5
06-13-2011, 12:47 AM
adwade - I have figured out the "S&B" issue is because the & is being turned into the HTML code for an "&."
I will update the mod, probably tomorrow, but for now if you want change your keyword:
S&B
to
S&B
And it should link S&B as expected. :up:
BirdOPrey5
06-13-2011, 06:54 PM
Updated to Version 1.2
Fixed bug when ampersand (&) and other special HTML characters were used in keywords. Keywords with these characters (ex: S&B) will work as expected.
Spinball
06-14-2011, 11:38 AM
Another couple of points.
We would want some transparency to our visitors. Every time a link is added, we would want some kind of indication of that. Otherwise people whose posts have been changed will complain that it will look like they posted the link and therefore endorse it.
Could we have a title attribute of something like
Shopping links added by AVForums?
Also it would be nice if we could track the number of added links and clicks some how.
My ad guy suggested inserting a 1x1 pixel also.
Have you considered any of these ideas?
BirdOPrey5
06-14-2011, 01:36 PM
Have you considered any of these ideas?
I figured the issue of having links added to posts should be told to the users by way of an announcement and/or forum rules noting that the forum has a policy of auto-linking certain keywords and users should understand some links may be added to their posts. If you want to list your keywords or such that is up to you.
If your're using skimwords they should already be used to this.
The custom CSS option allows you to make links generated by this mod look different than ordinary user-added links so that could help reduce confusion too.
I suppose I could add an option to append a line to any post altered by this mod something like "For your convenience some keywords in this post have been auto-linked." - Obviously something you could edit.
But the tracking of links would involve edits to the database and that was never something I was intending to do with this mod. May I add it one day- possibly- but it likely will not be anytime soon.
Adding a spot for a 1-pixel gif would only help track if someone was willing to make a separate gif for each keyword. It could be done but does anyone really want to go through that much trouble? And it would only show how many times a link was displayed, would be of no help tracking clicks.
BirdOPrey5
06-14-2011, 03:22 PM
New in 1.3: Added optional notice on posts with links and associated phrase.
You can now choose to display a custom notice in posts, PMs, visitor messages, and social group posts to alert users that keywords have automatically been turned into links.
To edit this notice use the Phrase Manager and edit the GLOBAL phrase: bop5_wordlinks_note.
HTML code is allowed in phrases. {1} will be replaced with the number of keywords linked in a post. Its use in the phrase is optional.
Artes_Marciales
06-14-2011, 03:35 PM
Great Work!!!! : D
I have a suggestion but do not know if it will be very difficult to program
Registered users can enable or disable "Word Links" from your profile?
That would be perfect.
BirdOPrey5
06-14-2011, 03:41 PM
Great Work!!!! : D
I have a suggestion but do not know if it will be very difficult to program
Registered users can enable or disable "Word Links" from your profile?
That would be perfect.
It would require you as admin to make a custom profile field but the logic would be pretty easy to program in the mod, I just don't know how many admins would like to give the choice to disable- would defeat the purpose of the mod.
But I will try and work it into the next update.
Artes_Marciales
06-14-2011, 03:58 PM
Ok, Thanks!! : D
I think registered users may not want to see the links and I think is very good for them to have the possibility to enable or disable the mod.
BirdOPrey5
06-15-2011, 12:50 AM
BUG-FIX!
I noticed today that the option to "Match Whole Words Only" was being ignored and upon investigation I see it has been broken since version 1.0. (It was working in the Betas). I have fixed this issue and released version 1.31.
I am also well into development of an option to manage links and keywords via a csv datafile, so it's easier to keep track of than the two boxes currently in use. I expect to have this newer version out in the next day or two.
BirdOPrey5
06-15-2011, 08:19 PM
Big update today... Two new features.
1) For those of you with a lot of keywords and links it's hard to keep track of which keyword goes to which link in the two separate boxes you can now put all your keywords and links together in one .csv (comma separate value) data file and upload it and the mod will pull its info from the data file instead of the two boxes.
In addition you can use advanced features if using the datafile such as setting the "target" and "rel" attributes for each link individually if you choose. If you don't specify a target or a rel value the mod will use whatever setting you have chosen in the mod settings.
A sample datafile is included and an example is here:
Amazon,http://www.amazon.com,,
eBay,http://www.ebay.com,,nofollow
Best Buy,http://www.bestbuy.com,_self,
JUOT,http://www.juot.net,_blank,nofollow
vBulletin,http://www.vbulletin.org,_blank,
Google,http://www.google.com,,
Apple,http://www.apple.com,,friend
Microsoft,http://www.microsoft.com,_self,alternate
You can make a csv file in a text editor or use a spreadsheet like Microsoft Excel and "Save As" a common CSV file.
The second new feature is integration with an optional Custom User Profile Field. If you make a custom profile field to enable users to turn automatic word linking on or off you can tell this mod which field number you created and the mod will disable itself for anyone who turns it off. (By default it's on.) Full instructions on how to make a custom user profile field is included in the mod instructions.
A separate How-To make a compatible csv datafile is also included in the mod .zip fie.
adwade
06-16-2011, 02:28 AM
THANXX again. This is working just M-a-r-v-e-l-o-u-s!
Artes_Marciales
06-16-2011, 05:40 PM
Great Work!!!!
Thanks!!!
teach1st
06-25-2011, 02:47 PM
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!
BirdOPrey5
06-25-2011, 03:28 PM
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)
<img src="http://www.pb5th.com/pbkidz10/log/051611.jpg" alt="!!!">
The problem is that isn't a valid xhtml img element though it works on browsers just fine... the proper tag should look like:
<img src="http://www.pb5th.com/pbkidz10/log/051611.jpg" alt="!!!" />
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.
teach1st
06-25-2011, 03:34 PM
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.
BirdOPrey5
06-25-2011, 03:42 PM
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.
teach1st
06-25-2011, 03:48 PM
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.
BirdOPrey5
06-25-2011, 03:50 PM
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...
teach1st
06-25-2011, 03:52 PM
I am far, far from an expert, but I'm wondering if this would work:
Take: ">
Replace " />
BirdOPrey5
06-25-2011, 04:06 PM
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.
teach1st
06-25-2011, 04:16 PM
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!
furnival
07-05-2011, 04:34 PM
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!
yamahapaul
07-15-2011, 06:49 AM
I want to use this for amazon but can't figure out how to structure the link to my affiliates program :confused:
:(
BirdOPrey5
07-15-2011, 07:36 PM
A basic affiliate link to Amazon looks like:
http://www.amazon.com/?tag=joesultofftop-20
Change my affiliate code in red to your own code.
suko22
07-27-2011, 11:19 AM
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:
https://vborg.vbsupport.ru/external/2012/07/5.jpg
The word linked is 'dmt' , and the image name is 'dmt22.jpg' . How can I solve it?
thanks :)
BirdOPrey5
07-27-2011, 11:25 AM
I'll need a link to that post.
suko22
07-27-2011, 11:51 AM
I'll need a link to that post.
here you are http://www.todocircuito.com/foro/showthread.php?p=105865#post105865
Thanks in advance :)
BirdOPrey5
07-27-2011, 12:31 PM
here you are http://www.todocircuito.com/foro/showthread.php?p=105865#post105865
Thanks in advance :)
Thanks... But please disable the mod or take dmt out so I can see what it looks like normally.
BirdOPrey5
07-27-2011, 12:39 PM
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:
$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|onclick="[\w .()]+"))~'.$bopcase;
And replace it with:
$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.
suko22
07-27-2011, 02:39 PM
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:
$bopfind = '~'.$bopwd.'('.$bopfind.')'.$bopwd.'(?![^<]*(</a>|" />|width="\d+"|target="_blank"|width=\'\d+\'|follow">|onclick="[\w .()]+"))~'.$bopcase;
And replace it with:
$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.
Man, thousand of thanks, 'miles de gracias' in spanish. Now it?s woriking fine ;)
Of course, nominated to motm, i love this addon
yamahapaul
08-03-2011, 07:00 AM
How does this cope with linking a word to a particular product (by using the 'insert link' icon in the post interface and turning a word into a clickable link), would it still direct people to my affiliates program? for example I'd like to do something like this-
I just bought my new wide angle 17-40mm lens from amazon (https://www.amazon.co.uk/Canon-17-40-4-0-USM-Lens/dp/B0000C4GAM/ref=sr_1_1?ie=UTF8&qid=1312357899&sr=8-1) and so far I'm very impressed with the results!
BirdOPrey5
08-03-2011, 09:43 AM
It won't link to individual products unless you set a link for each individual product... This is not a replacement for something like VigLinks or SkimLinks which will affiliate ALL your links (including links made by this mod.)
Wreck713
08-07-2011, 07:16 PM
How do you make it so the link text is blue and the link still is underlined. I played around with editing this CSS but my lack of skills didn't figure it out.
Also, I just upgraded the plugin and I have an issue that I was hoping by upgrading would fix. As I had this issue before too.
here is an example.
I wrote this ...
I am testing out some stuff in regards to Uncharted 2. I love battlefield 3 and hate how Modern Warfare 2 turned out. I am also hungry as shit and waiting for a pizza to made in the oven.
and this is what it churned out.
I am testing out some stuff in regards to Modern Warfare 2 turned out. I am also hungry as shit and waiting for a pizza to made in the oven.
each game reference should be linked, as you can see it botched it up and only left one game reference in there. ie. linked.
BirdOPrey5
08-07-2011, 07:25 PM
How do you make it so the link text is blue and the link still is underlined. I played around with editing this CSS but my lack of skills didn't figure it out.
Also, I just upgraded the plugin and I have an issue that I was hoping by upgrading would fix. As I had this issue before too.
here is an example.
I wrote this ...
and this is what it churned out.
each game reference should be linked, as you can see it botched it up and only left one game reference in there. ie. linked.
Blue and underlined should be the default in VB 3.x.
I will need a link to your forum and a copy & paste of all your keywords and URLs (or the datafile) to investigate.
Also please let me know what your settings are in the mod.
Wreck713
08-08-2011, 04:51 PM
<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=131797&stc=1&d=1312825819" target="_blank">https://vborg.vbsupport.ru/attac...1&d=1312825819</a>
there's my screenshot of settings.
Sent PM with other info.
THANKS!
BirdOPrey5
08-09-2011, 05:37 PM
https://vborg.vbsupport.ru/attachment.php?attachmentid=131797&stc=1&d=1312825819
there's my screenshot of settings.
Sent PM with other info.
THANKS!
I've tested using your exact words and your exact settings and the phrase you e-mailed me that was causing you issues, and it all worked fine.
I'd imagine you are having a conflict with some other mod perhaps.
As for the custom link colors you need to enable the custom CSS in the mod settings which you have off. And then add the CSS as instructed in the taxt file to your additional css template.
I don't do CSS design myself so it will be up to yo to figure out how to get the colors you want.
Wreck713
08-09-2011, 10:36 PM
fyi: I had the css enabled when I tried it, since it didnt work i then disabled and the screen shot came after. thanks for the help, I got a couple mods I know I can get rid of , I'll get rid of them and see if it helps ... otherwise guess im just screwed as most i gotta keep.
realmr
09-05-2011, 12:39 PM
Joe, does the add-on run any additional query ?
And how good is it with the loads, especially on a large forum ?
BirdOPrey5
09-05-2011, 02:00 PM
No additional queries.
I haven't had any complaints on server loads, I know there are some large/busy forums using it.
JohorBahru
09-27-2011, 11:01 AM
hi,
what should i name the data file? should i just name is as sample_wordlinks_data.csv as the file provided by you?
sorry, just realize there is a place for you to name it in the cp, after installation.
thank you!
kpmedia
12-04-2011, 11:26 PM
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. :)
dethfire
04-11-2012, 08:32 PM
can you release 2.0 for vb3.8?
BirdOPrey5
04-11-2012, 09:30 PM
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?
dethfire
04-11-2012, 09:42 PM
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 :D thanks!
suko22
07-27-2012, 04:25 PM
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:
https://vborg.vbsupport.ru/external/2012/07/5.jpg
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/todocircuito-2/aprilia-rsv4-carbon-special-edition-15849/#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.
BirdOPrey5
07-27-2012, 08:17 PM
In the custom regex field of the mod settings try adding this to the end of the exiting code:
.jpg|
So the full box will probably look like:
</b></a>|</font></a>|</b></font></a>|</font></b></a>|.jpg|
New code in red.
Note- there is no space between the old | and the new .
suko22
07-27-2012, 08:31 PM
In the custom regex field of the mod settings try adding this to the end of the exiting code:
.jpg|
So the full box will probably look like:
</b></a>|</font></a>|</b></font></a>|</font></b></a>|.jpg|
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??
BirdOPrey5
07-27-2012, 08:49 PM
Sorry... It looks like I forgot to upload version 2.0 to vBulletin.org. :o
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.
suko22
07-27-2012, 09:40 PM
Sorry... It looks like I forgot to upload version 2.0 to vBulletin.org. :o
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 :)
BirdOPrey5
07-28-2012, 12:29 AM
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.
suko22
07-30-2012, 10:35 AM
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 ;)
nervice
09-06-2012, 10:01 AM
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?
klaush
09-08-2012, 12:32 PM
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.
now works fine
Thanks again ;)
klaush
09-08-2012, 01:24 PM
And this issue with all jpg/jpeg within the [ img ] tag:
The picture is not shown, but this line
jpg" border="0" alt="" />
klaush
09-08-2012, 02:15 PM
O.k., found it. You can´t use "jpg" as a keyword!
cleonard
11-26-2012, 02:06 PM
I just installed this on one of my forums and while it is creating links on new posts, older posts (my forum has nearly 10 years of content) remain unlinked. Is there a way to apply this tool to older posts or an add-on to do so?
Thanks!
al2thero
11-27-2012, 12:57 AM
i like it
thank u
yahsuah
11-28-2012, 10:33 PM
Thanks for this mod. It is working very well in my forum.
BirdOPrey5
11-29-2012, 11:17 PM
I just installed this on one of my forums and while it is creating links on new posts, older posts (my forum has nearly 10 years of content) remain unlinked. Is there a way to apply this tool to older posts or an add-on to do so?
Thanks!
1) Please "Mark as Installed"
2) This mod works on all posts, both old and new- If it is not working on old posts on your forum you must have some sort of separate caching system installed- clearing the cache should get it working on all old posts.
If it was just the vBulletin post cache it would already be working.
muhakeme
01-11-2013, 01:45 AM
I have mod " Geek auto linker " . I had about 50000 URL and my CPU was very high. How is this mod about CPU?
BirdOPrey5
01-12-2013, 02:07 PM
I don't have data to compare. I've seen several hundred links work without issue.
Is there a way to get this to ignore anything in a BB tag?
mdawg
04-03-2015, 04:52 AM
How about making this for vb 5 - vb5 is the wave of the future!
I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move.
BirdOPrey5
04-03-2015, 07:37 PM
Is there a way to get this to ignore anything in a BB tag?
Not really, it never sees the bbcodes, it works on the test that had already been converted to HTML.
BirdOPrey5
04-03-2015, 07:38 PM
How about making this for vb 5 - vb5 is the wave of the future!
I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move.
I have done some work on a VB5 version, it is not out of the question.
NeutralizeR
04-06-2016, 08:24 AM
Hello,
Thanks for the mod. It seems I need a custom regex for this (https://www.msxlabs.org/forum/soru-cevap/209572-subaylik-ve-gorevleri-nelerdir.html#post1224276). Matching the <i> tags.
I also noticed if I use Turkish characters such as "Ş" in the phrase, the HTML output becomes invalid and I see the post text as font=5 ... etc.
NeutralizeR
04-06-2016, 10:33 PM
Changing
$bopfind = preg_quote(htmlspecialchars($bopfind));to
$bopfind = preg_quote($bopfind);fixed the issue with Turkish characters but not sure If it is safe to remove htmlspecialchars though I won't use & < > etc. in my phrases.
<b> <i> <a> format has problems (https://www.msxlabs.org/forum/soru-cevap/209572-subaylik-ve-gorevleri-nelerdir.html#post1224276)
BirdOPrey5
04-07-2016, 07:14 AM
Sorry, am not able to test or fix it for non-English characters.
Removing htmlspecialcharacters may be causing the issue with the tags, but if you want to try a new custom regex try:
</b></a>|</font></a>|</b></font></a>|</font></b></a>|</c>|</b>|</i>|</a>|
However I don't know if it will work.
The default to go back to if it doesn't work is:
</b></a>|</font></a>|</b></font></a>|</font></b></a>|</c>|
NeutralizeR
04-07-2016, 09:11 AM
Sorry, am not able to test or fix it for non-English characters.
Removing htmlspecialcharacters may be causing the issue with the tags, but if you want to try a new custom regex try:
</b></a>|</font></a>|</b></font></a>|</font></b></a>|</c>|</b>|</i>|</a>|
However I don't know if it will work.
The default to go back to if it doesn't work is:
</b></a>|</font></a>|</b></font></a>|</font></b></a>|</c>|
Thanks, It worked. Not sure what "</c>" stands for though...
I fixed the problem with Turkish characters.
Added this function:
function bop5htmlspecialchars ($t){ $find[0] = '<'; $find[1] = '>'; $replace[0] = '<'; $replace[1] = '>'; return str_replace ($find, $replace, $t);}Replaced the related line with this:
$bopfind = preg_quote(bop5htmlspecialchars($bopfind));And replaced the $bopwd with this in the regex:
(?<=^|\PL)('.$bopfind.')(?=\PL|$)Now "Match Whole Words Only" works for words beginning and ending with Turkish characters.
I'm currently using the CSV file and I will have about 200-250 words when I am done with the full list. xCache and VB Optimise are enabled, did not notice any performance issues so far (with 57 words). Do you think using the admincp option is faster?
BirdOPrey5
04-07-2016, 10:59 AM
I don't think it would be a noticeable difference. In theory I suppose the admincp option would be slightly faster but also require slightly more memory use on every page load regardless if word links were being used on the page or not.
The setting was never meant to be faster than the other, juset easier for people dealing with longer lists of keywords/links.
webnsn
07-05-2016, 09:26 AM
<font color="Red">Hi
Apart from selling Words to redirect to ads site.
I don't see any use.
Rather I use Infolinks to get Paid</font>
syntax3
07-10-2017, 03:22 PM
Are there any plans for a VB5 implementation, or an alternative that will perform a similar function on VB5? Thank you!
BirdOPrey5
07-10-2017, 04:22 PM
Are there any plans for a VB5 implementation, or an alternative that will perform a similar function on VB5? Thank you!
Honestly, no. I had it mostly working back around an early VB 5 versions like maybe VB 5.0.5 or so, but then I stopped working on it because no one was really using VB5, it wasn't really usable. I've since checked and the code no longer seems to work, I don't know if it's a big problem or a little fix, I just have no enthusiasm to build VB5 mods, but this is what I had, if anyone is up to completing the project, you have my full permission.
Mn3m0n1c
01-19-2018, 08:12 AM
Hello,
just a little question. RegEx does not works with words with accents, like "velocità", "gravità" etc. It seems the regexp splits that words in two parts: velocit - à, and all other word links are breaked.
Please can you provide an help for adjusting the regexp?
Thanks!
vb 4.2.5
BirdOPrey5
01-20-2018, 06:55 PM
I don't have a solution for non-English characters as of yet, sorry. Are you sure PHP / regex library is installed with support for your language? I might be wrong but I think it needs the correct "localisation" for the language you are using.
webnsn
05-27-2021, 01:14 PM
I have implemented.
Quick Question: Is this good for SEO or NOT?
Adding more links in a page is good or bad??
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.