Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 12,626 through 12,650 (of 26,873 total)
  • Author
    Search Results
  • #124433
    TheTwister
    Participant

    Hello,

    I have made a theme for WordPress. Are there any video tutorials that can show me how to add buddy press into my custom theme?

    knaveenchand
    Participant

    Thanks for the hint provided by @Rafael. I would like to add here that in order to keep the change in tact, it is better to edit it through our functions.php file in our theme directory so that even if bbpress gets updated, our changes remain intact. So I created these two functions along add_filter functions:

    /**
     * The main forum loop. THIS IS CUSTOMISED TO ORDERBY TITLE INSTEAD OF MENU_ID
     *
     * WordPress makes this easy for us.
     *
     * @since bbPress (r2464)
     *
     * @param mixed $args All the arguments supported by {@link WP_Query}
     * @uses WP_Query To make query and get the forums
     * @uses bbp_get_forum_post_type() To get the forum post type id
     * @uses bbp_get_forum_id() To get the forum id
     * @uses get_option() To get the forums per page option
     * @uses current_user_can() To check if the current user is capable of editing
     *                           others' forums
     * @uses apply_filters() Calls 'bbp_has_forums' with
     *                        bbPres::forum_query::have_posts()
     *                        and bbPres::forum_query
     * @return object Multidimensional array of forum information
     */
    function mybbp_has_forums( $args = '' ) {
    	$bbp = bbpress();
    
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Check if user can read private forums
    	if ( current_user_can( 'read_private_forums' ) )
    		$post_stati[] = bbp_get_private_status_id();
    
    	// Check if user can read hidden forums
    	if ( current_user_can( 'read_hidden_forums' ) )
    		$post_stati[] = bbp_get_hidden_status_id();
    
    	// The default forum query for most circumstances
    	$defaults = array (
    		'post_type'      => bbp_get_forum_post_type(),
    		'post_parent'    => bbp_is_forum_archive() ? 0 : bbp_get_forum_id() ,
    		'post_status'    => implode( ',', $post_stati ),
    		'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
    		'orderby'        => 'title',
    		'order'          => 'ASC'
    	);
    	$bbp_f = bbp_parse_args( $args, $defaults, 'has_forums' );
    
    	// Run the query
    	$bbp->forum_query = new WP_Query( $bbp_f );
    
    	return apply_filters( 'mybbp_has_forums', $bbp->forum_query->have_posts(), $bbp->forum_query );
    }
    add_filter('bbp_has_forums','mybbp_has_forums');
    
    //this is CUSTOMIZED to just get the subforums ordered by title instead of menu_id
    
    function myybbp_forum_get_subforums( $args = '' ) {
    
    	// Use passed integer as post_parent
    	if ( is_numeric( $args ) )
    		$args = array( 'post_parent' => $args );
    
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Super admin get whitelisted post statuses
    	if ( is_super_admin() ) {
    		$post_stati = array( bbp_get_public_status_id(), bbp_get_private_status_id(), bbp_get_hidden_status_id() );
    
    	// Not a super admin, so check caps
    	} else {
    
    		// Check if user can read private forums
    		if ( current_user_can( 'read_private_forums' ) ) {
    			$post_stati[] = bbp_get_private_status_id();
    		}
    
    		// Check if user can read hidden forums
    		if ( current_user_can( 'read_hidden_forums' ) ) {
    			$post_stati[] = bbp_get_hidden_status_id();
    		}
    	}
    
    	$defaults = array(
    		'post_parent'    => 0,
    		'post_type'      => bbp_get_forum_post_type(),
    		'post_status'    => implode( ',', $post_stati ),
    		'posts_per_page' => get_option( '_bbp_forums_per_page', 50 ),
    		'orderby'        => 'title',
    		'order'          => 'ASC'
    	);
    	$r = bbp_parse_args( $args, $defaults, 'forum_get_subforums' );
    	$r['post_parent'] = bbp_get_forum_id( $r['post_parent'] );
    
    	// No forum passed
    	$sub_forums = !empty( $r['post_parent'] ) ? get_posts( $r ) : '';
    
    	return apply_filters( 'mybbp_forum_get_sub_forums', (array) $sub_forums, $args );
    }
    add_filter('bbp_forum_get_sub_forums','mybbp_forum_get_sub_forums');
    

    This may not be elegant solution but it saves us from the annoying impacts on bbpress updates.

    I would love to hear from developers on this forum on how best this can be implemented without copy-pasting the entire function just to change one small variable and then giving it a new function name and then adding filters. Is there a better way, friends?

    #124409
    Lachdahnan
    Participant

    WP: 3.4.2
    BB: 2.2.3
    http://www.grumpybread.com/forums/forum/grumpy-forums/
    Tested on Nightly x64 and Opera x64 browser.

    No login or register button is showing. It just says:
    You must be logged in to create new topics.

    Any idea why this is not working?

    Posting as admin seems to work fine. And if I check the box ‘allow anyone to post’ then it works.

    I did try googling help and did try some other fixes but they either did not work, I did not fully understand what to do, the links were broken or I just missed something. I am new to the entire WP scene and now I do seem to be stuck.

    Here is where I have looked so far:

    BBpress new user registration

    Single Registration for WP and BBPress

    http://wordpress.org/support/topic/login-for-users-of-bbpress-forum

    http://www.webhostinghub.com/support/website/bbpress/tutorial-on-enabling-user-registration-in-bbpress

    Users can't reply or create posts

    How do people register?

    How to get users to be able to post in forums

    My bbpress is useless if users can't register…and no one can help?

    How can forum visitors register or log in?

    after install, user registration, new posts and viewing themes are not working

    No login/register button link on forum page

    Make a new login page

    Thanks.

    #124398
    yamaden
    Participant

    Wordpress Version: Latest
    bbPress version: Latest

    Hello, I cannot post a topic in Japanese when I use a theme called ExtraNews I purchased. With the theme whenever I type a word and hit space key to convert the word into Japanese, the page automatically starts re-loading itself. It doesn’t happen with TwentyEleven theme. Could you tell me how to fix this issue?

    http://www.thestardust.us/forums/forum/classified/buy-and-sell/

    Thank you.

    #124395
    SydneyDesigner
    Participant

    Can anyone help with this please?

    1. What is the bbp function that gives me the bbP Topic Post ID for the bbP topic that is currently being shown within a Buddypress group page.

    2. What is bbp function that returns value true when a bbP Topic is currently being shown within a BuddyPress group page?

    Thanks in advance.

    #124386
    Gegeadmin2
    Participant

    Hi I tried to activate bbpress on one of my sites and got this message:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    Warning: Invalid argument supplied for foreach() in /home/content/80/7104980/html/wordpress/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453

    which appears on my WP dashboard as well as on the site itself.
    Any try to access another page of the dashboard logs me out.
    Any help would be appreciated.
    Thansk
    G

    #124335
    Stephen Edgar
    Keymaster

    Just as a thought in that it wouldn’t hurt to try is to compare some of the latest and previous versions of bbPress to isolate if it is an IIS issue or a bbPress issue for certain.

    The latest /trunk (overnight changes are always expected):
    https://bbpress.trac.wordpress.org/browser/trunk

    Also try 2.0, 2.1 or any build really via https://bbpress.trac.wordpress.org/browser/tags

    (Each page has a ‘.zip’ link to download the particular build)

    #124333
    Stephen Edgar
    Keymaster

    If you have a look at the details on the ticket you created we are not able to reproduce this so the ticket has been closed. If you can provide detailed steps to reproduce the issue reopen the ticket and post those details to the ticket.

    https://bbpress.trac.wordpress.org/ticket/2071

    #124325
    heylookitsmewow
    Participant

    This is what I posted in the WordPress forum, maybe this will be more clear.

    I want the forum and topics to have the tree structure in the permalinks. Is there a way to get the bbPress permalink structure to look like this:

    When viewing a forum:

    Instead of: /forums/forum/forum-slug/

    I want it to be: /forum/forum-slug/

    When viewing a topic:

    /forums/topic/topic-slug/

    /forum/forum-slug/topic-slug/

    #124316
    Lynq
    Participant

    Have you copied the bbPress compat theme files out of the plugin and into your WordPress theme?

    #124309

    Something is broken in your permalink settings. Do you have WordPress installed in a “blog” folder off the root of your site, with pretty permalinks turned off?

    #124240
    Stephen Edgar
    Keymaster

    My apologies, I meant to write this quite a few hours ago πŸ˜‰

    It has been quite a while since I last configured an IIS server for WordPress so I am a bit rusty in this regard. The details of what I am using at on the install I referred to above:

    – Windows 2008 Server SP2, IIS 7.0, MySQL 5.1, PHP 5.2.14

    I don’t see the Windows 7 vs Server 2008 R2 being an issue nor IIS 7.0 vs 7.5 as the current version of ‘IIS URL Rewrite Module 2’ is still the most current version.

    Here is my web.config file for that site created within IIS (I have made no manual config changes to the file etc) when I created the site above.

    #124199
    heylookitsmewow
    Participant

    On wordpress version 3.5 and bbPress 2.2.3 is there a way to tweak the permalinks on bbPress so they look like

    when viewing forum: /forum/”forum name”/

    when viewing a topic: /forum/”forum name”/”topic name”/

    #124193
    bbarton
    Participant

    Having trouble copying over the template. I basically want to use a different header file called get_header(‘bb’) for the BB templates. I read the codex and a few other post and no luck. Here’s what I’ve done:

    Uploaded most recent bbPress Plugin and WordPress install

    This is what bb plugin tree looks like:

    -includes
    -languages
    -templates
    –default
    —bbpress FOLDER
    —css FOLDER
    —extras FOLDER
    —js FOLDER
    bbpress-functions.php

    From my understanding of the bb theme-compatability codex, I copied the contents of the extras folder into a folder in my theme called bbpress.

    I added add_theme_support( ‘bbpress’ ); to the after_setup_theme hook

    Now it should work!?! Should I be copying the contents of default folder into the bbpress folder of my theme?

    #124192
    Stephen Edgar
    Keymaster

    This is not in the core of bbPress though there are a few email notification plugins you could have a look at https://bbpress.org/plugins/

    I think it sounds like @jaredatch’s ‘New Topics Notifications’ is what you need though.
    https://wordpress.org/extend/plugins/bbpress-new-topic-notifications/

    #124138

    In reply to: bbPress 2.2.3 Released

    #124119
    Stephen Edgar
    Keymaster

    The entire site here at bbpress.org is powered by WordPress and bbPress

    Have you looked at using some shortcodes on WP pages to get what you are after?
    https://codex.bbpress.org/shortcodes/

    Theres widgets too https://codex.bbpress.org/widgets/

    #124108
    apet083
    Participant

    Hi Stephen @netweb. I just tried creating a WordPress site from scratch with bbpress. When I clicked on reply it redirected me back to the wrong page again. It seems like its my settings with IIS.
    If I use the WordPress default permalink structure (no rewrite) it still does the same thing.

    What could be in your IIS that I don’t have? Where would this setting be located?

    Also, what version of PHP and MySQL do you have? I have PHP 5.3 MySQL 5.1

    Thanks

    #124065
    yupipi
    Participant

    Hi, I want to replace the admin menu “Forums” to a Japanese expression.
    I have found in bbpress.php that labels including “Forums” is replaced with the function ‘__’
    but somehow it is not working. The menu remains in English.

    I created bbpress-ja.mo from bbpress.pot, and placed the file in the language folder.
    It is including “Forums” and its translation.
    Any help or suggestions?

    BTW, the translation for user pages (“Voices””Posts” etc.) and
    for admin settings (messages in includes/admin/settings.php) is working.
    Troubles only with bbpress.php.

    WordPress: 3.5
    bbPress: 2.2.3
    Theme: skeleton

    #124034

    Topic: Import Forum and Theme

    in forum Themes
    Angelheart29
    Participant

    Hello,

    I want to import a phpbb forum to bbpress, i know there is a tool in Tools>>Forums. My question is about the theme. In Phpbb we have a particular theme, can we adapt the theme to Bbpress ? Is the theme imported with the database ? Or we have to re-create the theme for WordPress and bbpress ?

    Thanks in advance !

    AutomatedKid007
    Participant

    Maybe, maybe not. Or not really. Let me explain. Say, for example, you had several hundred groups in buddypress and overtime users (if the option is chosen where users can create their own) decided to change their names for whatever reason, 1) bbpress wouldn’t show any of those changes, at least that’s what I’m seeing; 2) using your example of manually doing it, someone would literally have to try to figure out what the former name was to the new name, locate it, change it along with the slug hoping the new name and slug don’t cause any current conflicts -not to mention potential mass headaches, drama, and a well deserved reason to quit; or 3) i’m not sure it’s even worth to continue to use bbpress if there isn’t more of an integration between the two plugins. Is just make any logical sense that a bp group name change doesn’t pass through to bbpress.

    So John, are you saying this is all by design? Why is that?

    #1958Β is more than just markup; it will likely take core bbPress changes to query everything efficiently.

    Also, @jaredatch — don’t hijack this topic. πŸ™‚

    Or, you could just rename the forum?

    #123292

    In reply to: bbPress 2.2.3 Released

    MikeGulett
    Participant

    I now have a problem where a new topic is not showing in the Forum page. I am using the latest version of WordPress and bbPress. My site is http://mycarquest.com

    The Forum page is here and there is a new topic that I created that is not listed: http://mycarquest.com/forums/forum/general

    Is anyone else having this problem?

    AutomatedKid007
    Participant

    I didn’t know where to post this so I figure I would put it in the troubleshooting forum.

    Besides confirming the defect with creating a new group and the forum tab not showing up, but if a moderator can pass along another possible issue within the admin area of a buddypress group, and that’s when making a change to the group name – admin > details where those changes do not get passed along to bbpress and show up in the bbpress forums > all forums section.

    In other words, the only way to make bbpress to see any changes to a buddypress group name is to delete the group altogether in buddypress and create a new one, then the changes are passed along to bbpress! As anyone would know, you can’t delete an existing Group without losing all the data, correct? ;(

    I may be wrong, it happens lots of time, but I think this may somewhat be tied to the forum tab not showing up since they’re both a buddypress bbpress linkage issue.

    If this helps, that’s all that counts.

Viewing 25 results - 12,626 through 12,650 (of 26,873 total)
Skip to toolbar