![]() |
But the code Stangger has posted is NOT what changed in 2.7.2.
|
stangger5 knows this mod better than anyone here.. so trust what he says ...
he has tested this out for the last few days... |
Quote:
2.7.1 PHP Code:
2.7.2 PHP Code:
PHP Code:
I`m no guru like MrZ...:) --------------- Added [DATE]1330558171[/DATE] at [TIME]1330558171[/TIME] --------------- To get this thread back on track,,here is a very good read for the ones wanting to learn some of the vBulletin Input Cleaner.. Using the vBulletin Input Cleaner |
I guess my question was just if the other part that was added is needed, the looping replace function that removes SQL words from comments (but also removes good data). It is near the bottom of the 2.7.2 arcade.php ... needed or just playing it safe?
|
I think,,its playing it safe...Which is not a bad thing these days...
I`m looking into using the vBulletin Input Cleaner instead of the ibp_cleansql.. |
Quote:
|
Quote:
The code I am asking about is the loop that removes all the SQL keywords from the comments. Most I'm sure won't come across in normal comments, but filtering out parts like "or" and "and" are going to catch and mess up standard comments, as given in the example on that post. "I got the high score!" becomes "I got the high sce!" "Got a great hand on the last round!" -> "Got a great h on the last round" Some basic words will get filtered as well, not just the bad SQL data, which is why I suggested that maybe this fix is not the best solution. Code I am questioning is quoted here: PHP Code:
PHP Code:
|
thanks .. do this https://vborg.vbsupport.ru/showpost....3&postcount=13
and pull the new code added out.. this will do the job.. but does not work on all servers.. stangger5 is going to work this out .. I think code it to the way vb does it .. but this is not set in stone ATM.. just a twinkle in the sky |
Quote:
Thanks to everyone for helping out! Great community this mod has. :D |
stannger5 can explain more about it but this is what I use since the other will kill wanted stuff...
|
All times are GMT. The time now is 08:59 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:
|