When creating a new topic or replying, a user can enter any text they wish between HIDE codes
Code:
[HIDE]Any text they wish[/HIDE]
As you can see by the xml file in the previous posted, this is referenced by $message but then at some point the BBcode is parsed & the text above is combined with the other text in the post & the $message variable is overwritten so that it contains the entire post.
As far as I can tell, for me just to get "Any text they wish" I need to set the $message2 variable before it is parsed or combined into the "reformed" $message variable.
Here's the php script from the Hide hack if that's any help.... (next post)