Search Results for 'buddypress'
-
AuthorSearch Results
-
December 20, 2013 at 1:59 am #175812
In reply to: Register Page Blank after Update
@mercime
ParticipantUpgraded to 1.9 and the Register page is suddenly blank.
Blank as in the whole page is blank or do you mean there’s no content under the Register title?
Have you checked Settings > BuddyPress > Pages to see if there’s still a page assigned to the Register section?December 19, 2013 at 11:58 pm #175807In reply to: Hide profile field
somethingelse
Participantthis is great help… but how do we do this with the s2member fields when we have s2member set to integrate with buddypress profiles???
December 19, 2013 at 11:31 pm #175805In reply to: returning a formatted phone number?
Henry
MemberYou could try looking at https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ to see how they do it. I think one of the profile field types is ‘number’ – so that might be the best place to start.
December 19, 2013 at 10:31 pm #175800In reply to: friends_check_friendships not working
mattnetusa
ParticipantThanks for your response! okay maybe I am stating this wrong. I have a list of entries showing various user ids as one of the fields. In the next field I simply want to show are these entries from a friend or not so that I can filter them to only show me entries from my friends. Does that make sense. I thought the purpose of the friends_check_friendships function was to compare to user ids to see if their is a relationship between them and return ‘true’ or ‘false’? Also, are the user ids in buddypress friendships the same user ids in wordpress users without buddypress? For instance the two I am comparing are user_id=1 and user_id=2, so in the function, it should result in friends_check_friendships(1,2) = true right?
December 19, 2013 at 8:39 pm #175793In reply to: Username with space stop working in BP 1.9
aces
Participanthttps://buddypress.trac.wordpress.org/ticket/5185#comment:15 ?
Have you got anything in your bp-custom.php or functions.php files (or a custom plugin etc.) that might affect this?
December 19, 2013 at 5:02 pm #175780In reply to: is_page() does not work on BP pages
modemlooper
ModeratorThis will probably get fixed in 2.0 version
December 19, 2013 at 4:53 pm #175778aces
ParticipantTry
add_filter( 'bp_do_register_theme_directory', '__return_true' );added to bp-custom.phpSee https://codex.buddypress.org/themes/bp-default-theme-moving-forward-with-bp-1-9/ also http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/
December 19, 2013 at 4:26 pm #175775In reply to: How to stop spam registrations (HELP!!)
talk2bks
ParticipantIt seems that those spamming my site are using wordpress’ default way of creating an account and not registering through buddypress. When I go to the users admin, all of the users that used buddypress were given the default forum role of “participant”. The spammers don’t have this role.
Because of my current setup, I installed the Members plugin and created a new role. Then I made the buddypress form show up only for those that I have confirmed. I would recommend that this be added to future buddypress installs as an option.
December 19, 2013 at 2:04 pm #175772In reply to: Error: Missing argument 2 for wpdb::prepare
Shmoo
ParticipantIt’s my theme and I code WordPress themes for like 5 years now but I don’t see myself as a Developer it’s more a hobby 🙂
I’m solid at HTML-CSS and can read PHP when I see it happen but I can’t write PHP it out of the box.
This error shows up when I try to hide a complete xProfile-group-ID or just an unique xProfile-field-ID from the loop.
This is what I did.
Inside: my-theme/buddypress/members/single/profile/profile-loop.php
I found the start of the loop<?php if ( bp_has_profile() ) : ?> ....My first thought was, maybe there are default options here to control the output of which ID’s will be visible so I started the search how the bp_has_profile() was build and looked into plugins/buddypress/bp-xprofile/bp-xprofile-template.php and found this at line 150:
.... $defaults = array( 'user_id' => bp_displayed_user_id(), 'profile_group_id' => false, 'hide_empty_groups' => true, 'hide_empty_fields' => $hide_empty_fields_default, 'fetch_fields' => true, 'fetch_field_data' => true, 'fetch_visibility_level' => $fetch_visibility_level_default, 'exclude_groups' => false, // Comma-separated list of profile field group IDs to exclude 'exclude_fields' => false // Comma-separated list of profile field IDs to exclude );This looks very familiar to bbPress so my first thoughts was lets try to add one of those Array’s to the loop and overwrite the default value.
Just like this.<?php if ( bp_has_profile( array ( 'exclude_groups' => 1 ) ) ) : ?> ...This works perfect, it hides all xProfile-fields from the first Base primary Tab (back-end). Just like I wanted it because I didn’t want all the fields to show up front-end, I’ve got a few xProfile-fields that I use for user-customization of the profile-page. Each user can add color-codes to change the default menu-color and add background-images to their profile-page to make each profile a little more unique.
Those field-ID’s are just urls or color-codes and don’t have to be visable to the public, thats why I try to hide them front-end.
December 19, 2013 at 12:10 pm #175765In reply to: Upgrading jQuery to 2X
Paul Wong-Gibbs
KeymasterBuddyPress uses the version of jQuery that comes with WordPress. You’re best to search for how to make WordPress do this change, then BuddyPress will use it.
December 19, 2013 at 11:32 am #175761In reply to: Page layout and sidebar issues
@mercime
Participant@ecoportaluk Did you install https://wordpress.org/plugins/genesis-connect-for-buddypress/ or have you checked out StudioPress forums re BP customizations?
December 19, 2013 at 11:01 am #175760In reply to: is_page() does not work on BP pages
Henry
MemberThanks for explaining in more detail. If you feel this is a bug, you can submit a ticket on Trac
Trac is the best place to follow the development process and submit bug reports.
December 19, 2013 at 5:46 am #175751In reply to: No BuddyPress pages work
modemlooper
Moderatorare you using a BuddyPress theme?
December 19, 2013 at 5:40 am #175750In reply to: No BuddyPress pages work
modbunker
Participantok thank you. Ill keep playing with it and deactivating plugins ect. Jetpack has given issues with my theme before so ill see if that fixes it, or ill just wait till my theme dev rolls out the Buddypress support and see if the problems still exist.
When I go to the Members pages ect there is nothing on the page are there supposed to be short codes there to display the correct information when someone goes to that page?
Thank you again
December 18, 2013 at 11:44 pm #175741In reply to: is_page() does not work on BP pages
Henry
MemberJust some observations
1. ‘my members’ isn’t the same as ‘my-members’
2.<?php echo 'is_page()='.is_page().'<br>'; ?>– why are you doing this?I don’t know about you, but to me this seems like a bug in buddypress
There may well be a bug in BuddyPress – but I can’t tell that from the code and info you’ve posted.
December 18, 2013 at 11:35 pm #175740In reply to: is_page() does not work on BP pages
juggledad
ParticipantI add the coode in post 1 to twentytwelve
I create a page in WordPress and call it ‘my-members’
I view the page
is_page() returns ‘1’
I install and activate buddypress
I ‘Associate a WordPress Page with each BuddyPress component directory.’ and set members pointing at ‘my members’
I view the page
is_page() now returns nullI don’t know about you, but to me this seems like a bug in buddypress
December 18, 2013 at 8:58 pm #175729In reply to: cant create new topic (and) reply
Paul Wong-Gibbs
Keymaster> Without joining a group,can you post under that group on BuddyPress ? Is there any chance of it ?
If a group is public, you can post, but it’ll also automatically join the user to that group when they make that post. I don’t think there’s a way of mixing group permissions with posting permissions.
What type of group did you make? Public, private, hidden?
December 18, 2013 at 8:52 pm #175727In reply to: Page layout and sidebar issues
Paul Wong-Gibbs
KeymasterI’m sure someone will be along with some more helpful advice, but for a quick reply — this is to be expected. BuddyPress is working as it currently is meant to, and ignores any of the theme options around page customisations.
December 18, 2013 at 8:16 pm #175722In reply to: Error: Missing argument 2 for wpdb::prepare
Shmoo
ParticipantOkay if I understand correct this Query isn’t safe and the $ID is just thrown (unprepared) in the query.
Can I do something to make it more safe or is this something that the BuddyPress Plugin Developers would have to upgrade, since the error is caused by the BP plugin.
– I’ve turned off all PHP warnings like the first paragraph says so.
December 18, 2013 at 4:17 pm #175708In reply to: Notifications tab seems to break site
TPdaking#7782
Participant@modemlooper I’m waiting to hear back from my theme author but is there something I can do to make my theme more compatible with the new buddypress or will I have to use a different theme. Thanks in advance!!!
December 18, 2013 at 4:08 pm #175707In reply to: BP 1.9 defaults to empty html pages
Schwingi
ParticipantHi,
Same here. For me the error lied in the Frisco theme. The Twenty Fourteen theme worked just fine. The fix discribed here:
https://codex.buddypress.org/themes/bp-default-theme-moving-forward-with-bp-1-9/ worked for me “with Frisco” just fine.But a future proof solution would be nice in preparation to the complete bp-default absence.
December 18, 2013 at 3:16 pm #175705mdpane
ParticipantSeems to be what you’re looking for.
December 18, 2013 at 2:28 pm #175703In reply to: Filtering member results.
shanebp
ModeratorSo you’re creating an additional Members page ?
If not, you don’t need an override.
If you are, you need to change this hook in that override
do_action( 'bp_before_directory_members' )
And call the new hook in the example below.You need to know the id of the xprofile field that stores gender.
You need to know the value that is stored for Males.Then you can tweak this code and put it in your theme functions.php or bp-custom.php
December 18, 2013 at 2:01 pm #175699In reply to: is_page() does not work on BP pages
Henry
MemberThe terminology is important here. WordPress ‘pages’ shouldn’t be confused with the more loosely termed web ‘page’. Although BP ‘pages’ are webpages, they aren’t WordPress pages so
is_page()isn’t going to work *most of the time*. The exception is register, activate etc.For a list of template tags you can use with BP ‘pages’ take a look at:
December 18, 2013 at 7:33 am #175688In reply to: No BuddyPress pages work
modbunker
ParticipantHi thank you for replying,
No I have other plugins as well mostly BBPress,WooCommerce, and a couple of slider plugins,also WordPress SEO.
Its a premium theme and has support for BBPress but not buddypress hes working on it now.
I believe my permalinks are not default.
My structure is set at: /%category%/%postname%/
My base is set to: /shop/%product_cat%I believe when I installed the theme the instructions were to change them to that so the permalinks would look good.
-
AuthorSearch Results