Title: masterpuffin's Replies | WordPress.org

---

# masterpuffin

  [  ](https://wordpress.org/support/users/masterpuffin/)

 *   [Profile](https://wordpress.org/support/users/masterpuffin/)
 *   [Topics Started](https://wordpress.org/support/users/masterpuffin/topics/)
 *   [Replies Created](https://wordpress.org/support/users/masterpuffin/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/masterpuffin/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/masterpuffin/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/masterpuffin/engagements/)
 *   [Favorites](https://wordpress.org/support/users/masterpuffin/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Change users role via PHP](https://wordpress.org/support/topic/change-users-role-via-php/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/change-users-role-via-php/#post-9451713)
 * Everything works except updating user roles. [https://gist.github.com/MasterPuffin/159f54a774311b310bebb1537fc36d73](https://gist.github.com/MasterPuffin/159f54a774311b310bebb1537fc36d73)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Change users role via PHP](https://wordpress.org/support/topic/change-users-role-via-php/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/change-users-role-via-php/#post-9451688)
 * I have a website where I manage my users. Now I created a wiki like website for
   my users to use. Depending on their role they are able to see different content.
   But I got way to many users to type them all in by hand and more importantly 
   keep it all up to date and in sync. So now I’m trying to write a script where
   when I change the users rank on my website it will be change the users role in
   WP.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Change users role via PHP](https://wordpress.org/support/topic/change-users-role-via-php/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/change-users-role-via-php/#post-9451662)
 * Yes that works, but the whole point is to do it by a script so I don’t have to
   do it manually.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Change users role via PHP](https://wordpress.org/support/topic/change-users-role-via-php/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/change-users-role-via-php/#post-9451636)
 * No, the role is already existing
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Asgaros Forum] Multiple Forums on Different Pages](https://wordpress.org/support/topic/multiple-forums-on-different-pages/)
 *  [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/multiple-forums-on-different-pages/#post-9229476)
 * Is there any chance that this feature is coming?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Signature on top of every post](https://wordpress.org/support/topic/signature-on-top-of-every-post/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/signature-on-top-of-every-post/#post-8229714)
 * I figured it out now; this one works as it should:
 *     ```
       add_filter('the_content','add_signature');
       function add_signature($text) {
       global $post;
       if($post->post_type == 'post') $text = '<div class="signature">
       [JuraID]
       </div>' . $text; 
       return $text;
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Can’t add participants through frontend](https://wordpress.org/support/topic/cant-add-participants-through-frontend/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/cant-add-participants-through-frontend/#post-8208005)
 * I think I found a solution:
    In the advanced settings I just changed the Cookie
   Name. Works for me now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Participants Database] Can’t add participants through frontend](https://wordpress.org/support/topic/cant-add-participants-through-frontend/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/cant-add-participants-through-frontend/#post-8207375)
 * Hello,
    in the plugin configuration I set a redirect to a site, so I don’t have
   a thanks message. I just rolled my whole WordPress site back on an update I made
   earlier today when the plugin was still working and it works now. I’ll write 
   again if the problem appears again and also will note every change I make. Best
   regards Puffin
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [RSS outputs HTML](https://wordpress.org/support/topic/rss-outputs-html/)
 *  Thread Starter [masterpuffin](https://wordpress.org/support/users/masterpuffin/)
 * (@masterpuffin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/rss-outputs-html/#post-7218954)
 * Okay, now it’s normal. I guess time solves anything ^^
    When I tried it a few
   our ago the file started with doctype=html (or however its called). Thanks for
   your help anyways! Cheers

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