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 this add-on and also tried the Variable Replacement Manager on my forum, since I was only looking to replace text.
In either case, I can't figure out how to include a smiley as part of the replacement. Instead, it just shows exactly what I typed in the replacement text field. Is there a way to use a smiley as a replacement via this method?
Thanks in advance.
If its posting the quickcodes in your post, then hit edit, then save, which forces the forum to reparse the post...and your codes will become smileys.
Bit of a pain, but a workaround though.
If its posting the quickcodes in your post, then hit edit, then save, which forces the forum to reparse the post...and your codes will become smileys.
Bit of a pain, but a workaround though.
That works, but I wonder if there's a way to make this work automatically when someone submits a new post, without having to click Edit and Save?
Hi, thanks for your input, I find it very valuable, but I have a problem and I can not post comments in the CMS, because of their product, as it might fix it, thanks.
I have a bigger problem, when replies in article cms, it appears this error:
/includes/class_postbit.php(345) : eval()'d code on line 96
VBulletin support message :
Go to AdminCP > Plugins & Products > Plugin Manager and find the plugin using the 'postbit_display_complete' hook location. Then go back to 'Manage Products' and disable that one until you get a compatible version .