Version: 1.1, by Logikos
Developer Last Online: Sep 2023
Version: 3.0.7
Rating:
Released: 10-30-2004
Last Update: 04-27-2005
Installs: 35
DB Changes
Is in Beta Stage
No support by the author.
Text Replacement Links
====================
Author: Ken 'LiveWire' Iovino
Site: www.vBhacks.us
Version: 1.1 ====================
Updates
No longer will phrase the the link if the letters are being used. (Example) If google is one of my TextLinks, and a member post "I just got googlefied" It will not link it.
Mass Amounts of Queries per post fixed. This bug fixed by Kentaurus
No longer Case Sensitive. This bug fixed by nexialys
Huge Thanks
I have to give a huge thanks to the following members that have helped me get this hack where it is now. Xenon, Kentaurus, nexialys, Geographic2, and lewekleonek. Thank you guys very much!
What this does
This will allow you to specified any text you add to automatically turn into a link when your members post the word. For example, you go to the ACP and add the word 'google' to the list and then you add the 'url' to googles website, and anytime a member post the word google, it will automatically turn it into a link. See screenshots for example.
To do list...
Time to install: 3-5 minutes
Queries to run: 1
File Mods: 2
/admincp/index.php
/includes/functions_bbcodeprase.php
Templates to edit: 0
Templates to add: 0
New Phrases: 14
Please read carefully and make all the necessary changes as stated. This is will work if installed properly. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack
Click It
Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.
Please post bugs and errors here. Hope you like, feedback welcomed.
Special Thanks and Credit to
-Xenon
-Kentaurus
-nexialys
-Geographic2
-lewekleonek
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
that should help with your queries problem. I didn't test it but it should work
Take in consideration that we already have something called "replacement vars" that are configurable per style and that do "almost" the same thing that you are doing, except that they do it in a global way and not only in the post content. For words like google that are not part of any html or titles one might as well use replacement vars.
and is quicker than str-replace in all situations...
... i never used the replacement thing in the templates, i find that really annoying,because it's template based, so filter all the output, not only the text you post.. annoying!
I was testing that code mod that Kentaurus did but i was getting a timeout error. I finally got my computer back online so i'll be working on the hack tonight. (after halloween) ^^