Title: [Plugin: WP User Frontend] Usage with Anonymous User
Last modified: August 20, 2016

---

# [Plugin: WP User Frontend] Usage with Anonymous User

 *  [greigner](https://wordpress.org/support/users/greigner/)
 * (@greigner)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/)
 * This plug-in has one of the best interfaces I’ve seen for this type of function.
   Thank you! However, the reason I know that is because I have been searching and
   searching for one that allows **user generated posts**. Not “user” as in a registered
   WP user with the site’s admin panel, but just any old website user/reader.
 * Does anyone know if it’s possible to do that with this plug-in?
 * (example plug-ins that claim to do this but fail on many levels are: Post To 
   Site, and WordPress Guest Post Plug-In.)
 * [http://wordpress.org/extend/plugins/wp-user-frontend/](http://wordpress.org/extend/plugins/wp-user-frontend/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Tareq Hasan](https://wordpress.org/support/users/tareq1988/)
 * (@tareq1988)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/#post-3011105)
 * This is feature is not included yet.
 *  [sg1_anhell](https://wordpress.org/support/users/sg1_anhell/)
 * (@sg1_anhell)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/#post-3011166)
 * This is more or less possible.
    In my case, I have done this: – In “wpuf-add-
   post.php”, search: “is_user_logged_in” – And in “else” put the form too, so:
 * if ( is_user_logged_in() ) {
    $this->post_form( $post_type ); } else { $this-
   >post_form( $post_type ); }
 * [http://www.esodecimostodos.com/escribir-post/](http://www.esodecimostodos.com/escribir-post/)
 * – With this, there were problems, when an anonymous user publishes a Post, gave
   an error. so, I created a page to say that the comment is pending review.
 * [http://www.esodecimostodos.com/post-recibido/](http://www.esodecimostodos.com/post-recibido/)
 * To make the redirection:
    – In “wpuf-add-post.php”, search the last “if”: if (
   $ post_id) – And do like this:
 *  //echo ‘<div class=”success”>’ . __(‘Post published successfully’, ‘wpuf’) .‘
   </div>’;
    **header( ‘Location: [http://www.esodecimostodos.com/post-recibido&#8217](http://www.esodecimostodos.com/post-recibido&#8217););
   exit();  if ( $post_id ) {  header( ‘Location: [http://www.esodecimostodos.com/post-recibido&#8217](http://www.esodecimostodos.com/post-recibido&#8217););
   exit();
 *  $redirect = apply_filters( ‘wpuf_after_post_redirect’, get_permalink( $post_id),
   $post_id );
 * I hope you find it useful provisionally.
    It is a solution. Sorry for my english:
   P
 *  [Remco Stoffer](https://wordpress.org/support/users/remstoffer/)
 * (@remstoffer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/#post-3011169)
 * excelent solution sg1_anhell !!!
 * My only problem is, before trying your solution, I do want to charge writers 
   something so I really need the Paypal option. So how would I do this ?? Any ideas.
 * Muchas gracias desde Tarragona
 *  [sg1_anhell](https://wordpress.org/support/users/sg1_anhell/)
 * (@sg1_anhell)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/#post-3011170)
 * Hola desde Girona ;P
 * Maybe doing that:
 * if ( is_user_logged_in() && (**userpay=yes**) ) {
    $this->post_form( $post_type);}
   else { show condition or message }
 * *(**userpay=yes**)
    this is invented oviously, but is a posible idea, how do 
   that exactly, i don’t know sorry
 * Un saludo paisano! no se si esto te servirá, pero es la idea que se me ha ocurrido
   al respecto, no tengo nivel alto de programación así que no puedo ayudarte más
   perdona. Suerte!
 *  [frizzie55](https://wordpress.org/support/users/frizzie55/)
 * (@frizzie55)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/#post-3011171)
 * To just have a confirmation message at the top of the form, uncomment (removing
   the first two slashes):
 * //echo ‘<div class=”success”>’ . __(‘Post published successfully’, ‘wpuf’) . ‘
   </div>’;
 * Edit the ‘Post published successfully’ to whatever you want.
 * And delete:
 * if ( $post_id ) {
    $redirect = apply_filters( ‘wpuf_after_post_redirect’, get_permalink(
   $post_id ), $post_id );
 *  wp_redirect( $redirect );
    exit; }
 *  Thread Starter [greigner](https://wordpress.org/support/users/greigner/)
 * (@greigner)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/#post-3011172)
 * Thanks for all the help. In the interest of time and deadlines (the site was 
   for a client), i used a plug in called gravity forms. It does more than what 
   I needed, but it did work well, and helped me get the project done on time.
 * There is still a need for simple plug in like this one. Appreciate your hard 
   work, and look forward to future releases!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: WP User Frontend] Usage with Anonymous User’ is closed to new
replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [greigner](https://wordpress.org/support/users/greigner/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-usage-with-anonymous-user/#post-3011172)
 * Status: not a support question