bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

My post form conflicts with normal bbpress post form

(5 posts)
  • Started 1 year ago by Null
  • Latest reply from Null
  • This topic is not a support question
  1. Hi,

    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?

    Thx

    Posted 1 year ago #
  2. That php error is usually caused by white space/blank lines before the <?php or after the closing ?>. I would check for that first.

    Posted 1 year ago #
  3. Checked it, but that's not it. Also get this error when login in (same as when posting):
    Warning: Cannot modify header information - headers already sent by (output started at /xxx/bbpress/my-plugins/bbPortal.php:2) in /xxx/bbpress/bb-includes/pluggable.php on line 39

    Any other ideas?

    Made a zip of the current plugin, just put it into your plugin folder. Now try to post a new post or anything and the error will occur. The new form in adminpage/content/bbportal works great.

    NOTE:
    This is for testing ONLY. The plugin aint done yet or compleet!!!!
    http://www.sourceskins.com/bbPortal-BETA.zip

    Posted 1 year ago #
  4. Ehm ... donno where exactly should I get errors?

    I installed this file .. I can post ... I can login .. I can access the Portal-Configuration ... =)

    Everything seems to work for me.

    Posted 1 year ago #
  5. Hmmm... ok going to do a clean install on my test forum, perhaps another plugin is jamming...

    Thx

    Got it fixed, it was another plugin, fixed the error, thx again

    zip is removed

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.