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.

Comment anonymously while being logged in

February 01, 2011 8:46am

Subscribe [2]
  • #1 / Feb 01, 2011 8:46am

    Hello,

    I want to be able that a logged in member can choose which name he want to comment as.
    In other words even though I am logged in to the site I want to be able to comment as whoever I want to be.

    {exp:comment:form}
        <div id="form">
            {if member_group == 1}
            <input type="text" name="name" value="Choose name" />
            {/if}
            <textarea name="comment" rows="8" cols="40">{comment}</textarea>
            <input type="submit" id="submit_comment" name="submit" value="Submit" />
        </div>
    {/exp:comment:form}

    I tried this, but it still comments as the logged in user.

    Anyone?

  • #2 / Feb 01, 2011 5:58pm

    Ingmar

    29245 posts

    What version and build of EE are you using? I am not sure that is possible, actually: if a member is logged in, their personal data is fetched automatically.

  • #3 / Feb 01, 2011 7:52pm

    Hello,

    I’m using the latest version. 2.1.3 build 20101220.

    If it isn’t possible using the comment module, is there any other method you recommend?

  • #4 / Feb 02, 2011 3:34pm

    Ingmar

    29245 posts

    Sorry, I’m not aware of an easy way to do this. You could either logout, use some external solution (perhaps a bit of PHP) or make a Feature Request.

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

ExpressionEngine News!

#eecms, #events, #releases