Search Results for 'buddypress'
-
AuthorSearch Results
-
February 2, 2017 at 8:38 am #263446
danbp
ParticipantHi,
BuddyPress doesn’t handle users. It use WP’s user_table and user_meta and his own meta tables (bp_activity_meta or bp_notifications_meta).
In BP settings, you have an option to sync BP to WP profile’s. And that’s all.
If you have another plugin who’s is synced with WordPress profiles, guess it will do the same with BP. But, adding a custom member table only for BP usage within WP registration process isn’t a good idea as you probably will have to rewrite a lot of code.
Members are the heart of BP, but in the sense of “how to show members and let them work together”, not in the way to include/register them to the site.
BP doesn’t never affect the first step when accessing the WP user registering. This step belongs clearly to WP ONLY. Adding member and meta tables doesn’nt modify that.February 2, 2017 at 8:21 am #263445danbp
ParticipantCodex reference:
February 2, 2017 at 8:17 am #263444danbp
ParticipantCodex reference:
February 1, 2017 at 8:02 pm #263429February 1, 2017 at 4:00 pm #263422In reply to: Profile page link with random ID
samurdhilbk
ParticipantOops! Forgot to mention this
WordPress version – 4.7.2
BuddyPress version – 2.7.4February 1, 2017 at 3:59 pm #263421samurdhilbk
ParticipantOops! Forgot to mention this
WordPress version – 4.7.2
BuddyPress version – 2.7.4February 1, 2017 at 2:35 pm #263417In reply to: buddy website for member only but how to…
Venutius
ModeratorThere’s quite a few privacy plugins for BuddyPress, just search the WordPress Plugins directory for BuddyPress and Privacy
February 1, 2017 at 7:55 am #263406In reply to: Change default subnav
danbp
ParticipantPlease, don’t double post, you won’t get more answers.
Closing this topic as duplicate. Conversation is be continued here:
February 1, 2017 at 6:52 am #263405In reply to: Don’t hide fields when user views his own profile
john.horning
ParticipantOkay – discovered that the overload file needs to be in wp-content/themes/buddyboss-child/buddypress/members/single/profile and verified it by making a random change to the file, but I’m still not seeing fields without values.
PS For some reason, the system won’t allow me to paste the code.
February 1, 2017 at 1:07 am #263397In reply to: Don’t hide fields when user views his own profile
john.horning
ParticipantThanks for the quick response, but doesn’t seem to be working for me. I created the template overload of profile-loop.php and stored it in wp-content/themes/buddyboss-child/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile. I’ve pasted the entire file below after modification.
I can’t find it now, but there was a thread somewhere that indicated that the following line needed to be changed in bp-xprofile-template.php so was wondering what you thought of that.
$hide_empty_fields_default = ( ! is_network_admin() && ! is_admin() && ! bp_is_user_profile_edit() && ! bp_is_register_page() );Anyway, here’s my profile-loop.php:
`February 1, 2017 at 12:38 am #263396In reply to: Correct setup for multisite
djsteveb
Participant” join a subsite within a click” – like.. you mean.. multi-site has multiple “blogs aka sites” – without buddypress… and so you want to have the option for them to join in other blogs aka sites as authors / contributors?
This kind of thing above I was able to make happen with bp network activated and then a plugin called..”Join My Multisite” – I think…
Or… you mean to have multiple and separate buddypress systems.. like a bp for soccer players and a different bp for sewing clubs, and different one for music labels.. each with their own groups, their own activity walls – own sets of ‘friends’ within.. and separate from the main?
pretty sure the codex mentions a couple of plugins for that and says if you want that kind of complex thing be ready to pay for help from a specialist, of which there are few, and not much general support or knowledge…not sure what you mean exactly.. wish they never changed the name of “blogs” to “sites” –
January 31, 2017 at 11:44 pm #263392In reply to: Don’t hide fields when user views his own profile
shanebp
ModeratorThe easiest way is to create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.phpThen, in the overload, remove this conditional:
if ( bp_field_has_data() )January 31, 2017 at 10:53 pm #263390In reply to: change default subnav
shanebp
ModeratorYou’re trying to use a deprecated approach – don’t.
You may need to adjust the
default_subnav_slugin the call to bp_core_new_nav_item, if that’s how they are creating the Events tab.Have you tried asking the creators of the Events Manager plugin ?
January 31, 2017 at 10:00 pm #263386In reply to: change default subnav
shanebp
ModeratorIt’s unclear what you’re trying to do.
But to add a tab to a subnav, you should use bp_core_new_subnav_item.January 31, 2017 at 5:50 pm #263381In reply to: fields in sidebar
danbp
ParticipantHi,
this was asked hundred times since BP exist (2007). One of the latest :
January 31, 2017 at 5:45 pm #263380In reply to: Is Buddy Press for me?
djsteveb
Participant@rickaltman – I think buddypress can do most of what you describe here right out of the box. I would search for forum threads and maybe plugins to have your members auto join a group –
this would give you something like “your site dot com / groups / mainGroupName / members
for this kind of list – although it would be a list rather than grid system – you may find another way to do it, but it’s probably gonna take some hacking-up things to get the grid layout if you really want that – I’d try to find something less robust – like maybe just the wpmudev membership2 plugin in the wp repo – and hackup a page to list authors with a wp theme or something…bp can do a profile pic.. but it needs plugins to really “upload photos” – and that’s a can of worms in which some is over-baked, some under baked, and future possibilities are endless.. some built in bp hooks have been made a while back but.. well not sure what meant exactly by “upload photos” –
its going to be much easier to get community support for regular wordpress themes and such.. buddypress is probably a lot more power than your use case is gonna need.. and with that is gonna be spam issues – virtually no support for customizing anything.. even if you knew php really well, you’d have learn wordpress well, and then try to digest all the BP docs and sort through tracs.. gits.. and other random stuff on the web that is not well documented, no well supported, and leaves you wondering if it’s secure… and the chances of all the various hackedup things working well together is blah… and future updates – hahaha.. who knows that is going to happen.
In your situation I’d say it wouldn’t hurt to play around with BP – as it’s free.. but if it doesn’t do what you want out of the box.. then I would delete it all – and try a basic wordpress with members plugin.. maybe even just a ‘multi-author blog” – you’ll get less spam, and much less work.
Others may think / feel differently about all this, my experience comes from my issues – your mileage may vary..
January 31, 2017 at 5:44 pm #263379danbp
ParticipantThank you for these clarifications.
It was not a BuddyPress issue and not a WordPress issue (as first expected), but a simple php error in a custom file. Little cause, big disease…
This is a lesson for all of us: whatever you code, take care with it. A missing dot, coma or other little syntax error can lead to endless searches, heavy expectations and massive headaches!
January 31, 2017 at 5:36 pm #263378In reply to: Buddypress breaks php 7.1 wordpress site.
danbp
ParticipantHi,
BP devs are aware of this detail… Please read https://buddypress.trac.wordpress.org/ticket/7392
January 31, 2017 at 3:49 pm #263373shanebp
ModeratorAre you using BuddyPress?
bbPress has a separate support forum.
Your error message shows that it is caused by this plugin: smartlib-tools.
You should talk to the creators of that plugin.January 31, 2017 at 5:11 am #263363Brajesh Singh
ParticipantHi, you can put the following code in your bp-custom.php
/** * BuddyPress Logged In User redirection on Registration page * */ function buddydev_loggedin_register_redirect( $redirect ) { //you can do a lot here //if you want to redirect based on profile field, member types or roles, you can do so //$user_id = bp_loggedin_user_id(); //send to profile //$redirect = bp_loggedin_user_domain(); // or you can simply hard code it //$redirect = "http://yoursite.com/example-page" return $redirect; } add_filter( 'bp_loggedin_register_page_redirect_to', 'buddydev_loggedin_register_redirect' );Now uncomment on of the //$redirect block or you can put your own link.
Hope that helps.
January 30, 2017 at 11:07 pm #263360shanebp
ModeratorMaybe you could use this hook in
buddypress\bp-core\bp-core-attachments.php:
do_action( $object_data['component'] . '_cover_image_uploaded', (int) $bp_params['item_id'] );And delete any existing meta re the choices you provide.
January 30, 2017 at 10:23 pm #263356shanebp
ModeratorOops, sorry, just saw that you want the option in addition to choosing an existing image.
So, I would do a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\change-cover-image.php
And offer them the option of choosing an existing image or upload their own.If they choose the latter – use the existing call:
bp_attachments_get_template_part( 'cover-images/index' );And for the former – call in your custom screen as I suggest above and adjust cover-image-header.php to load the appropriate image if that metadata exists for the member.
January 30, 2017 at 8:52 pm #263308In reply to: Syntax Question: bp_before_displayed_user_fullname
shanebp
ModeratorI don’t see that hook in
member-header.phpYou can create a template overload of that file and add what you need directly to the template.
>Do plugins and themes create custom hooks
Yes.
January 30, 2017 at 1:23 pm #263293In reply to: CSS help for Groups Page, please, please!
shanebp
ModeratorFor the text, look at this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\cover-image-header.phpFor the nav, look at this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\home.phpBut don’t change those files, make a copy in your theme, aka template overload.
January 30, 2017 at 12:03 am #263285In reply to: bp_loggedin_user_domain logging me out??
Seo45
ParticipantThank you so much!! I have a separate header for my buddypress pages, so when I put that in there, it doesn’t log me out. I still have to have the other one for non-buddypress pages, but that’s fine with me 😀
-
AuthorSearch Results