Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for ' . default . '

Viewing 25 results - 3,651 through 3,675 (of 6,759 total)
  • Author
    Search Results
  • #137073
    PureLoneWolf
    Participant

    I’ll take a look, but I should point out that this issue is occurring with all themes, including the default BP theme. I am starting to think that something has gone screwy with bbPress, especially as I am unable to add any forums to the menu (the Forums page is no problem)

    I am going to download the theme that is working, and the bbpress plugin from the working site and upload over the top and see if that makes a difference.

    Cheers

    #137067
    Stephen Edgar
    Keymaster

    3. some users are twice now (like myself..who have been admins of wordpress and users of the forum). Can I simply merge them with
    UPDATE wp_posts SET post_author = ’1′ WHERE post_author = ’2′; and it will count for the forum, too?

    If a user already exists in WordPress during the import a new user will be created called ‘Imported_Username’, you can go to wp-admins user panel and when you select ‘Delete User’ you will be prompted to delete all posts or attribute them to another user, select the later and all the topics/replies etc will be attributed to the user you selected.

    4. the passwords – in WBB they are hashed by this:
    $passwort = sha1($row->salt.sha1($row->salt.sha1($_POST[‘passwort’])));
    so what do I write at the end of wbb3.php
    public function authenticate_pass( $password, $serialized_pass ) {
    $pass_array = unserialize( $serialized_pass );
    return ( $pass_array[‘hash’] == md5( md5( $password ). $pass_array[‘salt’] ) );
    }
    or is this impossible and the users have to get the new password by mail?

    I am going to look at passwords next week for all the importers as my skills with PHP are only just beginning so this is all a bit tricky for me at the moment. 😉

    So the best workaround is to have the users reset their password by email for now.

    5. the imported users have no “Forum Role”. Is is “normal”? Is there any chance to automatically give them the forum role “Participant”?

    Go to bbPress tools and run the repair tool ‘Remap existing users to default forum roles’ and that will do the trick. https://codex.bbpress.org/repair-forums/

    6. do I have to keep the wbb3.php “forever” because of the passwords or can I delete it one day, even if not all members have com back yet?

    If the passwords are not being converted you do not need to keep it, though I don’t see any issues why you would need to delete it.

    Speaking of keeping it, can we include your WBB v3 Importer and distribute it with bbPress?

    7. until now we have everything like private messages, profiles, friends and especially user groups (Moderators, crew members) with hidden forums. Do I see correct, that I can install both, import bbpress and afterwards attach for example our “Mods Only” to the group “Moderators” as group forum?

    Currently bbPress only has: 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

    I see that every user gets a new User ID – old IDs are saved in table _bbp_converter_translator – will that table be kept? Maybe by this I have a chance to later import – somehow – private messages for buddy press!?

    The translator table is not kept and the old user ID is stored in wp_usermeta as per this item in the ‘Example.php’ importer.

    https://bbpress.trac.wordpress.org/browser/trunk/includes/admin/converters/Example.php#L458

                    // Store old User id (Stored in usermeta)
    459	                $this->field_map[] = array(
    460	                        'from_tablename'  => 'users_table',
    461	                        'from_fieldname'  => 'the_users_id',
    462	                        'to_type'         => 'user',
    463	                        'to_fieldname'    => '_bbp_user_id'
    464	                );

    I’ll take closer look at the importer and structure you linked to over the weekend and post back with anything else I can think of.

    #137051

    In reply to: breadcrumbs missing

    jralston
    Participant

    I have found the template tag: `/**
    * Output a breadcrumb
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    * @uses bbp_get_breadcrumb() To get the breadcrumb
    */
    function bbp_breadcrumb( $args = array() ) {
    echo bbp_get_breadcrumb( $args );
    }
    /**
    * Return a breadcrumb ( forum -> topic -> reply )
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    *
    * @uses get_post() To get the post
    * @uses bbp_get_forum_permalink() To get the forum link
    * @uses bbp_get_topic_permalink() To get the topic link
    * @uses bbp_get_reply_permalink() To get the reply link
    * @uses get_permalink() To get the permalink
    * @uses bbp_get_forum_post_type() To get the forum post type
    * @uses bbp_get_topic_post_type() To get the topic post type
    * @uses bbp_get_reply_post_type() To get the reply post type
    * @uses bbp_get_forum_title() To get the forum title
    * @uses bbp_get_topic_title() To get the topic title
    * @uses bbp_get_reply_title() To get the reply title
    * @uses get_the_title() To get the title
    * @uses apply_filters() Calls ‘bbp_get_breadcrumb’ with the crumbs
    * @return string Breadcrumbs
    */
    function bbp_get_breadcrumb( $args = array() ) {`

    But I haven’t any idea how to use it. I know I need to add the function into functions file but I need the actual function. Then I need to call that function in the template file. Suggestions?

    #137047
    Tux Kapono
    Participant

    Per @sadr’s comment, 5 comments in, what is the BuddyPress Group Forum integration improvement? I just posted difficulties I’m having with it here: https://bbpress.org/forums/topic/how-to-change-default-forum-when-posting-new-topic/

    #137046
    Tux Kapono
    Participant

    Hi all, how does one change the default Forum for posting a new topic on the /forums page? I’d like it to be a group I created called ‘General Discussion’. I had this working fine before migrating from BuddyPress forums to bbPress.

    See http://destinationli.org/forums. The default is ‘Group Forums’, and the problem with that is that when one clicks on ‘Group Forums’ within the newly posted topic, it displays all the other groups first, with the relevant topic at the very bottom.

    Ideally, I’d like to delete ‘Group Forums’ as an option, unless I’m missing something.

    #137043
    ACEkin
    Participant

    Will it remap the existing roles “properly” and not revert everyone to whatever he default roles is? If latter, then I have to go and change some manually. If I knew how this would work I would have tried it sooner.

    I put a check mark in the box “Automatically give registered visitors the forum role” under Forum User Settings last night. As soon as I clicked Save the Forums/Topics/Replies came back. This morning they are still visible, I am not sure if that was a fix or not.

    #137035
    Kaliceos
    Participant

    Hi,

    I’m in the process of migrating a phpBB forum to WordPress with bbPress. I don’t know if the bbPress style is better but my users are used to the phpBB style for displaying Forums on the main page. So I tried to reproduce that layout in bbPress using categories. With the default theme, I was not happy with the way it looked. After a quick search in these forums, I saw some interesting topics from @lynq (here and there) but it didn’t work as intended in the last bbpress release and ticket #1958 has been moved to 2.6.

    So after a few hours of searching codex, and a lot of tries, I managed to do what I wanted. As there is still some demand in Lynq’s topic, I thought I should share my little work.

    I’m not a developper, so my code may be a little messy, but it works as intended. I’ve tried using the bbpress functions, and commented my code. If any PHP expert would like to review it and make it better, any feedback is welcome.

    The only file to change is loop-forums.php with this code.
    You just need to create it and paste the code. Then upload it to /wp-content/your-theme/bbpress/. Use a child-theme if you don’t want to loose it on next theme update.

    The forums are not yet online, so here are some screenshots with descriptions. (In French, because, as you may have noticed, English is not my native language 🙂 )

    I’ve tested many situations (even a category inside a forum, which bbpress doesn’t consider anymore as a category, probably normal behavior) and I think everything works as intended. Feel free to report any bug.

    #137027

    Did you try repairing the roles via “Tools” -> “Forums” -> “Remap existing users to default forum roles”?

    That usually works and is a fix that sticks.

    #137021
    kandrite
    Participant

    Hello!

    I can’t seem to find any answers via Google, so maybe you fine folks could help me. I just started delving into bbpress themeing. I’m basically skeletonizing the default bbpress theme so I can start working in depth with it.

    The way I have my forums structured is in three category forums, with variable amounts of subforums. The default theme uses bbp_list_forums to return an unordered list of all subforums of a category. I’ve been messing with the arguments and made each list item separated in its own div. My problem with that is only the text inside the div links to the forum, whereas I would like the entire div to be the link.

    My arguments look like so:

    		<?php bbp_list_forums( array(
    			'before'              => '<ul class="bbp-forums-list">',
            	'after'               => '</ul>',
            	'link_before'         => '<li class="bbp-forum"><a href="<?php the_permalink(); ?>"><div class="forum-list-item">',
            	'link_after'          => '</div></a></li>',
    			'count_before'        => '<div class="forum-list-item-count"><span class="forum-list-item-topics">Topics: </span>',
            	'count_after'         => '',
            	'count_sep'           => '<br><span class="forum-list-item-replies">Replies: </span>',
            	'separator'           => '<br>',
            	'forum_id'            => '',
            	'show_topic_count'    => true,
            	'show_reply_count'    => true,
    		)); ?>

    Any way I can get the permalinks to the individual subforums?

    #137015
    ACEkin
    Participant

    If a momentary outage of the forum is acceptable, disabling and then enabling bbPress also seems to fix the problem. I have also created a shortcut to each of the submenu items under Forums/Topic/Replies block. Next time I have this outage, I will try the direct shortcuts and see if that may be a workaround.

    I am curious, does the solution “Remap existing users to default forum roles” change any of the users’ roles to “default” from whatever they might be set at?

    #137009
    Zack Tollman
    Participant

    Hi there!

    I just updated to bbPress 2.4 and experienced the same problem. All titles not on bbPress pages were rendered as blank titles.

    It seems bbPress 2.4 introduced a new function that filters the wp_title function. As a temporary workaround that does not required bbPress plugin file changes, I have added the following to my theme’s functions.php:

    /**
     * Restore non bbPress page titles.
     *
     * v2.4 of bbPress introduced a bug where titles for all non-bbPress pages were blank. This function restores order
     * without overwriting the bbPress core files. It uses the exact same function as bbPress for the titles with one
     * change: if none of the bbPress queries match, it returns the original title.
     *
     * The function first removes the bbPress filter that performs this action, then uses it's own routine to determine the
     * title.
     *
     * @param  string    $title          Optional. The title (not used).
     * @param  string    $sep            Optional, default is '&raquo;'. How to separate the various items within the page title.
     * @param  string    $seplocation    Optional. Direction to display title, 'right'.
     * @return string                    Modified title.
     */
    function my_prefix_bbp_title( $title, $sep, $seplocation ) {
    	// Get rid of the core "bbp_title" filter callback
    	remove_filter( 'wp_title', 'bbp_title', 10, 3 );
    
    	// Store original title to compare
    	$_title = $title;
    
    	// Title array
    	$title = array();
    
    	/** Archives **************************************************************/
    
    	// Forum Archive
    	if ( bbp_is_forum_archive() ) {
    		$title['text'] = bbp_get_forum_archive_title();
    
    	// Topic Archive
    	} elseif ( bbp_is_topic_archive() ) {
    		$title['text'] = bbp_get_topic_archive_title();
    
    	/** Edit ******************************************************************/
    
    	// Forum edit page
    	} elseif ( bbp_is_forum_edit() ) {
    		$title['text']   = bbp_get_forum_title();
    		$title['format'] = esc_attr__( 'Forum Edit: %s', 'bbpress' );
    
    	// Topic edit page
    	} elseif ( bbp_is_topic_edit() ) {
    		$title['text']   = bbp_get_topic_title();
    		$title['format'] = esc_attr__( 'Topic Edit: %s', 'bbpress' );
    
    	// Reply edit page
    	} elseif ( bbp_is_reply_edit() ) {
    		$title['text']   = bbp_get_reply_title();
    		$title['format'] = esc_attr__( 'Reply Edit: %s', 'bbpress' );
    
    	// Topic tag edit page
    	} elseif ( bbp_is_topic_tag_edit() ) {
    		$title['text']   = bbp_get_topic_tag_name();
    		$title['format'] = esc_attr__( 'Topic Tag Edit: %s', 'bbpress' );
    
    	/** Singles ***************************************************************/
    
    	// Forum page
    	} elseif ( bbp_is_single_forum() ) {
    		$title['text']   = bbp_get_forum_title();
    		$title['format'] = esc_attr__( 'Forum: %s', 'bbpress' );
    
    	// Topic page
    	} elseif ( bbp_is_single_topic() ) {
    		$title['text']   = bbp_get_topic_title();
    		$title['format'] = esc_attr__( 'Topic: %s', 'bbpress' );
    
    	// Replies
    	} elseif ( bbp_is_single_reply() ) {
    		$title['text']   = bbp_get_reply_title();
    
    	// Topic tag page
    	} elseif ( bbp_is_topic_tag() || get_query_var( 'bbp_topic_tag' ) ) {
    		$title['text']   = bbp_get_topic_tag_name();
    		$title['format'] = esc_attr__( 'Topic Tag: %s', 'bbpress' );
    
    	/** Users *****************************************************************/
    
    	// Profile page
    	} elseif ( bbp_is_single_user() ) {
    
    		// Current users profile
    		if ( bbp_is_user_home() ) {
    			$title['text'] = esc_attr__( 'Your Profile', 'bbpress' );
    
    		// Other users profile
    		} else {
    			$title['text']   = get_userdata( bbp_get_user_id() )->display_name;
    			$title['format'] = esc_attr__( "%s's Profile", 'bbpress' );
    		}
    
    	// Profile edit page
    	} elseif ( bbp_is_single_user_edit() ) {
    
    		// Current users profile
    		if ( bbp_is_user_home_edit() ) {
    			$title['text']   = esc_attr__( 'Edit Your Profile', 'bbpress' );
    
    		// Other users profile
    		} else {
    			$title['text']   = get_userdata( bbp_get_user_id() )->display_name;
    			$title['format'] = esc_attr__( "Edit %s's Profile", 'bbpress' );
    		}
    
    	/** Views *****************************************************************/
    
    	// Views
    	} elseif ( bbp_is_single_view() ) {
    		$title['text']   = bbp_get_view_title();
    		$title['format'] = esc_attr__( 'View: %s', 'bbpress' );
    
    	/** Search ****************************************************************/
    
    	// Search
    	} elseif ( bbp_is_search() ) {
    		$title['text'] = bbp_get_search_title();
    	} else {
    		return $_title;
    	}
    
    	// This filter is deprecated. Use 'bbp_before_title_parse_args' instead.
    	$title = apply_filters( 'bbp_raw_title_array', $title );
    
    	// Set title array defaults
    	$title = bbp_parse_args( $title, array(
    		'text'   => '',
    		'format' => '%s'
    	), 'title' );
    
    	// Get the formatted raw title
    	$title = sprintf( $title['format'], $title['text'] );
    
    	// Filter the raw title
    	$title = apply_filters( 'bbp_raw_title', $title, $sep, $seplocation );
    
    	// Compare new title with original title
    	if ( $title === $_title )
    		return $title;
    
    	// Temporary separator, for accurate flipping, if necessary
    	$t_sep  = '%WP_TITILE_SEP%';
    	$prefix = '';
    
    	if ( !empty( $title ) )
    		$prefix = " $sep ";
    
    	// sep on right, so reverse the order
    	if ( 'right' === $seplocation ) {
    		$title_array = array_reverse( explode( $t_sep, $title ) );
    		$title       = implode( " $sep ", $title_array ) . $prefix;
    
    	// sep on left, do not reverse
    	} else {
    		$title_array = explode( $t_sep, $title );
    		$title       = $prefix . implode( " $sep ", $title_array );
    	}
    
    	// Filter and return
    	return apply_filters( 'bbp_title', $title, $sep, $seplocation );
    }
    
    add_filter( 'wp_title', 'my_prefix_bbp_title', 9, 3 );
    #137008
    Jamil Ahmed
    Participant

    Hi,

    I just used this shortcode [bbp-topic-tags] in widget and also in template file and its showing the tags but with <br> tag after each …. tag. Its means all tag clouds are displaying in a long list style and not displaying like wordpress default Tag cloud are displaying.

    Is this bug or please help to fix thanks

    #136998
    ManuZorch
    Participant

    Hi
    I have faced an issue that maybe some people have encountered and for which I did not find much info on the net.

    Basically the problem was that the bbpress default template that I embedded in my WP template was rendered with supplementary line breaks (<br> and <p> tags). Just as if the wpautop function was reapplied on the forum content included in the template.

    I noticed that the problem was existing on Linux if the template files had an Unix EOL : LF
    And also existing on Windows (using WAMP) if those same files had a Windows EOL : CR+LF
    I found a workaround by making the template files have a Mac End Of Line with : CR

    But I am not sure this is a clean solution
    Maybe there is something far more simple that I do not know

    Thanks

    I am using the latest 2.4 bbpress version

    #136975

    In reply to: Forums Index Issue

    dan
    Participant
    #136974
    dan
    Participant

    Where do I find “content-archive-forum.php”?

    Thanx.

    SysFailure0x5a
    Participant

    I logged in as super admin, went to those settings, and checked “Remap existing users to default forum roles”.

    I logged out of super admin and logged in as the sub-site blog admin. I still have the error…

    #136874
    Oscar Estepa
    Participant

    Not necessarily, the bbpress threaded replies plugin breaks down the pagination taking into account the “parent” replies. Here are the plugin options:

    Enable threaded replies N levels deep

    Break replies into pages with N top level replies per page and the first/last page displayed by default
    Replies should be displayed with the older/newer replies at the top of the page

    bbPress doesn’t add any bb_ tables anymore. It sounds like none of your admins have the Keymaster role.

    If you want to remap user roles, visit Tools > Forums and tick the “Remap existing users to default forum roles” box, and repair them. That will make all Administrators on that site also be Keymasters.

    If you want to automatically map regular registered users to have a role in each site’s forums, visit Settings > Forums and tick “Auto role”.

    Admittedly, the multisite integration right now isn’t ideal; you may end up building plugins to modify the exact behavior to suit your needs. If that’s the case, I’d love to read about your problem and solution, to see if there’s room for better default behaviors in bbPress core.

    highexistence
    Participant

    Is there something that needs to be added to make this new feature work? There is no nesting of replies, nor new added classes to replies that are in response to other replies. My theme is a heavily customized version of the default theme from bbPress 2.0.

    #136801
    Andrew Tegenkamp
    Participant

    We installed http://northstarfamily.org/forums/ for our church and want to have it show both the forum index and the latest topics on the main page.

    Also, I think that http://northstarfamily.org/forums/forum/homecoming-and-10th-anniversary/ should show the description and the topics but only shows the topics.

    Is this how the default is setup or do I have a possible conflict?

    #136776
    jernatety1
    Participant

    Excellent, thank you. I do know which edit to remove in page.php. I wasn’t sure what page was being called because I couldn’t find anything in the editor. Sounds good, thanks for your help.

    #136766
    Xevo
    Participant

    You can edit “content-archive-forum.php” that is as far as I know the frontpage(index) of the forums, you can also remove the search form there.

    Another option for removing the search is by turning sitewide search off in your bbpress settings.

    The forums title is a bit trickier, since it uses your page.php from your normal theme and inserts that content title. You’d have to change it there.

    #136747
    jernatety1
    Participant

    Hello,

    First I’d like to thank you for your plugin it will help very much for the new site I’m building.

    I would like to know what page is the main forum landing page. I’d like to make a few edits, such as removing the default title “Forum” at the top and replace with my site conformed titles for each page. I would also like to comment out the forum search box.

    I am currently wordpress vers 3.6 and I installed bbpress 2.4 today.
    Here is the link. http://108.167.136.97/~kitchens/forums/

    Thank you,

    Ross

    #136716
    vtroia
    Participant

    I apologize in advance if this seems like a duplicate. I’ve read a number of posts on properly creating a BBPress theme, but my CSS refuses to load. Here is how I have things setup.

    wp-content/
    ++++ main-theme-child/
    ++++ +++ bbpress.php
    ++++ +++ bbpress-functions.php
    ++++ +++ bbpress/ <- contains all of the files from the default theme.
    ++++ +++ css/bbpress.css

    For whatever reason, the css won’t load. Any thoughts?

    #136707
    apengstrom
    Participant

    So, I want to edit the new user admin notification email to include BuddyPress custom profile fields.

    This is the email currently:

    “New user registration on your site [sitetitle]:

    Username: [username]

    E-mail: [email]”

    Does anybody know how? I have tried a few plugins that are supposed to work, even one that supposedly works with BuddyPress, but I have not been able to get them to work at all. I still get the default email.

    Thanks..

Viewing 25 results - 3,651 through 3,675 (of 6,759 total)
Skip to toolbar