ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Safecracker Author ID

October 03, 2011 5:45am

Subscribe [2]
  • #1 / Oct 03, 2011 5:45am

    Henrik Eklund

    34 posts

    Hi,

    We use Safecracker… EE 2.2.2. Guests are allowed to post entries.

    In the settings for Safecracker you can see in the attachment that we use memberID 4 for guests… However if I look into the source of the form it says this:

    <form id="publishForm" method="post" action="http://www.windindustry.se/index.php/registrering"  enctype="multipart/form-data">
    <div class='hiddenFields'>
    <input type="hidden" name="ACT" value="6" />
    <input type="hidden" name="RET" value="http://www.windindustry.se/index.php/registrering" />
    <input type="hidden" name="URI" value="registrering" />
    <input type="hidden" name="XID" value="03d6e2a628662da69f810f85a03275b2502a215e" />
    <input type="hidden" name="return_url" value="registrering/info/URL_TITLE" />
    <input type="hidden" name="author_id" value="1" />
    <input type="hidden" name="channel_id" value="1" />
    <input type="hidden" name="entry_id" value="0" />
    <input type="hidden" name="site_id" value="1" />
    <input type="hidden" name="return" value="registrering/info/URL_TITLE" />
    <input type="hidden" name="allow_comments" value="n" />
    </div>

    Maybe I’m wrong but shouldn’t author_id be 4 instead of 1?

    Thanks / Henrik

  • #2 / Oct 03, 2011 7:29am

    Sue Crocker

    26054 posts

    Hi, Henrik.

    Are you logged on when you visit the page, or are you logged out? That’s the first thing I’d check.

    Because when I visit, I see:

    <input type="hidden" name="author_id" value="4" />

    Does that help?

  • #3 / Oct 03, 2011 9:53am

    Henrik Eklund

    34 posts

    Of course that helps 😉 Thanks, Henrik.

  • #4 / Oct 03, 2011 10:06am

    Sue Crocker

    26054 posts

    No worries.. 😊 If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases