Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 2,126 through 2,150 (of 6,788 total)
  • Author
    Search Results
  • clarer1
    Participant

    I’d be grateful for advice about how to set up. It’s a website for an amateur choir. Currently hosted somewhere else and using a web package that is fiddly to update. So I’m looking into moving to WP. We need some pages that only choir members can view and some that are only for the committee. I could do that with something like Members plugin, but I wondered whether a bbPress forum would be a better way as it could be an easy way for the committee to post announcements and have their internal discussions. And be a way of setting up user management and privacy settings.

    I’m thinking out loud so apologies if this is muddled. If possible, what I want to happen is:

    A. Forums can only be viewed by choir and committee members.
    – Link to forum visible to everyone (eg public menu or sidebar widget).
    – Non-members not to be able to see topic titles or posts.
    – If someone isn’t logged in, they could be taken to a login/registration window or to a page telling them how to login/register.
    – Registration has to be approved, so only choir members can register (I think. But see below.)

    B. Two forums:
    1. Announcements. Committee members can start new topics and reply. Choir members can read but not reply.
    2. Private forum for committee.
    – Also hidden apart from to committee members? But doesn’t matter if choir members can see the link as long as they can’t see topic titles and messages.
    – Committee members can all start new topics and reply.

    It would be easier for the committee if they can start new topics and reply from the bbPress front end. So they don’t have to learn how to use WP backend. The less there is for them to learn, the less to put them off using it and asking me to post everyting and the less to go wrong.

    I’ve tried a dummy choir member user set as “spectator.” What’s odd is I can start new topics and post replies from that login. I thought spectator couldn’t do that.

    If that’s inevitable, another way might be in forum settings to have default registration as participant, then change committee members to moderators (which I’m not sure how to do yet.). Then have the moderators always use WP backend to create new announcements and set to closed.

    Can someone advise me what general forum settings I should use and what configuration options for the two forums please?

    And how do I make sure new members have to be approved? I think there are some WP new user approve plugins so I can find one of those. But I wondered if it was already something that can be set up in bbPress.

    To muddy the waters, I’m waiting to find out how the committee currently organises the newsletter for people interested in coming to concerts. If they do that outside their current web/host setup, fine. But I’m wondering if they’re using the current host’s subscriber interface to send newsletters. In which case I would need another category of WP user. Not sure of titles but something like:
    1. Subscriber. No access to the forum but can be sent newsletters. Doesn’t need to be approved.
    2. Choir member. Needs to be approved. Can read choir announcements forum. Can’t post.
    3. Committee member. Can read and post in both forums. Ideally from bbPress front end.
    4. Moderator? Maybe allocate this to one or two key committee members so they can authorise members instead of everything have to come through me.
    5. Admin/keymaster/wizzard of everything. Me! And hopefully someone else I can train up later.

    Sorry to be asking so much and so much detail. But it’s the detail of trying to set it up that has me lost. New to bbPress so I’m not sure whether this is possible or not. Or whether it is, but with a plugin (which?).

    I’m trying to get a dummy site set up to demonstrate to the committee, so need to be sure it is possible.

    Thank you.
    Clare

    begona.alvarezd
    Participant

    OK fixed! The problem was actually the bbPress Notify (No-Spam) plugin. The default body they set to send emails wasn’t using my desired url to the post.

    If anybody would like to know, replacing [reply-url] with [reply-replyurl] in the body email (dashboard forum settings) makes the emails attaching a link with the entire topic on it.

    (this topic can be marked as solved, my mistake not realizing another administrator installed extra plugins)

    #164318
    illwriteit
    Participant

    This is a rather huge branch off of the forum that was offered by Sceko in this topic:

    bbPress like Flarum

    The default view shows all topics, color coded with a unique font awesome icon assigned to each category.

    View One

    If you click on one of the main categories, whether it be public, support, or the restricted area, it will now show all topics including children forums of that particular category in this view. It also shows all children forums of that category as well:

    View 2

    Last but not least the reply look for viewing a topic shows not only the badges from mycred, but the picture rank as well.

    Topic view

    Robkk
    Moderator

    I think the the urls to the replies should be okay by default.

    Are you using a plugin for custom reply notifications?? I know some may have a wrong shortcode in place of the notification emails for new replies in topics that would link to the single replies.

    #165774
    nr.duncan
    Participant

    Hi all I know this question has been asked many a time but nothing I try seems to work

    I have a client who has an existing site that is hugely based around a bbPress forum

    I have moved the forum and all users over using these plugins

    Cimy User Manager
    https://wordpress.org/plugins/cimy-user-manager/
    First used Cimy so that when I imported the forums the correct users would be present to prevent author issues.

    bbPress Import / Export
    https://github.com/pippinsplugins/bbPress-Export-and-Import
    Next used this import export plugin only allows you to do one forum at a time and was hard to find the initial export spot (you have to go forum>”forum name”>On the right hand side under update it will be there). To import you must create the forum first and then in the same spot where you found the export button is the import button

    Found these fixes for the plugin on this forum post

    bbpress wp4 fix2

    bbpress wp4 fix

    Integrating bbPress with the Warp7 framework

    Next I installed my theme
    http://yootheme.com/demo/wordpress/frequency

    Then I did this:

    “copy the /wp-content/plugins/bbpress/templates/default/bbpress folder into the /wp-content/themes/my-theme/ folder and then copying the files from /wp-content/plugins/bbpress/templates/default/bbpress/extras/ into the /wp-content/themes/my-theme/ folder”

    So this fixed most of my major issues except a couple

    First off every user profile page looks like this
    http://screencast.com/t/26t9FgsH0maC
    and doesnt populate with the correct information that can be seen on the current site
    Every user you click comes to a profile page where there name is just profile

    The other problem I have is how can I now style this page the transparent background isnt really a possibility with this theme

    If anyone can help me out that would be great

    Thanks

    Worpress version: 4.3
    bbPress version: 2.5.8

    #166105

    In reply to: MyBB 1.8 to bbpress

    erich199
    Participant

    Here is the fix I worked out to get the importer to work properly.

    The problem I was having was the user accounts were not being imported due to some outdated usermeta fields in the database. I simply removed the sql code from the current importer script, re-ran, and it worked correctly.

    I wanted to share the code of that mybb import script. The file name is Mybb.php.

    
    <?php
    
    /**
     * Implementation of MyBB Forum converter.
     *
     * @since bbPress (r5140)
     * @link Codex Docs https://codex.bbpress.org/import-forums/mybb
     */
    class MyBB extends BBP_Converter_Base {
    
    	/**
    	 * Main Constructor
    	 *
    	 * @uses MyBB::setup_globals()
    	 */
    	function __construct() {
    		parent::__construct();
    		$this->setup_globals();
    	}
    
    	/**
    	 * Sets up the field mappings
    	 */
    	public function setup_globals() {
    
    		/** Forum Section *****************************************************/
    
    		// Forum id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'forums',
    			'from_fieldname' => 'fid',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_forum_id'
    		);
    
    		// Forum parent id (If no parent, then 0, Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'forums',
    			'from_fieldname'  => 'pid',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_forum_parent_id'
    		);
    
    		// Forum topic count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'forums',
    			'from_fieldname' => 'threads',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_topic_count'
    		);
    
    		// Forum reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'forums',
    			'from_fieldname' => 'posts',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_reply_count'
    		);
    
    		// Forum title.
    		$this->field_map[] = array(
    			'from_tablename' => 'forums',
    			'from_fieldname' => 'name',
    			'to_type'        => 'forum',
    			'to_fieldname'   => 'post_title'
    		);
    
    		// Forum slug (Clean name to avoid conflicts)
    		$this->field_map[] = array(
    			'from_tablename'  => 'forums',
    			'from_fieldname'  => 'name',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    
    		// Forum description.
    		$this->field_map[] = array(
    			'from_tablename'  => 'forums',
    			'from_fieldname'  => 'description',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_null'
    		);
    
    		// Forum display order (Starts from 1)
    		$this->field_map[] = array(
    			'from_tablename' => 'forums',
    			'from_fieldname' => 'disporder',
    			'to_type'        => 'forum',
    			'to_fieldname'   => 'menu_order'
    		);
    
    		// Forum dates.
    		$this->field_map[] = array(
    			'to_type'      => 'forum',
    			'to_fieldname' => 'post_date',
    			'default'      => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type'      => 'forum',
    			'to_fieldname' => 'post_date_gmt',
    			'default'      => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type'      => 'forum',
    			'to_fieldname' => 'post_modified',
    			'default'      => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type'      => 'forum',
    			'to_fieldname' => 'post_modified_gmt',
    			'default'      => date('Y-m-d H:i:s')
    		);
    
    		/** Topic Section *****************************************************/
    
    		// Topic id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'threads',
    			'from_fieldname' => 'tid',
    			'to_type'        => 'topic',
    			'to_fieldname'   => '_bbp_topic_id'
    		);
    
    		// Topic reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'replies',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_reply_count',
    			'callback_method' => 'callback_topic_reply_count'
    		);
    
    		// Topic total reply count (Includes unpublished replies, Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'replies',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_total_reply_count',
    			'callback_method' => 'callback_topic_reply_count'
    		);
    
    		// Topic parent forum id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'fid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Topic author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'uid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Topic Author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'ipaddress',
    			'join_tablename'  => 'threads',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING (tid) WHERE replyto = 0',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_author_ip'
    		);
    
    		// Topic content.
    		// Note: We join the 'posts' table because 'threads' table does not have content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'message',
    			'join_tablename'  => 'threads',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING (tid) WHERE replyto = 0',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    		// Topic title.
    		$this->field_map[] = array(
    			'from_tablename' => 'threads',
    			'from_fieldname' => 'subject',
    			'to_type'        => 'topic',
    			'to_fieldname'   => 'post_title'
    		);
    
    		// Topic slug (Clean name to avoid conflicts)
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'subject',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    
    		// Topic parent forum id (If no parent, then 0)
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'fid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Sticky status (Stored in postmeta))
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'sticky',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_old_sticky_status',
    			'callback_method' => 'callback_sticky_status'
    		);
    
    		// Topic dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'dateline',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'dateline',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'lastpost',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'lastpost',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'lastpost',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_last_active_time',
    			'callback_method' => 'callback_datetime'
    		);
    
    		// Topic status (Open or Closed, MyBB v1.6.10 open = null & closed = 1)
    		$this->field_map[] = array(
    			'from_tablename'  => 'threads',
    			'from_fieldname'  => 'closed',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_status',
    			'callback_method' => 'callback_topic_status'
    		);
    
    		/** Tags Section ******************************************************/
    
    		/**
    		 * MyBB v1.6.10 Forums do not support topic tags out of the box
    		 */
    
    		/** Reply Section *****************************************************/
    
    		// Reply id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'pid',
    			'from_expression' => 'WHERE replyto != 0',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_post_id'
    		);
    
    		// Reply parent forum id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'fid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_topicid_to_forumid'
    		);
    
    		// Reply parent topic id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'tid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_topic_id',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'posts',
    			'from_fieldname' => 'ipaddress',
    			'to_type'        => 'reply',
    			'to_fieldname'   => '_bbp_author_ip'
    		);
    
    		// Reply author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'uid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Reply title.
    		$this->field_map[] = array(
    			'from_tablename' => 'posts',
    			'from_fieldname' => 'subject',
    			'to_type'        => 'reply',
    			'to_fieldname'   => 'post_title'
    		);
    
    		// Reply slug (Clean name to avoid conflicts)
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'subject',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    
    		// Reply content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'message',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    		// Reply parent topic id (If no parent, then 0)
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'tid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'dateline',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'dateline',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'edittime',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'posts',
    			'from_fieldname'  => 'edittime',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    
    		/** User Section ******************************************************/
    
    		// Store old User id (Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'uid',
    			'to_type'        => 'user',
    			'to_fieldname'   => '_bbp_user_id'
    		);
    
    		// Store old User password (Stored in usermeta serialized with salt)
    		$this->field_map[] = array(
    			'from_tablename'  => 'users',
    			'from_fieldname'  => 'password',
    			'to_type'         => 'user',
    			'to_fieldname'    => '_bbp_password',
    			'callback_method' => 'callback_savepass'
    		);
    
    		// Store old User Salt (This is only used for the SELECT row info for the above password save)
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'salt',
    			'to_type'        => 'user',
    			'to_fieldname'   => ''
    		);
    
    		// User password verify class (Stored in usermeta for verifying password)
    		$this->field_map[] = array(
    			'to_type'      => 'users',
    			'to_fieldname' => '_bbp_class',
    			'default'      => 'MyBB'
    		);
    
    		// User name.
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'username',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_login'
    		);
    
    		// User nice name.
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'username',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_nicename'
    		);
    
    		// User email.
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'email',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_email'
    		);
    
    		// User homepage.
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'website',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_url'
    		);
    
    		// User registered.
    		$this->field_map[] = array(
    			'from_tablename'  => 'users',
    			'from_fieldname'  => 'regdate',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_registered',
    			'callback_method' => 'callback_datetime'
    		);
    
    		// User display name.
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'usertitle',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'display_name'
    		);
    
    		// Store Signature (Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'users',
    			'from_fieldname' => 'signature',
    			'to_type'        => 'user',
    			'to_fieldname'   => '_bbp_mybb_user_sig',
    			'callback_method' => 'callback_html'
    		);
    
    	}
    
    	/**
    	 * This method allows us to indicates what is or is not converted for each
    	 * converter.
    	 */
    	public function info()
    	{
    		return '';
    	}
    
    	/**
    	 * This method is to save the salt and password together.  That
    	 * way when we authenticate it we can get it out of the database
    	 * as one value. Array values are auto sanitized by WordPress.
    	 */
    	public function callback_savepass( $field, $row )
    	{
    		$pass_array = array( 'hash' => $field, 'salt' => $row['salt'] );
    		return $pass_array;
    	}
    
    	/**
    	 * This method is to take the pass out of the database and compare
    	 * to a pass the user has typed in.
    	 */
    	public function authenticate_pass( $password, $serialized_pass )
    	{
    		$pass_array = unserialize( $serialized_pass );
    		return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
    	}
    
    	/**
    	 * Translate the post status from MyBB v1.6.10 numeric's to WordPress's strings.
    	 *
    	 * @param int $status MyBB v1.6.10 numeric topic status
    	 * @return string WordPress safe
    	 */
    	public function callback_topic_status( $status = 0 ) {
    		switch ( $status ) {
    			case 1 :
    				$status = 'closed';
    				break;
    
    			case 0  :
    			default :
    				$status = 'publish';
    				break;
    		}
    		return $status;
    	}
    
    	/**
    	 * Translate the topic sticky status type from MyBB v1.6.10 numeric's to WordPress's strings.
    	 *
    	 * @param int $status MyBB v1.6.10 numeric forum type
    	 * @return string WordPress safe
    	 */
    	public function callback_sticky_status( $status = 0 ) {
    		switch ( $status ) {
    			case 1 :
    				$status = 'sticky';       // MyBB Sticky 'topic_sticky = 1'
    				break;
    
    			case 0  :
    			default :
    				$status = 'normal';       // MyBB Normal Topic 'topic_sticky = 0'
    				break;
    		}
    		return $status;
    	}
    
    	/**
    	 * Verify the topic/reply count.
    	 *
    	 * @param int $count MyBB v1.6.10 topic/reply counts
    	 * @return string WordPress safe
    	 */
    	public function callback_topic_reply_count( $count = 1 ) {
    		$count = absint( (int) $count - 1 );
    		return $count;
    	}
    
    }
    

    Hope this helps someone else who is switching over from MyBB to WordPress.

    #166069
    nanomamnews
    Participant

    It doesn’t work with a default theme.

    Also, if the user isn’t logged in at all, he can see the forums without a 404. (they are all empty, but at least it works)

    #166054
    Robkk
    Moderator

    With a default theme as your active them , deactivate all plugins but bbPress then see if the issue is still present.

    An update to any of the plugins could cause issues with bbPress.

    Start activating the plugins the kleo theme support suggested one by one, then go from there to see what is causing an issue.

    #166053
    nblxhd
    Participant

    On the default theme does not work too.

    #166028
    Schuitema
    Participant

    Hi

    Please help, the bbpress search widgets bring up everything but my forum topics and replies, it also seems to replicate the results many times over, some 76 pages worth of repeated results.

    I have search sor a solution to no end, and have narrowed it down to be a problem with my theme, as it works perfectly on a default wp theme, my theme developer isn’t responding to any request for support unfortunately, is there anyone here who could help me figure this out.

    Please.

    For Games
    Participant

    Hello, everybody, this is my resolution:
    first, i have my own plugin, named ‘sc64’. then add these php code to my plugin.

    
    add_filter('bbp_get_do_not_reply_address','scap_bbp_no_reply_email');
    function scap_bbp_no_reply_email(){
    	$admin_email = get_option('admin_email');
        return $admin_email;
    }
    

    the default noreply email address has changed to admin_email that configured in wordpress.

    i hope this helps.

    #166000

    In reply to: Add/Change User roles

    Robkk
    Moderator

    @sbskamey

    at the very end of this function function custom_capabilities( $role )

    You see this

    );
     
                break;
     
            default :
                return $role;
        }

    Well your missing a } at the very end.

    the end of the function should look like this.

    );
     
                break;
     
            default :
                return $role;
        }
    }
    #165996
    stryke23x
    Participant

    Hello,

    I am trying to get a sidebar to show in BBpress and it won’t appear. The forum main page is located here:

    http://aespeakers.com/forums/

    Under the “forums” page editor I have tried selecting both “default” and “right sidebar” as templates. I have Custom Sidebars installed which works fine now for other pages and the online store. The issue here is that I cannot get ANY sidebar to show in bbpress even if custom sidebars is disabled.

    Page layout is set to have Right Sidebar. In the sidebars section I can select from Main Sidebar or bbPress Sidebar but neither will show in this case. The sidebar also does not show in the archive, individual forums, or topics within the forums.

    I am using WP 4.3 running the SmartMag Theme. It seems this should work as it is shown working here.

    http://theme-sphere.com/smart-mag/forums/

    #165973

    In reply to: Add/Change User roles

    sbskamey
    Participant

    Hi Robkk, I’d like to change the capabilities for the roles, so I think adding the new roles would be better.

    When I move my code to my Child Theme, my website goes blank.

    Do you know if theres something that I’m missing?

    This is my Child Theme with the 3 new role and new capabilities in it… (when I add this code to the core bbpress files, it works, but now that I moved it to my Child Theme, my site goes blank).

    <?php
    
    // enqueue the child theme stylesheet
    
    Function wp_schools_enqueue_scripts() {
    wp_register_style( 'childstyle', get_stylesheet_directory_uri() . '/style.css'  );
    wp_enqueue_style( 'childstyle' );
    }
    add_action( 'wp_enqueue_scripts', 'wp_schools_enqueue_scripts', 11);
    
    //code to add roles 
     
    function add_new_roles( $bbp_roles )
    {
        /* Add a role called team member */
        $bbp_roles['bbp_teammember'] = array(
            'name' => 'Team Member',
            'capabilities' => custom_capabilities( 'bbp_teammember' )
            );
     
        /* Add a role called teammember */
        $bbp_roles['bbp_communitymember'] = array(
            'name' => 'Community Member',
            'capabilities' => custom_capabilities( 'bbp_communitymember' )
            );
            
        /* Add a role called ambassador */
        $bbp_roles['bbp_ambassador'] = array(
            'name' => 'Ambassador',
            'capabilities' => custom_capabilities( 'bbp_ambassador' )
            );
     
        return $bbp_roles;
    }
     
    add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 );
     
    function add_role_caps_filter( $caps, $role )
    {
        /* Only filter for roles we are interested in! */
        if( $role == 'bbp_teammember' )
            $caps = custom_capabilities( $role );
     
        if( $role == 'bbp_communitymember' )
            $caps = custom_capabilities( $role );
            
        if( $role == 'bbp_ambassador' )
            $caps = custom_capabilities( $role );
     
        return $caps;
    }
     
    add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
     
    function custom_capabilities( $role )
    {
        switch ( $role )
        {
     
            /* Capabilities for 'teammember' role */
            case 'bbp_teammember':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => true,
                    'throttle'              => true,
                    'view_trash'            => true,
     
                    // Forum caps
                    'publish_forums'        => true,
                    'edit_forums'           => true,
                    'edit_others_forums'    => true,
                    'delete_forums'         => true,
                    'delete_others_forums'  => true,
                    'read_private_forums'   => true,
                    'read_hidden_forums'    => true,
     
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => true,
                    'edit_others_topics'    => true,
                    'delete_topics'         => true,
                    'delete_others_topics'  => true,
                    'read_private_topics'   => true,
     
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => true,
                    'edit_others_replies'   => true,
                    'delete_replies'        => true,
                    'delete_others_replies' => true,
                    'read_private_replies'  => true,
     
                    // Topic tag caps
                    'manage_topic_tags'     => true,
                    'edit_topic_tags'       => true,
                    'delete_topic_tags'     => true,
                    'assign_topic_tags'     => true,
                );
     
                /* Capabilities for 'communitymember' role */
            case 'bbp_communitymember':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => false,
                    'throttle'              => false,
                    'view_trash'            => false,
     
                    // Forum caps
                    'publish_forums'        => false,
                    'edit_forums'           => false,
                    'edit_others_forums'    => false,
                    'delete_forums'         => false,
                    'delete_others_forums'  => false,
                    'read_private_forums'   => false,
                    'read_hidden_forums'    => false,
     
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => false,
                    'edit_others_topics'    => false,
                    'delete_topics'         => false,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => false,
     
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => false,
                    'edit_others_replies'   => false,
                    'delete_replies'        => false,
                    'delete_others_replies' => false,
                    'read_private_replies'  => false,
     
                    // Topic tag caps
                    'manage_topic_tags'     => false,
                    'edit_topic_tags'       => false,
                    'delete_topic_tags'     => false,
                    'assign_topic_tags'     => true,
                );
                
    
                /* Capabilities for 'ambassador' role */
            case 'bbp_ambassador':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => false,
                    'throttle'              => false,
                    'view_trash'            => false,
     
                    // Forum caps
                    'publish_forums'        => false,
                    'edit_forums'           => false,
                    'edit_others_forums'    => false,
                    'delete_forums'         => false,
                    'delete_others_forums'  => false,
                    'read_private_forums'   => false,
                    'read_hidden_forums'    => false,
     
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => false,
                    'edit_others_topics'    => false,
                    'delete_topics'         => false,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => false,
     
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => false,
                    'edit_others_replies'   => false,
                    'delete_replies'        => false,
                    'delete_others_replies' => false,
                    'read_private_replies'  => false,
     
                    // Topic tag caps
                    'manage_topic_tags'     => false,
                    'edit_topic_tags'       => false,
                    'delete_topic_tags'     => false,
                    'assign_topic_tags'     => true,
                );
     
                break;
     
            default :
                return $role;
        }
    #165964
    pazzaglia
    Participant

    Rob thanks for the plug-in, which I will use immediately, BUT how is it that it’s not considered a security issue to be giving out “confidential” e-mail addresses Via the BCC field?

    It’s a big breach of privacy.

    This should be fixed at the core! When spammers get wind of this all they need to do is reply or subscribe to a post topic to snag e-mail addresses of participants. They will.

    I don’t want my e-mail address given away and both the BBPress forums and WordPress forums appear NOT to do this while the the default behavior of this application on any other wordpress installation DOES.

    Please consider this carefully for addition into the WordPress core.

    Ciao,

    L

    #165949

    In reply to: Add/Change User roles

    Robkk
    Moderator

    this is great. thanks Robkk. Just one question… Do I put this into the bbpress.php file in the bbpress folder?

    No. Also the bbpress.php file should be in the root of your theme.

    I added it here: wp-content/plugins/bbpress/templates/default/bbpress

    Just checking if that is correct?

    Don’t mess with any core files.

    Okay so I put the above code in here and it seems to work:

    plugins > bbpress > includes > users

    Again, just checking if that is correct?

    Don’t mess with any core files.

    Here, I forgot I did this a while back. Add this to your functions.php file in your child theme.

    function rk_show_role_classes($classes) {
        $replyid = bbp_get_reply_author_id();
        $bbp_get_role = bbp_get_user_display_role($replyid);
        $bbp_display_role = strtolower($bbp_get_role);
    	  
      
    	$classes[] = $bbp_display_role;
    	return $classes;
    }
    add_filter( 'bbp_get_topic_class','rk_show_role_classes' );
    add_filter( 'bbp_get_reply_class','rk_show_role_classes' );

    Do the CSS I said before for the above code.

    It would be something like this but for each role.

    .ambassador .bbp-author-role {
      background-color: blue;
    }

    And if you do not need custom roles but instead just role names, lets say for each role it would be like this.

    Keymaster -> Ambassador
    Moderator -> Team Member
    Participant -> Community Member

    You can just change the role names using this function. Add it to your child themes functions.php file. And rename My Custom Role to what you want.

    add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );
    function ntwb_bbpress_custom_role_names() {
    	return array(
    		// Keymaster
    		bbp_get_keymaster_role() => array(
    			'name'         => 'My Custom Keymaster Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
    		),
    		// Moderator
    		bbp_get_moderator_role() => array(
    			'name'         => 'My Custom Moderator Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
    		),
    		// Participant
    		bbp_get_participant_role() => array(
    			'name'         => 'My Custom Participant Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    		),
    		// Spectator
    		bbp_get_spectator_role() => array(
    			'name'         => 'My Custom Spectator Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
    		),
    		// Blocked
    		bbp_get_blocked_role() => array(
    			'name'         => 'My Custom Blocked Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
    		)
    	);
    }

    Oh and quit trying to copy Ultimate Members site, try to have a unique website.

    #165947
    Robkk
    Moderator

    @ximie90

    do you know that the default WordPress login page is yoursite.com/wp-login.php and the direct link to the WordPress backend (Administration area) is yoursite.com/wp-admin?

    So you renamed wp-login.php to newadmin. And after you login you are redirected to the dashboard at wp-admin.

    I am starting to think this is not really an issue.

    I also did test the dashboard access plugin and didn’t really see an issue from it either. Maybe the redirect url you inputted in that plugin may be causing an issue?? I am not sure.

    pazzaglia
    Participant

    When I receive a default e-mail alert of a topic or reply from BBPress, if I view the e-mail’s full header the e-mail addresses of all the subscribed users in that topic are visible.

    This is not just the admin alerts, also users are seeing this.

    Please fix!!

    #165923
    Eslam Yosef
    Participant

    Hi,

    I’m making a multi-languages website, and I’m starting with English (original), Arabic and Chinese. My team includes original speakers of each language so we can have a good view of which words are for humans and which are not.

    The Arabic translation (which located here) is suck .. really!

    I tried to edit the translation and download the new files, but I can’t because there’s a current translation I don’t want it.

    Since I can’t create the file myself, my question is:

    How can I make my own translation in the same way and download only what I translated?

    Thanks in advance!

    Robkk
    Moderator

    Try some troubleshooting it could be your theme conflicting with bbPress. Try a default theme temporarily to see if is in fact bbPress causing the issue with any scripts.

    Troubleshooting

    Contact the theme author if it just your theme, and see if they have a fix for users that want to use bbPress.

    The debug information you got is explained here.

    bbp_setup_current_user was called incorrectly

    Robkk
    Moderator

    Any plugin that hooks into the default WordPress registration and adds special fields should add fields also to the bbPress registration form.

    A plugin like this could add extra fields.

    https://wordpress.org/plugins/cimy-user-extra-fields/

    This site uses the [bbp-login] shortcode and there is a message on the registration page that says this site uses the same registration details as WordPress.org.

    #165867
    Robkk
    Moderator

    Heck I might not need to, it may already be in the next major release.

    If you go to this sites new topic page, you will see the forum dropdown does not show the (no forum), it just displays the first form in the list by default.

    Create New Topic

    Will check to make sure later though.

    #165860
    geog272
    Participant

    That would be great — thank you for creating a ticket. Your suggestion of having the default text be “choose forum” is perfect.

    #165837
    Robkk
    Moderator

    is it possible to make the “Forum” dropdown menu a required field, and to require that in that drop down users choose a forum and not be able to choose “no forums” (which currently shows as the the default option).

    I will create a trac ticket for this later today. It might be best for it to be required and for the default text to be “choose forum” instead.

    You can create a button to your new topic page easily by using the text widget provided from WordPress, and adding this simple HTML.

    <a href="http://yoursite.com/new-topic" class="button">New Topic</a>

    #165819
    geog272
    Participant

    Hi there, I am wondering this as well — using the short code [bbp-topic-form] is it possible to make the “Forum” dropdown menu a required field, and to require that in that drop down users choose a forum and not be able to choose “no forums” (which currently shows as the the default option).

Viewing 25 results - 2,126 through 2,150 (of 6,788 total)
Skip to toolbar