Skip to main content

Home/ buddypress/ Group items tagged codex

Rss Feed Group items tagged

Vernon Fowler

Function Reference/get template part « WordPress Codex - 0 views

    • Vernon Fowler
       
      TIL buddypress theme compatibility only plays nicely if the theme has been going with references to get_template_part e.g. http://codex.wordpress.org/Function_Reference/get_template_part [28/05/2013 4:35:25 PM] Bronson Quick: we have a client who didn't have budget and wants to use an existing theme and i couldn't work out why theme compatibility wouldn't generate permalinks properly [28/05/2013 4:35:30 PM] Bronson Quick: turns out that was the reason 
  •  
    "Load a template part into a template (other than header, sidebar, footer). Makes it easy for a theme to reuse sections of code and an easy way for child themes to replace sections of their parent theme. Includes the named template part for a theme or if a name is specified then a specialized part will be included. If the theme contains no {slug}.php file then no template will be included. "
Vernon Fowler

Migrating from old forums to bbPress 2.2+ · BuddyPress Codex - 0 views

  • Uncheck “Discussion Forums” and save.
  • Under “Group Forums Parent“, ensure “Group Forums” is selected.
Vernon Fowler

bp-custom.php | BuddyPress Codex - 0 views

  • bp-custom.php is often compared to your theme’s functions.php file. However, there are two primary differences between bp-custom.php and your theme’s functions.php.
  • bp-custom.php runs from the /wp-content/plugins/ folder and is therefore independent from your theme. This is useful for adding code snippets that are BuddyPress-specific. Also, this code will always load regardless of what theme you are using.
  • bp-custom.php runs early in the BuddyPress-loading process. This allows you to override various settings in BuddyPress.
Vernon Fowler

bp-custom.php · BuddyPress Codex - 0 views

  • bp-custom.php is often compared to your theme’s functions.php file. However, there are two primary differences between bp-custom.php and your theme’s functions.php.
  • independent from your theme
  • If you are packaging a BuddyPress theme, then you might want to consider using your theme’s functions.php instead. However, for the most part, you should use bp-custom.php
Vernon Fowler

Embeds « WordPress Codex - 0 views

  • SoundCloud (WordPress 3.5+)
    • Vernon Fowler
       
      Recordings must be set as public and share via the short URL in order to work in bbPress / BuddyPress 1.7.
Vernon Fowler

bbPress User Roles and Capabilities · bbPress Codex - 0 views

  • Moderator – can create and edit forums. Can create, edit and delete other users’ topics and replies. Can manage Tags, and moderate a forum with the moderation tools.
  • edit_others_forums delete_forums delete_others_forums
  • delete other users’ forums, topics and replies
  •  
    "bbPress comes built in with user Roles that give the website owner the ability to tailor user access to their website. This page details the bbPress capabilities that each role has. "
Vernon Fowler

Customizing Labels, Messages, and URLs · BuddyPress Codex - 0 views

  •  
    "Do you want to change various labels and messages in BuddyPress, but don't want to hack the core files to do so? This page explains how to use a language translation file to customize BuddyPress labels, messages, and URL slugs. "
Vernon Fowler

Migrating from old forums to bbPress 2.2+ · BuddyPress Codex - 0 views

  • Group Forums (Legacy)
    • Vernon Fowler
       
      Says something else but still works.
  •  
    "So you've been using BuddyPress' built-in group forums since BuddyPress 1.5, but would like to use the new bbPress plugin to power your forums instead. Gotcha.  You'll need to migrate your existing group forum content over to bbPress as well.  Don't worry!  This is what this article is all about. Let's get started!"
Vernon Fowler

Getting Started with bbPress · bbPress Codex - 0 views

  • You can add tags for organizing your Topics, and you can make the post Sticky or Super Sticky. Sticky posts will stick to top of the Forum which it is in. Super Sticky posts will stick to the top of all Forums.
Vernon Fowler

Template Hierarchy · BuddyPress Codex - 0 views

  • The base templates that BP looks for in order of priority are: plugin-buddypress.php buddypress.php community.php generic.php page.php single.php index.php
  • If you are on a single group page, BuddyPress will use the following template hierarchy:
  • If you are on a single member page, BuddyPress will use the following template hierarchy:
  • ...6 more annotations...
  • If you are on an activity permalink page, BuddyPress will use the following template hierarchy:
  • If you are on the activity directory page, BuddyPress will use the following template hierarchy:
  • If you are on the members directory page, BuddyPress will use the following template hierarchy:
  • If you are on the group creation page, BuddyPress will use the following template hierarchy:
  • If you are on the groups directory page, BuddyPress will use the following template hierarchy:
  • If you are on the registration page, BuddyPress will use the following template hierarchy:
Vernon Fowler

Template Tag Reference · BuddyPress Codex - 0 views

  • bp_get_the_site_member_avatar
  • bp_loggedin_user_id
  • bp_loggedin_user_avatar() bp_get_loggedin_user_avatar()
Vernon Fowler

Function Reference/add theme support « WordPress Codex - 0 views

  • HTML5 This feature allows the use of HTML5 markup for the comment forms, search forms and comment lists. add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form' ) );
    • Vernon Fowler
       
      How to get this working in a BuddyPress theme? For example, the groups search form in the groups directory.
1 - 20 of 36 Next ›
Showing 20 items per page