Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 17,751 through 17,775 (of 64,516 total)
  • Author
    Search Results
  • #154582
    wolfdogg
    Participant

    I have this problem after just installing bbpress for the 1st time. I’ve noticed that whatever page I have listed for ‘Forum Root’ in Settings will not respond to many of the page changes. I’ve tried adding breadcrumbs and they won’t show. I’ve tried removing the sidebar altogether and the sidebar still shows. I try changing the sidebar to a different set of widgets and it doesn’t respond.

    If I change this ‘Forum Root’, the page will then accurately respond to all changes. I’m using Enfold theme.

    #154579
    Robkk
    Moderator

    are you sure bbPress is causing the problem??

    deactivate and reactivate your plugins one at a time and check and see if the problem persists when bbPress is activated to make sure.

    #154577
    Robkk
    Moderator

    contact whatever theme your using support forum.

    bbPress adds a title out of the box, with no additional editing of files.

    it all depends on your theme.

    #154573

    In reply to: ban some users

    Robkk
    Moderator

    in a unmodified bbpress fresh install you should see the ip right around the users avatar in a topic.

    block bots if its regular people that are just acting wild go edit their profile and change it to blocked.

    #154571
    Robkk
    Moderator

    @evilhare if its a bbPress WP Tweaks plugin problem go to their support.

    if you think it could maybe your themes compatibility with the plugin go to your theme support.

    #154569
    Robkk
    Moderator

    @minoumimi

    i dont recommend users creating new topics from the admin bar or the backend unless there just keymasters and maybe moderators too.

    i would even allow only keymasters and moderators in the backend of my site.

    users should only edit the topics/replies using the admin links on each post.

    if you only do this they should only edit their own posts

    as for being the proper tools ,

    there is a tag input box by the topic if you have tags enabled

    tinymce toolbar can be activated using
    https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    and the revisions should show up if you activate revision logs

    attachments can be available with some plugins

    other than that the other stuff the users shouldn’t touch.

    #154567
    Robkk
    Moderator

    so if we forget

    no one forget.


    @durqrimast
    contact userpros support

    i cant test it out without buying the plugin.

    i did find this in like 20 seconds though

    http://userproplugin.com/userpro/forums/topic/integrating-userpro-profile-links-user-badges-in-bbpress/

    #154566
    Robkk
    Moderator

    try combining the two into this and try it.

    i tested in twenty-fourteen and it worked.

    #bbpress-forums ul.bbp-lead-topic li.bbp-body div.topic {
        background-color: #0099FF;
        border: 1px solid #dd6;
    }
    #154562
    Robkk
    Moderator

    @melanie-bund

    if you are a web designer from the website thats mentioned at the bottom of the website

    you can do alot of things to make it where a forum doesnt look awkward

    changing posts, voices, freshess, topics lalbes at the top to just icons

    and more depending on where your imagination takes you.

    i suggest maybe only showing the topic count in the forum archive

    and move the freshness stats below the title of each forum

    and showing only the posts stats for any forum you have just entered

    and move the freshness stats below the title of each topic.

    more info on designing can be found at the docs

    Codex

    Preston
    Participant

    I’m finally getting back around to working on this and realized I’ll need to hide the topics from a specific user role as well. I can’t just remove spectate/participate capabilities because I need them to be able to post topics, just like users who aren’t logged in.

    I’m having trouble finding a way to get the current user’s role for bbPress so I can use it in the same manner I used the user’s ID above.

    I found this function, but it returns the WordPress role (administrator, editor, etc):

    function get_user_role() {
        global $current_user;
    
        $user_roles = $current_user->roles;
        $user_role = array_shift($user_roles);
    
        return $user_role;
    }

    Can I somehow adapt it to return the bbPress role instead? (keymaster, moderator, etc.)

    #154558

    In reply to: Truncated usernames

    Robkk
    Moderator

    long characters are going to show up like this anyway

    splitboard.co
    m

    you could lower the font-size a little bit more with css to allow maybe 2-3 more characters
    but its still going to break the word apart if there is a certain amount of characters anyway

    you could add more width to div.reply-author
    maybe to about 150px

    add this anywhere where you can put custom css

    #bbpress-forums div.bbp-topic-author, 
    #bbpress-forums div.bbp-reply-author {
    width: 150px;
    }

    you also might have to add some @media query css too if i missed it.

    #154555

    In reply to: Activate page

    Robin W
    Moderator

    there is no [bbp-activate] shortcode

    https://codex.bbpress.org/shortcodes/

    what are you trying to do?

    fractalmask
    Participant

    Removed multisite and converted to single

    bbpress tools shows

    You do not have sufficient permissions to access this page.

    may be issues in roles ? because multisite sets admin user as super-admin ?

    #154543
    evilhare
    Participant

    I have the same problem… I have the forum page set to show the bbpress sidebar but it doesn’t show

    #154542
    #154470
    Robkk
    Moderator

    you add this to your themes functions.php or a functionality plugin.

    you then use css to style the roles from there.

    add_filter('bbp_before_get_reply_author_role_parse_args', 'ntwb_bbpress_reply_css_role' );
    function ntwb_bbpress_reply_css_role() {
    
    	$role = strtolower( bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) ) );
    	$args['class']  = 'bbp-author-role bbp-author-role-' . $role;
    	$args['before'] = '';
    	$args['after']  = '';
    
    	return $args;
    }
    
    add_filter('bbp_before_get_topic_author_role_parse_args', 'ntwb_bbpress_topic_css_role' );
    function ntwb_bbpress_topic_css_role() {
    
    	$role = strtolower( bbp_get_user_display_role( bbp_get_topic_author_id( $topic_id ) ) );
    	$args['class']  = 'bbp-author-role bbp-author-role-' . $role;
    	$args['before'] = '';
    	$args['after']  = '';
    
    	return $args;
    }

    It grabs the topic or reply author role and adds another CSS class with prefix bbp-role- so you now have a new set of CSS classes e.g. bbp-role-keymaster, bbp-role-moderator, bbp-role-participant etc that you can then add your custom CSS styles to.

    link this was from

    Topic background color depending on role

    more info about a functionality plugin

    How to create your own WordPress functionality plugin

    #154535
    durqrimast
    Participant

    Hi, sorry for my bad english. Let me try to tell my problem.

    I’m useing bbpress and userpro. In forum when you click someones or your little profile pic. U go to his/her profile setting.

    ın my website: http://www.sosyalperde.com/forum/kullanici/admin/

    but i want it to go to userpro plug-ins page: http://www.sosyalperde.com/profile-2/admin/

    Any idea how can i do it?

    #154536
    bcrider
    Participant

    Hello,

    I’m using WordPress 4.0 running the Valeni Theme.

    In my bbpress forum on the topic pages, usernames longer than 12 characters are being truncated.

    See example:

    Is there any way to prevent this?

    Thanks!

    #154531
    Nicolas Korobochkin
    Participant

    @robin-w send it. bbpress.org delete spam replies immediately?

    #154529
    colinsp
    Participant

    On my site I have several boards in each Forum. Is there a way of showing which of the boards have the latest post? Or alternatively is there an option to show unread posts?

    Wordpress 4.0, bbPress 2.5.4. The forums are not available to view as they are member only.

    What I want is some indication of which board the red circled item refers to in the attached image.

    https://www.flickr.com/photos/7515926@N08/15602098719

    #154525
    authorarticle
    Participant

    I used wordpress 4.0 and bbpress 2.54
    I try to register to my site but e-mail not sent anything.
    I ‘ve tried to over and over again.
    but same result.
    Please help me .
    How can i solution this problem.
    Thanks

    #154515
    tharsheblows
    Participant

    The reason for this is that sending out subscription emails one by one was appreciably slowing down some large sites, so in the last update they switched to bcc’ing in subscribers.

    It’s fairly straightforward to change how the subscription emails are handled once you know how. If you unhook ‘bbp_notify_topic_subscribers’ you can then hook in your own subscription function.

    Below is similar to what I did – I have it in a plugin but you could put it in your bbpress-functions.php file too, I think – this should be in a child theme. If you do this, please test it first as this is simply an example and not necessarily working code. I’ve gone ahead and simply pasted in the function that was used in the previous version of bbPress so you don’t have to find it.

    //custom topic subscription emails, unhook old function, hook in new one
    remove_action( 'bbp_new_reply',    'bbp_notify_topic_subscribers', 11, 5 );
    add_action( 'bbp_new_reply',    'mjj_bbp_notify_topic_subscribers', 11, 5 );
    
    /** 
    * from bbpress / includes / common / functions.php
    * this is taken from 2.5.3 - I've left in all comments to make it easier to understand
    **/
    
    /** Subscriptions *************************************************************/
    
    /**
     * Sends notification emails for new replies to subscribed topics
     *
     * Gets new post's ID and check if there are subscribed users to that topic, and
     * if there are, send notifications
     *
     * @since bbPress (r2668)
     *
     * @param int $reply_id ID of the newly made reply
     * @uses bbp_is_subscriptions_active() To check if the subscriptions are active
     * @uses bbp_get_reply_id() To validate the reply ID
     * @uses bbp_get_topic_id() To validate the topic ID
     * @uses bbp_get_forum_id() To validate the forum ID
     * @uses bbp_get_reply() To get the reply
     * @uses bbp_is_reply_published() To make sure the reply is published
     * @uses bbp_get_topic_id() To validate the topic ID
     * @uses bbp_get_topic() To get the reply's topic
     * @uses bbp_is_topic_published() To make sure the topic is published
     * @uses bbp_get_reply_author_display_name() To get the reply author's display name
     * @uses do_action() Calls 'bbp_pre_notify_subscribers' with the reply id,
     *                    topic id and user id
     * @uses bbp_get_topic_subscribers() To get the topic subscribers
     * @uses apply_filters() Calls 'bbp_subscription_mail_message' with the
     *                    message, reply id, topic id and user id
     * @uses apply_filters() Calls 'bbp_subscription_mail_title' with the
     *                    topic title, reply id, topic id and user id
     * @uses apply_filters() Calls 'bbp_subscription_mail_headers'
     * @uses get_userdata() To get the user data
     * @uses wp_mail() To send the mail
     * @uses do_action() Calls 'bbp_post_notify_subscribers' with the reply id,
     *                    topic id and user id
     * @return bool True on success, false on failure
     */
    function mjj_bbp_notify_subscribers( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $reply_author = 0 ) {
    
    	// Bail if subscriptions are turned off
    	if ( !bbp_is_subscriptions_active() )
    		return false;
    
    	/** Validation ************************************************************/
    
    	$reply_id = bbp_get_reply_id( $reply_id );
    	$topic_id = bbp_get_topic_id( $topic_id );
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	/** Reply *****************************************************************/
    
    	// Bail if reply is not published
    	if ( !bbp_is_reply_published( $reply_id ) )
    		return false;
    
    	/** Topic *****************************************************************/
    
    	// Bail if topic is not published
    	if ( !bbp_is_topic_published( $topic_id ) )
    		return false;
    
    	/** User ******************************************************************/
    
    	// Get topic subscribers and bail if empty
    	$user_ids = bbp_get_topic_subscribers( $topic_id, true );
    	if ( empty( $user_ids ) )
    		return false;
    
    	// Poster name
    	$reply_author_name = bbp_get_reply_author_display_name( $reply_id );
    
    	/** Mail ******************************************************************/
    
    	do_action( 'bbp_pre_notify_subscribers', $reply_id, $topic_id, $user_ids );
    
    	// Remove filters from reply content and topic title to prevent content
    	// from being encoded with HTML entities, wrapped in paragraph tags, etc...
    	remove_all_filters( 'bbp_get_reply_content' );
    	remove_all_filters( 'bbp_get_topic_title'   );
    
    	// Strip tags from text
    	$topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
    	$reply_content = strip_tags( bbp_get_reply_content( $reply_id ) );
    	$reply_url     = bbp_get_reply_url( $reply_id );
    	$blog_name     = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
    
    	// Loop through users
    	foreach ( (array) $user_ids as $user_id ) {
    
    		// Don't send notifications to the person who made the post
    		if ( !empty( $reply_author ) && (int) $user_id === (int) $reply_author )
    			continue;
    
    		// For plugins to filter messages per reply/topic/user
    		$message = sprintf( __( '%1$s wrote:
    
    %2$s
    
    Post Link: %3$s
    
    -----------
    
    You are receiving this email because you subscribed to a forum topic.
    
    Login and visit the topic to unsubscribe from these emails.', 'bbpress' ),
    
    			$reply_author_name,
    			$reply_content,
    			$reply_url
    		);
    
    		$message = apply_filters( 'bbp_subscription_mail_message', $message, $reply_id, $topic_id, $user_id );
    		if ( empty( $message ) )
    			continue;
    
    		// For plugins to filter titles per reply/topic/user
    		$subject = apply_filters( 'bbp_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $reply_id, $topic_id, $user_id );
    		if ( empty( $subject ) )
    			continue;
    
    		// Custom headers
    		$headers = apply_filters( 'bbp_subscription_mail_headers', array() );
    
    		// Get user data of this user
    		$user = get_userdata( $user_id );
    
    		// Send notification email
    		wp_mail( $user->user_email, $subject, $message, $headers );
    	}
    
    	do_action( 'bbp_post_notify_subscribers', $reply_id, $topic_id, $user_ids );
    
    	return true;
    }
    #154491
    chrischros34
    Participant

    Hi everyone, I need help, so I am appealing to the community.
    I spent many hours trying to fix this display, but I can not.
    Version of WordPress: 4.0
    Version of bbpress: 2.5.4
    Template: WP-Critique

    I can not be specific to the forum sidebar to the racine, but I have elsewhere (subjects, answers …).
    Here is my forum http://www.googland.fr/forums/
    I carefully followed the help provided on https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ (part 8), I have certainly misunderstood.

    I created my bbpress.php based on page.php, here is the code.

    <?php get_header(); ?>
    
    	<?php global $wp_query; $postid = $wp_query->post->ID; ?>
    
    	<div id="page" class="clearfix">
    
    		<div id="contentleft">
    
    			<?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Narrow Width Featured Content Slider" ) { ?>
    				<?php include (TEMPLATEPATH . '/featured-narrow.php'); ?>
    			<?php } ?>
    
    			<?php if ( get_post_meta( $postid, 'post_featgalleries', true ) == "Yes" ) { ?>
    				<?php include (TEMPLATEPATH . '/featured-galleries.php'); ?>
    			<?php } ?>
    
    			<div id="content" class="maincontent">
    
    				<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
    
    				<?php include (TEMPLATEPATH . '/banner468.php'); ?>
    
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    				<div class="post clearfix" id="post-main-<?php the_ID(); ?>">
    
    					<div class="entry">
    
    						<h1 class="page-title"><?php the_title(); ?></h1>
    
    						<?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { ?>
    							<div class="single-video">
    								<?php echo get_post_meta( $post->ID, 'video_embed', true ); ?>
    							</div>
    						<?php } ?>
    
    						<?php the_content(); ?>
    
    						<div style="clear:both;"></div>
    
    						<?php wp_link_pages(); ?>
    
    					</div>
    
    				</div>
    
    <?php endwhile; endif; ?>
    				
    			</div>
    
    			<?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?>
    
    		</div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    Can anyone tell me how to edit the file and what I have to put into it.
    I would be very grateful for help.
    Thank you

    #154509
    Robkk
    Moderator

    @drhands

    if there really is an issue

    ask that plugins author for compatibility with bbPress in a future update

    #154508
    Robkk
    Moderator

    try this

    this removes some black padding when you reach a device width of 480px
    15px or a little bit less should be good.
    if you want more just change 15px to whatever you want.

    @media only screen and (max-width: 480px) {
    .site {
        box-shadow: 0px 2px 6px rgba(100, 100, 100, 0.3);
        margin: 48px auto;
        max-width: 960px;
        overflow: hidden;
        padding: 0px 15px;
    }
    }

    this makes your bbpress forums full width

    @media only screen and (max-width: 480px) {
    .site-content {
        background: none repeat scroll 0% 0% transparent;
        float: left;
        min-height: 150px;
        width: 100%;
    }
    }

    if you made a bbpress.php file put .bbpress in the begginning so it would be

    .bbpress .site-content

    more on creating a bbpress.php file.

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

Viewing 25 results - 17,751 through 17,775 (of 64,516 total)
Skip to toolbar