Search Results for 'buddypress'
-
AuthorSearch Results
-
June 25, 2012 at 6:03 pm #136387
Giovanniw650
MemberHi. Thanks for the response. I checked and I have only Group Forums installed (not Sitewide Forums). Should I install both? Since I only have one installed there is no conflict with the slug used.
June 25, 2012 at 4:00 pm #136383In reply to: Need help with theme – Quik Gallery
Jamiethecomic
ParticipantHey! Sorry for the long reply but I’ve been WAY TOO BUSY lately!
Thanks very much! It worked and your easy to ready instructions made it go so smoothly!
Thanks! Now I just need to work out how to effect the layout of a buddypress forum and my site is SET!
June 25, 2012 at 3:29 pm #136381In reply to: Country drop down list
danbpfr
ParticipantHi Hans,
you have to digg in the prehistorical 1.0 version of BP
https://buddypress.trac.wordpress.org/browser/branches/1.0?order=name
where you can find this old coutry field and a csv file with different countries.
You can find some interesting code in buddypress 1.0/bp-xprofile/bp-xprofile-classes.phpGood luck !
June 25, 2012 at 3:22 pm #136380In reply to: [Resolved] how can Modify Registration Form ?
Mathieu Viet
ModeratorOk, to set new fields for your members you should read the paragraph ‘Optional: Set Profile Fields’ of this tutorial
http://wpmu.org/the-illustrated-guide-to-installing-and-setting-up-buddypress-1-5/if you mean login in with email, then you can try this interesting plugin https://wordpress.org/extend/plugins/wp-email-login/
then you can add a function in the functions.php file of your active theme to change the label of the sidebar login form :
add_action('bp_after_sidebar_login_form', 'bp_login_by_email_adapt_login_form'); function bp_login_by_email_adapt_login_form() { ?> jQuery(document).ready(function($){ usernameoremail = $("#sidebar-user-login").parent().html().replace(/Username/ig, 'Username or email' ); $("#sidebar-user-login").parent().html(usernameoremail); }); <?php }or if you’re using a child theme of BP-default theme, you can add/edit the template sidebar.php and replace the label for=sidebar-user-login by Username or email.
June 25, 2012 at 2:10 pm #136379In reply to: Multiple Profiles on BuddyPress
jekofalltrades
MemberThanks Roger. I kinda knew that was my end-solution but was hoping that there was some sort of plugin instead of actually coding the whole thing

