The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Lynne, you've been extremely helpful, but I have ONE last question, I promise
![]() Works like a charm, but I tried to make it so it only replaces each occurrence of the keyword ONCE rather than every single time it's mentioned in the post. Some googling led me to find this piece of code 'function str_replace_once' but I need it as istr_replace_once which apparently doesn't exist :[. Even if it did work though I'm not sure if it would work the way I need it to work? I have 100 keywords that are set to be replaced with that keyword as a URL - So if a post mentions 5 of those keywords, they should all be converted, but if the same posts mentions the same keyword twice, only one should be converted? Also, Lynne I would certainly donate something like $5 for your time :P, especially now that this got a tad bit more complicated. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|