Skip to main content

Home/ buddypress/ Group items tagged slug

Rss Feed Group items tagged

Vernon Fowler

Change BuddyPress Group Slugs from Groups to "Teams" - 0 views

  •  
    "Change BuddyPress Group Slugs from Groups to "Teams""
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

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

WordPress › Support » [Plugin: Private BuddyPress] Only exclude SOME pages (h... - 0 views

  • Simply modify the example code from the plugin FAQs in order to unblock a page by its ID number: // unblock a page by id function make_page_visible($visibility) { global $bp; if (is_page(26)) return false; return $visibility; } add_filter('pbp_login_required_check', 'make_page_visible');
    • Vernon Fowler
       
      This works by page ID as well as the array option including slug and Page Title - see highlight below.
  • is_page(array(42,'about-me','Contact'))
    • Vernon Fowler
       
      Works in combination with the above highlight in a theme's functions.php file.
  •  
    Only exclude SOME pages (how-to)
Vernon Fowler

Best Practices for Preventing BuddyPress Spam User Registrations | Wptuts+ - 0 views

  • The first level of security is to change the footer text to remove mentions of WordPress and BuddyPress. Spammers target the words “proudly powered by WordPress and BuddyPress” in search engines to find sites they can compromise.
  • In BuddyPress, the default URL for the registration page is “http:/yoursitedomain.com/register”. This is why spambots include the “insite:register” when performing the search described in the above section. Make it harder for them to find your site by easily changing the default slug for BuddyPress in your wp-config.php file.
  • We use the honeypot technique to thwart spambots and it has worked pretty well from our experience. I didn’t invent the idea, but I built this implementation for BuddyPress and it works like a champ.
  • ...4 more annotations...
  • BP_REGISTER_SLUG
  • All you need to do is set the slug for the registration page that has been created. If you’re on BuddyPress 1.5+ that is.
  • It enables you to block IP addresses and even entire domains from accessing your site, a very useful thing to do against known bots trying to create fake BuddyPress user accounts.
  • Be wary of trying every single security plugin under the sun, as this slows down your site and adds to your maintenance workload by having more things to update and go through if something breaks. At first, stick to the highest rated ones that have proven themselves over time with a lot of users. One such plugin, which is highly recommended by many BuddyPress and WordPress users, is Bad Bahavior. This plugin will not only block a lot of spam, but will make your site invisible to many bots in the first place and thereby prevent fake registrations.
1 - 5 of 5
Showing 20 items per page