Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 24,126 through 24,150 (of 64,743 total)
  • Author
    Search Results
  • #137786
    niuserre
    Participant

    bbPress 2.4
    WP 3.6.1
    running on localhost

    I need to add a class to bb_forum_class and since 2.1 I thought that this should work:

    <?php bbp_forum_class('clearfix'); ?>

    But it’s not adding the class, can anyone tell me what I’m doing wrong please?

    I think the relevant bit of core for this is:

    function bbp_get_forum_class( $forum_id = 0, $classes = array() ) {
    		$bbp       = bbpress();
    		$forum_id  = bbp_get_forum_id( $forum_id );
    		$count     = isset( $bbp->forum_query->current_post ) ? $bbp->forum_query->current_post : 1;
    		$classes   = (array) $classes;
    
    		// Get some classes
    		$classes[] = 'loop-item-' . $count;
    		$classes[] = ( (int) $count % 2 )                      ? 'even'              : 'odd';
    		$classes[] = bbp_is_forum_category( $forum_id )        ? 'status-category'   : '';
    		$classes[] = bbp_get_forum_subforum_count( $forum_id ) ? 'bbp-has-subforums' : '';
    		$classes[] = bbp_get_forum_parent_id( $forum_id )      ? 'bbp-parent-forum-' . bbp_get_forum_parent_id( $forum_id ) : '';
    		$classes[] = 'bbp-forum-status-'     . bbp_get_forum_status( $forum_id );
    		$classes[] = 'bbp-forum-visibility-' . bbp_get_forum_visibility( $forum_id );
    
    		// Ditch the empties
    		$classes   = array_filter( $classes );
    		$classes   = get_post_class( $classes, $forum_id );
    
    		// Filter the results
    		$classes   = apply_filters( 'bbp_get_forum_class', $classes, $forum_id );
    		$retval    = 'class="' . implode( ' ', $classes ) . '"';
    
    		return $retval;
    	}
    niuserre
    Participant

    Just tried it and that doesn’t work, it updates the slug but bbPress doesn’t seem to pull its title from anywhere editable within the admin area.

    However, if just changing the word Forums to Classrooms would solve your problem then it can be done via a function. This should work but please note I’m not a developer and I haven’t bug tested this or anything.

    http://pastebin.com/uz9Ndb4i

    I added this to my WordPress theme’s functions.php (before the end ?>) and it worked. Hope it will for you too!

    niuserre
    Participant

    Could you just tell bbPress to call it Classrooms instead of Forums maybe? I mean, change the Forum Root Slug under Settings > Forums. (I have not tried this!)

    #137780
    niuserre
    Participant

    There is not an easy way to do this, as far as I know.

    You could create a private WordPress page/post that is password protected and use a bbpress shortcode to display the forum on that page but anyone who has the direct link to that forum could skip the password.

    #137779
    niuserre
    Participant

    @flash120

    Does WordPress send you other emails? Like admin notifications of comments?

    This sort of thing is usually related to your hosting and their rules for sending email from php applications, it might be a good idea to try them or to try a plugin for mail (like https://wordpress.org/plugins/easy-wp-smtp/).

    #137773

    In reply to: TAGContent error

    Stephen Edgar
    Keymaster

    Download the latest and specific vBulletin v3 importer from https://bbpress.trac.wordpress.org/ticket/2417

    https://bbpress.trac.wordpress.org/raw-attachment/ticket/2417/vBulletin3.php

    Upload with FTP to your server into to /wp-content/plugibs/bbpress/includes/admin/converters

    #137772
    damien990
    Participant

    bbpress version 2.4

    Can any body help to create a FORUM with this security?

    thanks

    #137766
    Anonymous User 5853594
    Inactive

    It is possible to use bbPress without BuddyPress. bbPress lets you add forums to your site and the groups component from BuddyPress adds functions for usergroups to have their own forums. You don’t need the groups component active to use the forums though, it just adds group functions.

    The problem of not being able to switch the group visibility is known, but there hasn’t been an update to fix it yet.

    #137764
    FreeWPress
    Participant

    Hi all, in my forum forum freshness and topic freshness is not equal, in some case is ok, but forum freshness do not show correct parameters, only topic freshness show perfetc destination url, but forum freshness link and info is not correct.

    If i click, or go in first page or last post not is correct and have another 3 o 4 post before..

    Have you this issue? In this forum bbpress.org have this issue for older posts!!

    Why??

    #137763
    asukachan
    Participant

    WordPress 3.6.1.
    bbPress 2.4
    website: animey.info

    hello,

    I´m using bbPress for my wordpress blog. But I have got a problem. I wanted to add a private and a hidden forum but when I create them with that settings it switches to “public” after publishing. I don´t want that unregisted visitors have access to this forums. Though, I read that the forums are fully and seamlessly integrated into BuddyPress Groups. I am not using BuddyPress. Could that be the problem? Or is it possible to use bbPress without BuddyPress?

    greetings
    Asuka

    #137762

    In reply to: Freshness Link

    FreeWPress
    Participant

    Hi, this is my solution:

    <div class="bbp-forum-last-topic-name"><a href="<?php bbp_forum_last_topic_permalink(); ?>" title="<?php bbp_forum_last_topic_title(); ?>"><?php bbp_forum_last_topic_title(); ?></a></div>

    Create a class in your bbpress css named bbp-forum-last-topic-name and give your personal style…

    Put all code into <li class="bbp-forum-freshness"> </li>

    #137760
    derock299
    Participant

    hello guys, am using wordpress 3.6.2 and bbpress 2.4 with pitch theme….I have been able to create my forum page fine and even send post on the forum…My problem is that users cannot register on the forum, you put your desired and email address, it goes but you don’t get confirmation on the email, and as such users cannot participate in my forum session. My website is: http://www.2twosix.com
    Please help me

    #137759
    derock299
    Participant

    I am having the same issue, I have created forum and fine but when users register, they dont get email confirmation which makes the whole forum idea useless…..please help

    Flash120
    Participant

    Hello, I am new to wordpress. I’ve ran into issues as I’ve been building a site most have been fixed after 4-20min of searching and troubleshooting. But I have been searching for this one for about 3 hours by now and I have no clue what the issue is.

    Basically registration to my site/forum doesn’t work. I put the right short codes for registration and password recovery. Once I click register it takes me to the page. I put in a user name, email, and click ”register”. Then I get taken to the sites WordPress login. No email sent, nothing. My site is koolhow.com. If anyone can help me out I would greatly appreciate it. It’s been driving me insane. :\

    Stephen Edgar
    Keymaster

    As per https://bbpress.trac.wordpress.org/ticket/2298

    Works for me. Likely related to incorrect database encoding. Are you/they able to use these characters in regular WordPress posts and/or pages?

    So if you change the URL’s back to post name do these pages work correctly?

    eg. http://ccnb.co.kr/?page_id=27 becomes http://ccnb.co.kr/오시는길

    Stephen Edgar
    Keymaster

    Thanks, this is a known issue, see https://bbpress.trac.wordpress.org/ticket/2412

    #137751
    Stephen Edgar
    Keymaster

    Just set your forums to ‘private’

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    Visibility: decide whether your forum is public, private or hidden.
    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums

    #137750
    Stephen Edgar
    Keymaster

    Try disabling all your plugins except bbPress, do you still see the issue?

    Reenable each plugin one by one until you see the issue reappear.

    Research the conflicting plugin for any one else having the same issue.

    p.s. It is most likely the ‘Threaded Replies’ plugin at a guess as bbPress 2.4 includes ‘threaded replies’ in bbPress core.

    #137748
    Manny Fleurmond
    Participant

    Find a solution to this?

    #137747

    In reply to: Feeds stop working

    Manny Fleurmond
    Participant

    Did you ever find a solution to this problem? I’m running into the same issue. My thinking on the matter is that bbPress is somehow being called early or incorrectly before your RSS is being processed.

    #137743
    purplep
    Participant

    hiya. No I had thought there was a ‘subscribe to this forum’ option, but I can’t find one.

    the only thing I can think of is to use the bbpress widgets to show new posts / threads in your side bar.

    #137735
    lazyym
    Participant

    Howdy,

    I’ve setup a basic bbpress standalone site without wordpress integration. I love the simplicity using it strictly as a trader site. Is it possible to add the editor like the one here and where do I edit language such as “Add new topic” to make it “Add new post” ?

    Thanks!

    #137731

    In reply to: missing breadcrumbs

    niuserre
    Participant

    Have you changed anything else?

    The Breadcrumbs function is in /bbpress/includes/common/template.php – is that file there?

    Also maybe try something simple like calling it bbpress.php instead of plugin-bbpress.php

    iaincrossley
    Participant

    Just replying to myself on here, given the lack of interaction, with the solution to this.

    Place the following code in your theme’s functions.php – this will allow mapping of a particular WLM membership level to the bbPress Participant level:

    function map_bbpress_user_role(){
    	//get the user class
    	$cu = wp_get_current_user();
    	$cu_roles = $cu->roles; //get the user roles
    	if(in_array("administrator", $cu_roles)) return; //disregard if admin
    
    	$isplatinumplus =  in_array("platinumplus", $cu_roles); //check if it has platinumplus role
    	$isblocked = array_search(bbp_get_blocked_role(),$cu_roles); //check if it has bbp_blocked role
    
    	if($isplatinumplus){ //if it has platinumplus role
    		$cu->add_role(bbp_get_participant_role()); //add aparticipant role
    
    		if($isblocked !== false){ //if it has bbp_blocked role
    			$cu->remove_role(bbp_get_blocked_role()); //remove it
    		}
    	}elseif($isblocked === false){ //if he is not platinumplus and dont have bbp_blocked
    		/*
    		* 	This part makes sure that only platinumplus roles have access to the forum
    		*/
    		$cu->add_role(bbp_get_blocked_role()); //add bbp_blocked
    	}
    }
    add_action('init','map_bbpress_user_role');

    I used the Members plugin to create a platinumplus user role that then mapped to the WLM level of the same name, and the above code then mapped that role to the appropriate bbPress one. Obvs, any instances of ‘platinumplus’ have to be amended to the role you are intending to map.

    KongWonWook
    Participant

    My wordpress is 3.6.1 version.
    My bbPress is 2.4 version.
    My Permalink setting is http://mySite.com/sample-post/.

    I`m Korean.
    Problem is ..
    I wrote a topic and save the topic.
    The topic list is good.
    But I can`t click the topic of Korean Title. (404 error)
    Because the topic URL is http://ccnb.co.kr/forums/topic/%C7%D1%B1%DB/.

    In this site, I wrote a topic of Korean and can click the topic.
    Help me please.

Viewing 25 results - 24,126 through 24,150 (of 64,743 total)
Skip to toolbar