Forum Replies Created
-
In reply to: Subforum content not showing
Anyone please??
In reply to: Highlight keymaster replygo to user>all users search for all your sites keymasters.
then click edit by each users avatar
after that you are in the edit profile page for that particular user and in the url it says
user_id=(number)
get all the user id numbers and then you can stack them using commas in a css code like this
.type-reply.user-id-1,.type-reply.user-id-2,.type-reply.user-id-3 { background: yellow; }
In reply to: Subforum content not showingBump, got this working
Now looking for a way to add icons in front of my Sub forums , tried this code:
add_post_type_support('forum_sub_forums', array('thumbnail')); function ks_forum_icons() { if ( 'forum_sub_forums' == get_post_type() ) { global $post; if ( has_post_thumbnail($post->ID) ) echo get_the_post_thumbnail($post->ID,'thumbnail',array('class' => 'alignleft forum-icon')); } } add_action('bbp_theme_before_forum_sub_forums_title','ks_forum_icons');
but that didnt do anything.
In reply to: Add Featured Image to the BBpress IndexAnyone found a fix for this?
In reply to: 2 roles instead of 1Thank you sir 🙂
In reply to: Topic background color depending on roleSorry to come back late to this @robkk , I got this working with
#bbpress-forums .type-reply.user-id-6 { background:url(https://www.primeknights.com/wp-content/uploads/2014/09/Naamloos-2.jpg) repeat; } #bbpress-forums div.odd.user-id-6 { background:url(https://www.primeknights.com/wp-content/uploads/2014/09/Naamloos-2.jpg) repeat; }
Thnx for your help 🙂
In reply to: BBpress topic and posts positioningyes
In reply to: BBpress topic and posts positioningStill shows like:
In reply to: Topic background color depending on roleyou put the add filter code into your child themes functions.php or if you have a functionality plugin put it there.
This worked perfectly.
if you got it to work send a link to the post so i can check it out.
i dont get it work 🙁
In reply to: Topic background color depending on role@robkk it only worked on 1 topic, how can i get it working for the enitre forum?
In reply to: Topic background color depending on roleAnd where would I add the add_filter code please?
In reply to: Topic background color depending on roleThanks man, I can’t wait to see this properly 😀 hopefully soon.
btw the site I wanna add it to is http://www.primeknights.com, so u can get an idea of what I’m trying to do.
In reply to: Topic background color depending on roleThanks this did it man , could you help me with this to:
im trying to add small images in front of the roles, every role has a different one, so im trying to add a class depending on the role, i know i gotta make edits in loop-single-reply.php
right here somewhere
<div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
You got any ideas?
In reply to: Roles under username (.bbp-author-role)Still no clue where to add `$reply_id = bbp_get_reply_id( $reply_id );
$abc_role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) );`I tried on the location where u said, like this:
<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header"> $reply_id = bbp_get_reply_id( $reply_id ); $abc_role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) ); <div class="bbp-meta"> <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span> <?php if ( bbp_is_single_user_replies() ) : ?> <span class="bbp-header"> <?php _e( 'in reply to: ', 'bbpress' ); ?> <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a> </span> <?php endif; ?> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?> <?php bbp_reply_admin_links(); ?> <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?> </div><!-- .bbp-meta --> </div><!-- #post-<?php bbp_reply_id();?>-->
But this just shows the custom code on the website instead of running it.
please help on this 🙂
In reply to: BBpress topic and posts positioningIm not using phpbb, im using bbpress
In reply to: BBpress topic and posts positioningsure there’s no easier way?
In reply to: BBpress topic and posts positioninganyone please
In reply to: BBpress 2.5.4 custom roles troublewhere do i place it? and do i change the blabbermouth to my custom role name?
In reply to: BBpress 2.5.4 custom roles trouble.
In reply to: BBpress 2.5.4 custom roles troublepity 🙁
In reply to: BBpress 2.5.4 custom roles troubleAhh your right, and what about the images?
In reply to: Add forum rolesI used this code, and added a few new ones but when i try assignem them it only shows 1