![]() |
Post Replacements
Post Replacements 1.8
About This hack allows you to have replacements for posts, for example you say you wanted every word that says vbulletin to say vbulletin.com you just have to put that in the option in vbulletin settings. Important When putting your replacements in the option read the description first to understand how it works. Change Log 1.1; Fixed the plugin thanks Stoebi 1.5; Replacements now don't interfere with words that include the replacement. Thanks again to Stoebi :) . A big thanks to Stoebi for providing most of the code! |
:) Wooooow nice, first reply and first install..
|
thanks, enjoy
|
This seems like a nice addition. I am a bit confused though.
1. When I add this lets say vB do I need to add the http://www.vbulletin.com so it shows vB===http://www.vbulletin.com as a hyperlink like this vB? 2. If I wanted to have this hyperlink a different color, would this also be possible? Example: like this: vB |
C_P, to your questions:
1. no, to get that you must put: vB===<a href="http://www.vbulletin.com">vB</a>, the option parsed the text I have to find a way to bypass that. 2.yes that is possible just put the HTML for the diffrent color arount the link code. |
screenshot pls?
|
ok, I may be doing something wrong here but this is enabled and am trying the following code replacements with no sucess:
Code:
vB===<a href="<A href="http://www.vbulletin.com"><font">http://www.vbulletin.com"><font color="#008000">vB</font></a>|||Computer Paradise===<a href="<A href="http://www.cpfools.com"><font">http://www.cpfools.com"><font color="#008000">Computer Paradise</font></a>|||rules===<a href="<A href="http://www.cpfools.com/index.php?option=com_content&task=view&id=5&Itemid=6"><font">http://www.cpfools.com/index.php?option=com_content&task=view&id=5&Itemid=6"><font color="#008000">rules</font></a>|||tutorial===<a href="<A href="http://www.cpfools.com/tutorials/"><font">http://www.cpfools.com/tutorials/"><font color="#008000">tutorial</font></a> http://www.cpfools.com/forum/showthr...5111#post15111 |
Quote:
PHP Code:
PHP Code:
Code:
.replacement { |
Thank you much for the code suggestions but after copying and pasting both codes you supplied, neither work.
This one may be going bye bye. Sorry bud but if this cannot be easily done, not sure it is worth it. Thanks anyway, good idea. |
I think this is casued by the way vb reads links sorry this doesn't work for you.
|
All times are GMT. The time now is 07:06 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:
|