My post form conflicts with normal bbpress post form
My plugin has a post form. It works all great, but seems to conlfict with every other post form from the forum. Only the form from my plugin works, all others (like posting a reply) will generate errors.
If tried to resolve this by adding an hidden field:
<input type=”hidden” name=”portalforum” value=”1″ />
so this form is only used when value is 1:
if ($_POST['portalforum'] == 1)
This seems to resolve the problem, but ow i get another error:
Warning: Cannot modify header information – headers already sent by etc etc
Any ideas of how to fix this? Or to only use the form when in the admin area?
- You must be logged in to reply to this topic.