![]() |
vBaffiliate Links
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:
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. Word to Replace: vBulletin Oficial Site vBorg Link to Replace: http://www.vbulletin.com http://www.vbulletin.org Please Mark as Installed! |
Reserved...
|
Nice job.
Doesnt the built in replacement variables do the same, or will this only replace words in posts? |
Thanks,
This doesn't replace words permanently. It replaces words on the fly, so if you want to create links they will be removed when you remove this mod. |
This is pretty cool.
Im gonna have a little play with this. Cheers dude |
Doesn't seem to be making any changes.
|
im really excited for this one, but it doesnt seem to be working. 3.7RC3 here.
going to try a few other things in case im not doing it right... so far i have : to be replaced : Amazon replace with : <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.am azon.com%2F&tag=zoolertcom-20&linkCode=ur2&camp=1789&creative=9325">Amazon</a> And my post has just the word : Amazon with carriage returns and all :( Any thoughts? |
Interesting idea - tagged to watch it.
|
Quote:
|
Hi,
Sorry for my mistake. Now It's working! Thanks. Quote:
|
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 |
Quote:
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>. |
Reserved...
|
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?
|
Quote:
An usual error would be replace the word train and all words with train in it's name would be replaced. Ex: trainers. Quote:
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. |
Ummm so what's the fix for this or does this mod still need work?
|
The mod is working.
Theres a new version already. What do you mean? |
I installed it, configured the words but non of the key words on the forums are links.
|
Good job, thanks
|
Does this add queries? I used the vBGeeks GAL-system, but it was a bit heavy to say the least...
|
Quote:
|
Quote:
Theres a new download! |
Installed this. Looks great.
It does have some limitations, in that it requires a space before AND after each trigger word to make it work. What with vBulletin stripping the spaces at the end of lines and posts, it doesnt always work. Same goes for full stops and other punctuation, like speech marks etc, this also kills the link (with the punctuation not being the space that the code requires). That and of course the case-dependency. Apart from those niggles, this is a great idea! Thanks :) Using it now :) |
Quote:
There's a new version that will let you define some more options like case sensitive and spacing. |
works like a charm on my poker forum, thanks.
|
Thanks for this mod.......
|
Quote:
Quote:
|
Please add the function to add multiple replacements.
|
awesome just what i need on my webmasters forum http://millionwebmasters.com
|
awesome this is the bomb oh yea thanks for the hard work haha awesome awesome awesome props to you
|
Quote:
You can replace as many word as you want?!?! :( |
um ok there is a problem.. it only replaced one word i have! on the first post.. the rest of the posts for (azoogleads) is not replaced? can you fix this? to make it replace like all (azoogleads) words
see here http://www.millionwebmasters.com/make-money-online/ the post on the bottom ( azoogleads) is not replaced let me know asap thanks |
Quote:
You may disable this in the Admin Panel. |
Great mod ;).
Just one question. Do this replace text only inside the posts, or in all templates like the replacements vars function? (forums names, post titles, etc). Thanks in advance, Simon. |
Quote:
That's the BIG difference... |
Quote:
|
Does some have a nice demo? To see
|
Quote:
Does this hack by default only affect words with a space before and after it or is that what the space function is for? Sorry for the stupid question, but better be safe than sorry in this case. Does this work for old posts as well? Should we clear post cache? |
Quote:
You can see in my signature if you can understand Portuguese ... these links differ from the default links by an image I've placed right after the word. I've placed a screen shot for the links I use. |
Quote:
Quote:
If it doesn't show on older posts, try to clean the cache. |
All times are GMT. The time now is 05:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|