Thanks again. Appreciate the help.
June 25, 2012 at 2:01 pm #136378In reply to: Multiple Profiles on BuddyPress
Roger Coathup
ParticipantTo build this kind of feature, you need to be a PHP developer:
- You’d add new profile field groups for each type of stat (or if the stats are too complex for profile fields – a custom component to handle them).
- You’d then assign a role to each member based on whether they are a batter, pitcher or fielder – ideally implemented using the underlying WordPress user roles.
- Finally, you’d implement conditional logic in your templates to display appropriate profile field groups based on the member’s role.
June 25, 2012 at 1:10 pm #136376In reply to: [Resolved] how can Modify Registration Form ?
Mathieu Viet
ModeratorHi websitevala,
To add custom fields to your registration page, you’ll need to add xprofile fields. To do so in WP Backend, you should go / BuddyPress menu / Profile fields submenu
And for the other thing, as you noticed emails are hidden, there might be a spam risk reason to that. And as a user, i wouldn’t like to have my email shown on my profile.. So i dont think it’s a good idea.
June 25, 2012 at 11:41 am #136372In reply to: List Buddpyress users ordered by meta_value
Mathieu Viet
Moderatorhi @enderpal444
I think i would use BP members loop to do what you want to do as you can send meta_key to BP_Core_User::get_users. Then i would take benefit of the filters included in the 2 sql to change its behavior. This is what i’ve tried to add a filtering by geo position to the main BP Members directory. I guess you’ll need to ask Roger and Paul about efficiency…
in the functions.php of my active theme > http://pastebin.com/2HKsSZCc
i tried to have a ‘one pass’ approach
June 25, 2012 at 11:14 am #136371In reply to: Confrim E-mail
voarsh
ParticipantI am using BuddyPress.
June 25, 2012 at 10:35 am #136370In reply to: Enterprise Nation: a 64,000 member BuddyPress site
Roger Coathup
ParticipantIt’s a custom sign up form on a bespoke page; it’s not based on the register.php file that you find in the bp-default theme.
In the backend, we also unhook / hook in a number of custom functions to process sign ups – including auto logins, assignment of user meta data, and sending custom welcome emails.
June 25, 2012 at 9:55 am #136369In reply to: Updating to WP3.4 -BuddyPress causing problems
richardpd
MemberMercime-many thanks again for your reply.
I still cannot get the hang of running BuddyPress group & sitewide forums together on my blog.
So for now I have disabled BuddyPress Group forums and am using bbPress forums. I even made a child theme of my BuddyPress enabled WP theme anIMass and use bbPress 2010 forum style with it-see my post today on my blog at http://richard-dickinson.com/2012/06/25/buddypress-and-bbpress-blog-update/I will keep trying with BuddyPress but for the moment am using bbPress forum! Many thanks
June 25, 2012 at 8:55 am #136368In reply to: How do I disable adminbar for all users?
foobool
Member<?php
/**
* Admin Bar
*
* This code handles the building and rendering of the press bar.
*//**
* Instantiate the admin bar object and set it up as a global for access elsewhere.
*
* To hide the admin bar, you’re looking in the wrong place. Unhooking this function will not
* properly remove the admin bar. For that, use show_admin_bar(false) or the show_admin_bar filter.
*
* @since 3.1.0
* @access private
* @return bool Whether the admin bar was successfully initialized.
*/
function hide_admin_bar() {
return false;
}
add_filter( ‘show_admin_bar’, ‘hide_admin_bar’ );function _wp_admin_bar_init() {
global $wp_admin_bar;if ( ! is_admin_bar_showing() )
return false;/* Load the admin bar class code ready for instantiation */
require( ABSPATH . WPINC . ‘/class-wp-admin-bar.php’ );/* Instantiate the admin bar */
$admin_bar_class = apply_filters( ‘wp_admin_bar_class’, ‘WP_Admin_Bar’ );
if ( class_exists( $admin_bar_class ) )
$wp_admin_bar = new $admin_bar_class;
elseJune 25, 2012 at 8:41 am #136366In reply to: How do I disable adminbar for all users?
foobool
Member<?php
add_filter(‘show_admin_bar’, ‘__return_false’);
/**
* BP-Default theme functions and definitions
*
* Sets up the theme and provides some helper functions. Some helper functions
* are used in the theme as custom template tags. Others are attached to action and
* filter hooks in WordPress and BuddyPress to change core functionality.June 25, 2012 at 7:32 am #136364In reply to: BP 1.6 Beta1, Trunk v.6132 and updating correctly
valuser
ParticipantThanks – no problem.
Have now put 6142 on an online test multisite/multinetwork with quite a number of plugins. so far so good
For the record, the Terminal commands i used (on a Mac) to do a svn download (if thats the terminology) were
cd ~/Desktop
svn co https://svn.buddypress.org/trunk buddypress/June 25, 2012 at 6:28 am #136363In reply to: Building a child theme: overriding default.css
chembro303
Member@pgideonbolger — I ran into this as well. I was going around in circles trying to override the defaults selector by selector. To override the defaults en masse, you have to address the fact that BP 1.5 uses enqueue to load the styles. You’ll want to stop it from loading the default styles and instead copy/paste the styles you want to retain from default.css into your child theme’s styles.css.
FYI, I got this info from https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ – which is a helpful page – and am using it with success. But if you don’t want to search that page for the info, just grab the code below and add it to your child theme’s functions.php:
`
if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
function bp_dtheme_enqueue_styles() {// You should bump this version when changes are made to bust cache
$version = ‘20120625’;// Register stylesheet of child-theme
wp_register_style( ‘child-theme’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );// Enqueue stylesheet of child-theme
wp_enqueue_style( ‘child-theme’ );
}
add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_styles’ );
endif;
`June 25, 2012 at 6:18 am #136360In reply to: BP 1.6 Beta1, Trunk v.6132 and updating correctly
Paul Wong-Gibbs
KeymasterSorry, I was up late: BuddyPress.svn.WordPress.org
June 25, 2012 at 5:50 am #136358In reply to: Enterprise Nation: a 64,000 member BuddyPress site
neononcon
MemberThanks for the reply. Would you be able to go into further detail about what you mean by alternative sign-up page?
June 24, 2012 at 9:49 pm #136350In reply to: BP 1.6 Beta1, Trunk v.6132 and updating correctly
valuser
Participantgot this now have it svn co https://svn.buddypress.org/trunk buddypress/
June 24, 2012 at 9:44 pm #136349In reply to: BP 1.6 Beta1, Trunk v.6132 and updating correctly
valuser
Participantsvn co https://buddypress.trac.wordpress.org/trunk BuddyPress
returns
svn: ‘https://buddypress.trac.wordpress.org/trunk’ path not found
June 24, 2012 at 9:11 pm #136348In reply to: BP 1.6 Beta1, Trunk v.6132 and updating correctly
Paul Wong-Gibbs
KeymasterOk. Before we play on your test server you need to contact your host and ask if you have SSH access to use a terminal. In the interim, we can try the concept out locally on your Mac.
How familiar are you with using the Terminal app? (it’s in Applications > Utilities) If not very, you’ll have to do some Googling to figure things out.
Open the Terminal app. Type these 2 commands:
cd ~/Desktop
svn co https://buddypress.trac.wordpress.org/trunk BuddyPressThat last command might take a couple of minutes. It’ll download a copy of BP trunk. Look at your desktop, and you’ll find a folder called “BuddyPress” containing… BP trunk

Then wait for the BuddyPress team to do a new update to trunk. Easiest way to do this is keep an eye on https://buddypress.trac.wordpress.org/log and remember what “Rev” it’s up to. When you spot an update, open Terminal again:
cd ~/Desktop/BuddyPress
svn up“svn up” is an “update” command. It figures out what SVN revision your checkout of BuddyPress is on, compares that to the version on the server (it remembers what URL you fetched it from originally), and then downloads and applies any updates automatically.
This is the method I like doing on my servers, so maybe see if it works out for you.
June 24, 2012 at 8:21 pm #136346In reply to: List Buddpyress users ordered by meta_value
Roger Coathup
Participant@enderpal444 – thanks for posting your solution – that’s the sort of approach I was suggesting as ‘two pass’ – getting all the users unsorted, then sorting them, before iterating over them.
Efficiency might become an issue if your member numbers increase.
June 24, 2012 at 8:15 pm #136345In reply to: Renaming admin sub-menu items
Roger Coathup
ParticipantJune 24, 2012 at 8:09 pm #136341In reply to: Advice sought from BP experts
Roger Coathup
ParticipantPlaza is a very nice website – it’s also a significant custom development.
Are you a skilled PHP developer with solid WordPress development experience (writing custom post types, taxonomies, url rewrites and such like)?
If you have those development skills (and in the case of Plaza – some strong design skills as well) or are willing to hire them in, then yes, BuddyPress is a suitable underlying platform to build the user profiles on, and to provide a backbone where you can unify their reviews and hotel submissions.
June 24, 2012 at 6:45 pm #136339In reply to: Suitable Caching Plugins for Buddypress
creaturis
ParticipantI use wp super cache. however got an issues with logging out sometimes. when i log out it it gets me redirected to the front page but it still looks as if i’m logged in. when i go to another page it shows i’m logged out. I think it is because of wp super cache. but for the rest it works great.
June 24, 2012 at 5:03 pm #136331In reply to: U BuddyPress Forum Editor Not Showing Up
Paul Wong-Gibbs
KeymasterFor that, you’re best to ask on the http://bbpress.org forums.
-
AuthorSearch Results