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.
I used some years ago but dont remember if it was on phpbb or in vbulletin, a word link system with those functionalities:
- set up the words that should be transformed in links
- activate or not a description (a little box/cloud appear when you mouseover the link, with the description and the link)
- statistics: you know how many views and clicks for each keyword
- ad solution: you can choose a period or a number of click maximum for each word then the link become a normal word again.
Someone knows if this solution exist for a vb 3.7 ? Thanks
I used some years ago but dont remember if it was on phpbb or in vbulletin, a word link system with those functionalities:
- set up the words that should be transformed in links
- activate or not a description (a little box/cloud appear when you mouseover the link, with the description and the link)
- statistics: you know how many views and clicks for each keyword
- ad solution: you can choose a period or a number of click maximum for each word then the link become a normal word again.
Someone knows if this solution exist for a vb 3.7 ? Thanks
I didn't found any ... so I decide to build one for word replacement only.
For tracking I'm using Fast Click SQL.
For link description you can use the title tag: <a href="http://localhost" title="Advertisement">Word</a>.
This did not work for me on 3.7 rc3. After installation and configuration the keyword did not link to anything. Is there a way to edit templates manually?
This did not work for me on 3.7 rc3. After installation and configuration the keyword did not link to anything. Is there a way to edit templates manually?
The replace process only replaces words between spaces to avoid mistakes.
An usual error would be replace the word train and all words with train in it's name would be replaced. Ex: trainers.
Quote:
Originally Posted by FRDS
Just use the replacement variables in the style manager and see if that works, it should.
There are advantages of using this method:
vB replaces word like trainers and this hack only replaces word between spaces to avoid mistakes.
vB is case insensitive, this is case sensitive to give you more control.
I tested replacement variables and after performing a search for the replaced word, my page gets broken.