@Xenon
It seems like this hack does provide some kind of "backdoor": It allows the user to add more images to his post then he would normally be allowed to have.
Furthermore, it seems like this adds a query whenever a new reply is posted.
What about adding $threadinfo['lastposter'] == $bbuserinfo['username'] to the condition before $doublepost = ...?
As this evaluates to false if there is no double post (and thus the whole term will be false) it's not necessary to continue evaluating the query, or am I wrong?
|