![]() |
i turned on safe mod but its still effecting if someone puts the word in a hyperlink
|
just wondering sorry if its already been asked :)
what if the very first word in the post was the word you want to replace? since it has no space before the word it will not work? well I think not anyway. |
Quote:
Sniper: It wont match it in safemode. |
thanks
just wondering would it not be better to look for "www." and "http"? if the word contains any of those chars then don't replace else replace? also wondering would it be possible to run two instances of the hack? as I wanted to allow users to turn one instance off. |
Quote:
I run in danger mode and have done for 2 years. I could count of the one hand how many links have been messed up in almost 100,000 posts. Still... you have the power of choice to be dangerous or safe (safe mode is slighlty slower as well as there is an extra call to remove insertions to account for spaces). As far as running 2 versions. This is totally possible however it would require you to make a copy of the install file, change every instance of a setting in use from GAL_* to GAL2_* You would then have to duplicate the replacements (though this could be optomized with an array merge). I guess I am saying that yes... it could be done. But it would be a small pain. The good thing is that since the code is so small, it wouldnt require too much work. Let me know if you attempt it :) |
<a href="http://forums.webrats.com/showthread.php?t=24406" target="_blank">http://forums.webrats.com/showthread.php?t=24406</a>
u may have to register to see it im not sure |
Quote:
im clicking the safe mod button in admincp do i have to do anything else? i rebuilt the language files as well is there sql command i can run to force it? |
I have to say this is one of the best hacks I have ever seen! I just installed it right here on a hacked up vB 3.0.6 forum. Your install script rocked and couldn't have worked any easier! Thanks!
One problem, it doesn't work! LOL :laugh: . Seems like everything is working just fine inside the ACP. I did havetoeditone phrase then save it to be able to see them in thephrasessection.Then I added one word called "reviews". All ofMODS andadmins on theboard frequently use that word and reference toanothersection of oursite and this seemed like the answer! Wi++++ worked! Canyou assist meon a heavily hacked board? I selected SAFE BTW I did try using http://www. and just /reviews/index.php etc and still nothing. THanks |
Quote:
|
Oh man this install was simpler than most. I am still hoping one can lend a hand....
Quote:
|
All times are GMT. The time now is 03:07 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:
|