• Resolved uana

    (@ussamaanas)


    Is there a way i can let the users have a choice to post their ideas as themselves or as anonymous ?

    Something like a checkbox, post as “Username” or “Anonymous” for example

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mathieu Viet

    (@imath)

    Hi Uana,

    The plugin’s is not including this feature, unfortunately. If the need is to hide the username if the checkbox ‘Post as anonymous” is activated in the submit form, it could probably be done by using a post meta. But then it would complexify the profile’s query where we’d need to avoid displaying these specific ideas when the displayed user != the logged in one.

    I’m pretty busy right now but i’ll try to look at it soon.

    Thread Starter uana

    (@ussamaanas)

    Thank you for your reply and help !

    Plugin Author Mathieu Viet

    (@imath)

    Hi @ussamaanas

    here’s some custom code to make this happen: https://gist.github.com/imath/24d014cacb78f4654de0d3aff3778fb4

    You can paste it into a wp-idea-stream-custom.php file.

    It will add a checkbox to define whether the user wants to stay anonymous or not:

    anonymous checkbox

    Posted ideas won’t display the author’s avatar but a “?” sign instead as shown below :

    Ideas Archive

    Bye ??

    Thread Starter uana

    (@ussamaanas)

    Wow ! Thank you very much ! I’ll test it now ! ??

    Thread Starter uana

    (@ussamaanas)

    I’ve tested the code! It works perfectly! Thank you for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post as user or anonymous’ is closed to new replies.