good thinking..
I didn't apply it, but as an idea, it seems quite practical to me.. You just need to hack vb so that instead of jumping into standarterror function, forward user to the back to the referring script with "preview" variable on. (applies to newthread.php, editpost.php and newreply.php).
In other words:
If user made a mistake say in newthread.php, hack that script so that it will call itself with $preview variable and edit "*****_postpreview" template to include the error message on top or better in a java alert to get attention.
I don't think it's a hard to code hack. But its just tiring since you need to modify many parts of the code for all possible errors and if you want to apply the idea into all vb, you have to hack many scripts like private.php, register.php, editpost.php etc.
So it's your call to decide whether it's worth trying instead of waiting for vb3. :classic:
|