Quote:
Originally Posted by DarkSSJ3
1. That goes for almost every hack
2. I higly doubt you got this in a 10 line cron script  . Really...
|
Short of the text replacement (which is 5 lines), and the 4 variables each on 1 line.
Query is ran:
SELECT userid, signature FROM usertextfield WHERE signature <> ''
The code simply checks returned signature for string length, (how many of 3 types of bbcode I monitor are inside the signature), if any 1 violates the limit, the signature is changed with the text replacement.
Nothing I would install an entire hack to replace, maybe im just lazy..