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.
I'll reiterate. I've applied all changes posted here in this thread. And it still does not work. However, as I posted above, I believe it won't work for me due to admin ability to post html on my forums. For me, admins posting html is more important that text replacements, especially since these replacements can be handled in the built-in vb3 replacement variables.
you cannot do this in the built-in vb3 replacement variables.
e.g.
If i replace
Code:
value
with
Code:
[url = http://www.value.com]value[/url]
it will replace the word value everywhere, in the thread titles, anywhere and it actually replaces it with the text which the forum doesn't pick up as vb code.
I actually need this hack! and was looking for it, its a shame its not finished, i know that Geographic2 has tried to help, however, when i did the test on your forum, the word pumpkin did not replace with a link.
I need this hack asap and would love for someone to finish it!
p.s. i added a few spaces coz this forum kept picking it up as vb code
Im planning to install this hack tonight. I will see about releasing what code I use that works correctly. I will then talk with my man livewire and see if he cares about me releasing a new version of this hack for him.
so it only works if you go thru this thread and try and figure out all of the additional changes that others have made? to me that means this thing needs to go back to the beta forum or the hack developler needs to update his instructions. I should not have to read thru a thread and guess which additional changes need to be made to the code to make the hack work, that is silly.
If you can't take the idea and run with it to get it working to your desires it's certainly not my problem. The concept works. The code as posted throughout the thread works.
I agree though move it to beta so people who can't program or stand to read a thread will stay away from it.
Quote:
it will replace the word value everywhere, in the thread titles, anywhere and it actually replaces it with the text which the forum doesn't pick up as vb code.
I actually need this hack! and was looking for it, its a shame its not finished, i know that Geographic2 has tried to help, however, when i did the test on your forum, the word pumpkin did not replace with a link.
I have added additional logic to the code to avoid what would ultimately become way too many links. As you can see on the AI Growbot's reply to you that the Quoted text from your posts WAS linked. And therefore this hack still does work. :ermm:
I'm not a php idiot. I've coded quite a bit. I've followed everyone's advice here, installed and reinstalled. I still can not get this hack to work in any form on my site. I can not rule out that it's my site that is the problem. However, this is the first release by anyone at vb.org that I could not get to function.
I couldn't get it to work initially but I added the changes that Geographic2 had posted and then it did work. However, it appears that if the text that is to be replaced is at the last text of the post or if the text is followed by a punctuation mark it doesn't not work.