Skip to:
Content
Pages
Categories
Search
Top
Bottom

My post form conflicts with normal bbpress post form

  • @null

    Member

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • @chrishajer

    Participant

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

    @null

    Member

    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

    @thomasklaiber

    Member

    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.

    @null

    Member

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar