Search Results for 'code'
-
Search Results
-
Please help to make these plugins compatible. WPML 2.8.2 and bbPress 2.3.2
[Sat Jun 08 12:41:04 2013] [error] [client 80.98.70.185] PHP Notice: bbp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.3.) in /home/davidprog/dev/keszul.tk/server/wp-includes/functions.php on line 2959, referer: http://keszul.tk/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=Topic: Get User's WordPress Role
Hi all,
I have a little issue since bbPress switched to its own user roles. I was previously showing an image under a users avatar based on this role (ie admin, subscriber).
With the new method, it just shows the bbPress role of participant or key master. This is a problem because my registration forms put the user in WordPress role.
My question is this: is there a way to output the WordPress role rather than the bbPress role? Here is what I’m using at the moment:
$role = bbp_get_user_display_role(bbp_get_reply_author_id($reply_id));<div class="bbp-reply-author <?php echo $role; ?>">Any help is greatly appreciated!
Topic: Errant space in reply widget
Topic: Change author
I wanted to edit a post by my coder but it saved as he being poster.
How do I edit author/poster?
Why does example #1 work just fine but example #2 doesn’t ?
#1
<?php bbp_breadcrumb( array( 'include_home' => false ) ); ?>#2
<?php bbp_breadcrumb( array( 'include_current' => false ) ); ?>