Search Results for 'wordpress'
-
AuthorSearch Results
-
June 25, 2012 at 2:01 pm #136378
In 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 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 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 24, 2012 at 10:10 pm #136352In reply to: bp_ functions in wordpress strict page
jacor3003
MemberThat make sense, Thank You.
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: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 4:36 pm #136330In reply to: redirect user login
valuser
Participanthttps://wordpress.org/extend/plugins/buddypress-login-redirect/ can redirect to 3 different locations after login. 1. Personal Profile / Personal Activity Page 2. Site wide Activity 3. Friends’ Activity
https://wordpress.org/extend/plugins/login-with-ajax/ this plugin’s settings allows you go to any particular page OR to the current users particular page on login & on logout if you use %USERNAME% — its on the settings page
June 24, 2012 at 4:07 pm #136329In reply to: redirect user login
edinchez
ParticipantNot really sure how multisite works, but this plugin here can be configured to work the way you want I think:
June 24, 2012 at 2:27 pm #136325In reply to: What is the directory for avatar uploads?
modemlooper
ModeratorDid you install WordPress with a one click installer from your host? If so the directory may not have permissions set to allow BuddyPress to create folders and add images to your server
June 24, 2012 at 2:13 pm #136324Paul Wong-Gibbs
KeymasterYour best bet is to ask on bbpress.org or search for bbPress plugins on the WordPress.org directory.
June 24, 2012 at 10:42 am #136319In reply to: Register redirecting to Home
Paul Wong-Gibbs
KeymasterUser registration also has to be enabled in WordPress for this to work, too. (via Settings > General, in wp-admin)
June 24, 2012 at 5:25 am #136311In reply to: I’m not getting a register button or page.
mattdans
MemberI’m having a problem with the registration page. When I type in the url imgmatters.com/walkforasl/register, it takes me to the home page (imgmatters.com/walkforasl) Same thing when I clicked the ‘view’ button on BuddyPress’ interface (in WordPress) to view the register page.
June 24, 2012 at 5:16 am #136310In reply to: bp_ functions in wordpress strict page
modemlooper
Moderatorbp_displayed_user_avatar only works on a members profile page use bp_core_fetch_avatar
not all functions work out of their components
June 23, 2012 at 4:20 pm #136295nickharambee
ParticipantI too am noticing this behaviour, specifically with apostrophes – I haven’t tested other special characters.
I am using latest versions (WordPress 3.4, Buddypress 1.5.6 and BuddyPress Group Email Subscription 3.1.2)
June 23, 2012 at 3:58 pm #136292Mathieu Viet
ModeratorHello @valuser
Yes it can be done for tags. The trouble with your snippet is that you’re calling a function that doesn’t exist in WordPress : get_the_post_tag() !! So i adapted your function using this one https://codex.wordpress.org/Function_Reference/get_the_tags and instead of tag ids i think it’s more convenient to use tag slugs :
function do_not_record_this_tag( $post_id, $post ){ /* this is the array that contains the category to exclude */ $tag_slugs_to_exclude = array( 'exclude' ); if ( 'publish' != $post->post_status ) return false; $post_tags = get_the_tags( $post_id ); $in = false; if( !empty( $post_tags ) ) { foreach ( $post_tags as $post_tag ) { if( in_array( $post_tag->slug, $tag_slugs_to_exclude ) ) $in = true; } /* if the post has at least one excluded tag, then we remove the BuddyPress hook that records an activity */ if( $in ) remove_action( 'save_post', 'bp_blogs_record_post', 10, 2 ); } } add_action( 'save_post', 'do_not_record_this_tag', 9, 2 );if you prefer id then replace the tag slugs by ids in the array $tag_slugs_to_exclude and replace $post_tag->slug by $post_tag->term_id
June 23, 2012 at 10:31 am #136278In reply to: How do you add a photo to a default Buddy page?
Mathieu Viet
ModeratorHello @tgoedde
If you’re using the theme BP Default, it’s quite easy actually. As this theme supports custom-header, you can simply edit the BuddyPress pages (Activity, register, groups, forum… and so on) in which you want to add a custom header.
I just tested this in my activity page.
1/ Edit the page in WordPress backend
2/ Use the media button to select your photo, it must have at least a width of 1250px (if under, the pic won’t show)
3/ Upload and choose not to insert but to use as featured image. Once done you can close the thick box window.
4/ you’ll see in the edit page / the featured image box at the bottom right with your uploaded image shrinked.
5/ Save the page. And you’re done
Repeat these steps for each BuddyPress template you want to add a custom header to.
June 23, 2012 at 10:23 am #136277June 23, 2012 at 10:11 am #136275Paul Wong-Gibbs
KeymasterJune 22, 2012 at 11:05 pm #136257In reply to: function for logged in blog domain
Roger Coathup
ParticipantIt’s a WordPress Multisite question, not a BuddyPress one – this function would be a starting point: it returns all the blogs a user has access to:
get_blogs_of_user( )
June 22, 2012 at 9:50 pm #136252In reply to: Plugin Question
@mercime
ParticipantWordPress plugins which are supposed to be BuddyPress-ready are tagged “buddypress” by respective plugin developers – https://wordpress.org/extend/plugins/tags/buddypress
Double-check if plugin’s been updated for latest versions of BP at leastTo make your WP theme compatible with BP, you need to install BP Template Pack plugin and go through Appearance > BP compatibility process then align HTML structure.
Yes, we are aware of the bug for the plugin’s pagination in this site.
June 22, 2012 at 6:44 pm #136248In reply to: [resolved] Suffusion theme comments, double post
Dawantt
MemberWordPress 3.3.2, Buddypress 1.5.6. Buddypress is a newly installed.
I using Suffusion theme. Everything is fine, but the problem is with comments …In default theme of buddypress is everything okay.June 22, 2012 at 4:51 pm #136243In reply to: 1.6 beta – forums setup
shanebp
ModeratorThanks for the info.
I think more Forums set-up info is a must and perhaps is better delivered in a bbPress codex page specifically for BP.
And provide a link on the bb-forums-setup page
Or it could go right on the bb-forums-setup page.A start to discussion:
https://buddypress.trac.wordpress.org/ticket/4292June 22, 2012 at 11:13 am #136234In reply to: I’m not getting a register button or page.
labeshops
Member@mercime thanks for the response…
I do have membership enabled in settings > general as I already said I did.
It’s a new buddypress installation so no, was never able to upload & crop an avatar before as this is the first time I tried.
Yes, I can upload, crop etc images everywhere else.
New installation of both wordpress and buddypress – installed both yesterday.
June 22, 2012 at 10:59 am #136233Paul Wong-Gibbs
KeymasterFrom time to time, we hear reports of this. No-one has figured out if it’s a theme issue, or a plugin issue, or a BuddyPress issue, or some sort of WordPress config issue. I’ve never been able to recreate it, nor have the other core developers, which suggests it’s something outside of BuddyPress or the BP-Default theme.
-
AuthorSearch Results