Search Results for 'buddypress'
-
AuthorSearch Results
-
December 20, 2013 at 8:20 pm #175853
airsid
ParticipantOk I will follow your advice, thanks.
I’ve seen i can disable the notifications function in buddypress settings so no hurry anymore ๐December 20, 2013 at 6:26 pm #175849In reply to: Orphan notifications if item was deleted.
Henry
MemberEDIT: You might want to raise this issue on Trac:
https://buddypress.trac.wordpress.org/December 20, 2013 at 1:57 pm #175841In reply to: Restrict subscribers from showing in member list
shanebp
ModeratorYou need to look at the s2member documentation to figure out how to gather all the ids for level1 members.
Then you can use the ‘include’ parameter in this approach:
https://codex.buddypress.org/developer/bp_user_query/#code-examplesDecember 20, 2013 at 12:36 pm #175838In reply to: Error: Missing argument 2 for wpdb::prepare
Henry
MemberTake a look at this page to see the parameters accepted:
Perhaps try using
profile_group_id:By default all groups and all fields will be displayed. If you provide the ID of a profile field group, then only the fields in this group will be displayed
So it would be:
if ( bp_has_profile( 'profile_group_id=2' ) ) :Where 2 is the ID(s) of the group you’d like to include. I think it should take a comma separated list but I haven’t tested.
December 20, 2013 at 9:11 am #175836airsid
ParticipantThanks @mercime for your quick answer.
But i’m a french novice and i’m not understanding very well what to do in the https://buddypress.trac.wordpress.org/ticket/5299 topic.Should I install thos patches:
5299.01.patchโ and 5299.02.patchโor should I follow indications in lastest johnjamesjacoby’s comment:
In 7689:
Notifications:
Add templates and parts for bp-default theme. Also modify home.php to include notifications.php.or should I do the both ?
Sorry for asking but no access to notfications is important for my users ๐
Alos do you have an idea when the next update will be released ?
Thanks.December 20, 2013 at 8:25 am #175835Hugo Ashmore
ParticipantChecking recent forum topics is always a good idea, and/or searching in case similar issues have been raised and answered:
https://buddypress.org/support/topic/buddypress-1-9-update-made-the-default-bp-theme-gone/
December 20, 2013 at 4:59 am #175829In reply to: BP 1.9: empty html pages – error 500 solution
@mercime
Participant@frueck24 Fixed in https://buddypress.trac.wordpress.org/ticket/5299 in upcoming BP 1.9.1.
December 20, 2013 at 3:56 am #175828In reply to: add_theme_support breaks buddypress
modemlooper
Moderatorwp_dequeue_style(‘buddypress’)
December 20, 2013 at 3:47 am #175827In reply to: add_theme_support breaks buddypress
modemlooper
Moderatorjust leave buddypress.css blank if you want to kill all bp styles from being loaded by the plugin. You could also deregister the css file from getting loaded
Template overiding works in same manner as the css file.
December 20, 2013 at 2:27 am #175826In reply to: add_theme_support breaks buddypress
jedifunk
Participant@modemlooper thanks for the help!
yes, the documentation on this site for the theme override is extremely limited and definitely confusing…
the single page on this site talking about the add_theme_support function was very vague, and not worded well… certainly giving the impression that it WAS necessary in order to override.
to use custom pages/loops/etc, do i still need to have the /buddypress/activity/file.php in my theme?
lastly, i don’t like the idea of being required to load another css file to override styles… i’d prefer to just use the styles.css file. it also makes writing the css a pain since everything requires the use of the #buddypress ID… not very elegant IMO.
with 1.8 it was working great, i had the default styles off, and was able to add my bootstrap classes, and style only what i needed.
am i missing something here?
December 20, 2013 at 2:08 am #175820@mercime
Participant@mdpane @airsid Fixed in https://buddypress.trac.wordpress.org/ticket/5299 in upcoming BP 1.9.1.
December 20, 2013 at 2:08 am #175819In reply to: [Resolved] Registration endless loop-cannot register
petdailypress
ParticipantThis plugin: Buddypress Xprofile Custom Fields Type, had a conflicting field that I couldn’t see in my original theme. So I switched over to Twenty Twelve and the extra field popped up. So, I just deleted the (invisible) conflicting field from the profile, which allowed the Registration process to move forward.
December 20, 2013 at 2:04 am #175816In reply to: add_theme_support breaks buddypress
modemlooper
Moderatorremove those, you don’t have to add anything to a theme. Was there a reason you thought to add this?
To override css create a css folder in your theme folder and copy over the buddypress.css file from /bp-templates/bp-legacy
Then edit the buddypress.css file in your theme folder
December 20, 2013 at 1:59 am #175812In 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
-
AuthorSearch Results