Hi,
Is there a mod or ahs anyone been able to import a phpfox site into buddypress?
Regards
I am new to BuddyPress and I would like to create custom field in the ‘base’ group through the BuddyPress hooks not through the profile fields admin interface. I have been searching for a tutorial or tips on how to do that but did not find any. I imagine that there would be a function to create that field that will look something like this:
`
bp_create_field($field_name, $group_id, $data_type, $required, $field_type, $options = array())
`
and then hooking this function to whatever hooks to dispaly and save that field on the backend and frontend of the website. is that possible? or there is another way to do that?
Thanks
I have a clean installation of Buddypress, but Im having an issue with the fields I create for users to edit on their profile.
I want that when I add a dropdown field to a user, like for example “department” the field is clickable, and on click it should redirect to a member page with a list of all the members that have that filed with the same option chosen… right now it’s not happening, it takes me to the list of ALL members.
you can take a look at the site here: http://blogs.eui.eu/test
Thank you,
Raul.
Usually in BuddyPress that would be the site activity stream. You can embed that anywhere you want. Would that be a good solution? http://testbp.org/activity/ shows what it by default would show – but a number of plugins also show output there.
I see you mention hours they contributed – this seems more user specific not site specific (which the other things you list do fall into). If it was me I’d try and keep the two separate and maybe show a user table somehow of stats like that or leave it on profiles. That or perhaps what you are meaning would be an output like ‘bob volunteered 4hours today’ rather than a running total. In that case, it would be down to custom development or a plugin that is monitoring those donated hours. But, the hook is there in BuddyPress for it to output.
I just did a quick check and that plugin is only designed to work for the members directory not site wide from what I see. Either that or it’s stopped working on activity, but the notes seem to indicate it’s designed for members directory.
Per user you can set it yourself but I guess you want a solution that forces users to have it displayed one way? If the per user method works though you can under their user settings in the admin.
This thread: https://buddypress.org/community/groups/requests-feedback/forum/topic/fullname-vs-username-vs-first-last-name/?topic_page=1&num=15 has some thoughts on solutions but they are all code and not sure how applicable to the current code base.
https://buddypress.org/community/groups/buddypress-usernames-only/forum/topic/bp-username-only-plugin-announcements/ however may be another thing to consider.
So Multisite BuddyPress and WP now, all other plugins removed.
This makes no difference there is no interface for someone newly registerred to act as a contributor.
On delving it is obvious why – new registrants are not added to existing sites including the main blog. If you add a user manually to the main blog he gets his contributor interface.
So I guess what I need to know is if there is a way to automatically add him to the main blog on sign-up.
hello @roger,
I tried this but when i updated the profile field using this editor, it gives me limited used of tags like bold or italic tags not allowing me to use font color and font size. and after editing the profile field when i check the profile page it gives output in html code format. is this the problem of strip_tags.
please guide me.
B. CREATE a NEW BLANK FILE named sidebar-buddypress.php
Open up the blank sidebar-buddypress.php file and add the following within:
`
jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});
`
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/strings/ in the same directory where your regular header.php and sidebar.php files are
D. Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
Based on the HTML structure of your theme, you will only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.
If you’ve revised any of the BP template files transferred to your strings theme folder in server during the BP Compatibility process, please delete those 6 BP folders transferred to your theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.
A. COPY your theme’s header.php and Save As > header-buddypress.php
Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add:
`
<article class="blog_post" id="post-id; ?>”>
@mercime all page sidebar
@jaymeselman based on the HTML structure of your theme, you only need to create two files, header-buddypress.php and sidebar-buddypress.php
Having said that, you have two options. either
a) all pages full-width
b) all pages with sidebar
(a) or (b)?
@cleaus there’s not a single code in your pastebin.com’s links for index.php, page.php, sidebar.php and footer.php
@mercime hi,..
When I uncheck the uncheck “Enable group creation for all users.” it will say that
“sorry you are not allowed to create groups.” What should I do next?
http://content.screencast.com/users/decs2/folders/Jing/media/426f9295-3a9a-490f-9d7d-c550be54f654/2012-09-03_1537.png
So basically i turned of the wordpress admin bar an want to be able to add the menu items from it ( buddypress items, profile, groups etc) to my main menu, i tried using the plugin from modernlooper but it wont work with my theme as it operates via widgets and custom everything, i need to somehow get it so it shows up on the menus page so i can check and add it to any menu i want
any ideas?
@qrahaman hum odd we should be getting such different errors
thanks for the feedback!
Thanks @Quint but i tried using extras and got this
Fatal error: Class ‘BP_Group_Extension’ not found in /home/aboveand/public_html/AboveandBelow/wp-content/plugins/buddypress-groups-extras/bpge-loader.php on line 3
so yea that no good, the albums should be fine ill work on that tomoz, and shabusha looks interesting but for 60 euros an 19 vat an you have to re purchase for any major updates is a bit to harsh for my price range
@ubernaut,
I am not able to get a chosen option to stick using BP Default, and using the Template Pack, I can’t see the privacy options at all. I have not turned off all other plugins though, so there could be a conflict with one of those.
@abovenbelow,
give this a shot… I’m about to: https://wordpress.org/extend/plugins/buddypress-groups-extras/
You may also want to check out: http://buddydev.com/tag/bp-gallery/ for the Gallery (but Brajesh is working on the next version), BP Media’s BP Album+ could also work for you; and you could give Boris’ Mapology plugin at http://shabushabu.eu a shot as well.
There’s no way to do this in the BP UI at the moment, without writing code. If you’re interested in how these tabs work, you may want to consult the BuddyPress Skeleton Component: https://github.com/boonebgorges/buddypress-skeleton-component
@mercime i hope i did it right
My site has been in development since upgrading to 1.6.1, just discovered prior to going live that where new registrations previously had (perhaps wordpress functionality-rather than buddypress -I dont really know) the ability to make post and were contributors by default. There now seems to be no access to the admin post-editor for a user, I guess they are not contributors by default, but how do I provide this functionality, or where does a user find it.
I want new registration to be able to post immediatly all be it pending editor role review.
Perhaps related I see that Network Admin Users are not now showing with the main blog as a site attribute, however in the members area they do show as members of the main blog.
This is a Multisite setup of course.
Any help appreciated
i wondered if anybody knows of any good premium buddypress plugins, the only ones i have found is wpmu which has a few good ones and then buddydev ( which kinda sucks and all outdated )
any sites you know of would be awesome
@tomelk31 looks like the easiest option is available where you only need to adjust the style instead of revising 16 BP template files by adding the following to your stylesheet:
`#content .padder {
float: left;
margin-top: 20px;
width: 600px;
}`
then copy over the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet after the `#content .padder` above, then adjust to taste.