Version: 1.1.0, by nfn
Developer Last Online: May 2012
Category: Mini Mods -
Version: 3.7.5
Rating:
Released: 04-15-2008
Last Update: 04-19-2008
Installs: 120
Uses Plugins
Translations
No support by the author.
Description:
This modification will replace a list of words with a list of words/links you define.
I use it to create links to affiliate programs using words from the posts, but can be used as a simple text replacement.
Tested With:
vBulletin 3.6.9
vBulletin 3.7.0 RC 3
Changes:
[v1.1.0]
Added vBadvanced News module support
Option for case sensitive
Option for removing space before & after
Link mask for link replacement
Can be used as a simple text replacement (without Link mask)
Code simplification for expanding propose
[v1.0.1] Issue with vB 3.7.0 RC3
[v1.0.0] First Release.
Installation & Upgrade Instructions:
Upload the product & configure the settings for the product vBaffiliate Links.
Notes:
This doesn't work with highlight text when searching yet ...
[s]The replacement is case sensitive.
The replacement process will only replace word between spaces.[/s]
From v1.1.x you can use the Link mask as a standard way to define your links.
This mod will only work with PHP5.
If someone would like to help, the credit will be given and I'll appreciate.
How to Use:
Without Link Mask:
Place one word per line in the first box and one word/link per line in the second box.
Word to Replace:
vBulletin Oficial Site
vBorg
Simple Text
Link to Replace:
<a href="http://www.vbulletin.com" title="vBulletin Official Site">vBulletin Oficial Site</a>
<a href="http://www.vbulletin.org" title="vBulletin Modification Site">vBorg</a>
<strong>Simple Text</strong>
With Link Mask:
Define the Link mask you want to use:
<a href="{link}" title="Advertisement">{word}</a>
{link} and {word} will be replaced with each par.
Place one word per line in the first box and one word/link per line in the second box.
This looks like a great mod. I'm surprised it hasn't been downloaded more. Are further modifications planned? In particular, sometimes a user will post a direct link to a product on a site. Since I'm affiliated with the site, I'd like to be able to mod the link such that the link still works, but is updated to include my affiliate information. This is more than a straight-forward text replacment because the product ID is variable. The site I'm thinking of is Newegg, which is very popular with my visitors.
I am experiencing a strange bug that might or might not be caused by a conflict of this hack with Nuwiki. Since I installed this hack, I am getting Nuwiki footnotes in various threads. As said; this may be totally unrelated, but I am mentioning it just in case anyone has the same experience.
EDIT: after disabling this hack and rebuilding post cache, this bug disappears.
Any idea on this bug? I know there is another hack involved, but since it wrecks my board, it is very important.
I have a great number of members posting URLs with their affiliate links.. What I would like to see is the option to mask out those URLs with my own link UNLESS they are a paid subscriber of my forum.
So that you can give your members the option to become a contributor to the forum and allow them a certain number of banner views and the option to post their own links.