masterpuffin
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Change users role via PHPEverything works except updating user roles. https://gist.github.com/MasterPuffin/159f54a774311b310bebb1537fc36d73
Forum: Developing with WordPress
In reply to: Change users role via PHPI 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
In reply to: Change users role via PHPYes 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
In reply to: Change users role via PHPNo, the role is already existing
Forum: Plugins
In reply to: [Asgaros Forum] Multiple Forums on Different PagesIs there any chance that this feature is coming?
Forum: Plugins
In reply to: Signature on top of every postI 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
In reply to: [Participants Database] Can’t add participants through frontendI think I found a solution:
In the advanced settings I just changed the Cookie Name. Works for me now.Forum: Plugins
In reply to: [Participants Database] Can’t add participants through frontendHello,
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
PuffinForum: Fixing WordPress
In reply to: RSS outputs HTMLOkay, 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