Search Results for 'buddypress'
-
AuthorSearch Results
-
March 3, 2014 at 4:34 pm #179239
In reply to: Hide or Show content for specific BP Groups
Doremdou
ParticipantI just found this on WPMU dev (quite old, 2012) http://premium.wpmudev.org/forums/topic/member-part-of-a-group-in-buddypress
>>Aaron
You can pass bp_group_is_member($group) a group object. I think you can do this:
$group = new BP_Groups_Group( $group_id ); if (bp_group_is_member($group)) { //do this stuff }>>CreativeSlice
Thanks for your help Aaron. I’ve got it nearly working with your direction and am hoping you can help with the last few details.
Theif (bp_group_is_member($group))part doesn’t seem to be working so I did a
print_r($groups);and found this:
BP_Groups_Group Object ( [id] => group-three [creator_id] => [name] => [slug] => [description] => [status] => [enable_forum] => [date_created] => [admins] => [mods] => [total_member_count] => )Is there a way I can use this to see if the logged in user is a member of “group-three”?
>>Aaron
You need to get the ID number for your group. Maybe from the db.
>>caevan_sachinwalla
BP_Groups_Member::get_group_ids( $user_id );will give you the group_ids of the groups a user is a member of.
Will this work with the new version of buddypress? how can I make a shortcode with this? thank you a lot 🙂
I also found this on buddypress.org : https://buddypress.org/support/topic/check-if-an-user-is-or-not-a-group_member/
functions.php:
if(groups_is_user_member( bp_loggedin_user_id(), BP_Groups_Group::get_id_from_slug(‘VALUE’))){ ... add_action( ‘bp_setup_nav’, ‘setup_nav’, 1000 ); }Can I make a shortcode with this? I would like a shortcode like this:
[group “Group1”] Content [/group]
So how could I change the VALUE in the code with the group selected in the shortcode? (“group1”) so that I can use only one shortcode for all groups I have created.
thanks 🙂March 3, 2014 at 3:52 pm #179235In reply to: BuddyPress 2014 Survey
@mercime
Participant
Thanks for your patienceMarch 3, 2014 at 12:54 pm #179228In reply to: Blank Friends Requests
jakewho
ParticipantI am experiencing the same issue. Does the latest version of Buddypress resolve this issue?
March 3, 2014 at 8:32 am #179210In reply to: Make Content Private
palmdoc
ParticipantYou could also try the S2 Member plugin. For the Buddypress Community content you can restrict that using the URI restriction option for forum, member, activity sections etc.
It’s quite flexible.March 3, 2014 at 7:27 am #179208Squirrel
ParticipantThe plugin author say’s it does:
schedule forum topics in any group
schedule site-wide notices to be published
schedule group members unbanning
Everything at a time you specify!That gives you a unique ability to:
plan the traffic on your site
promote something at a certain time
notify users about any group events/news on timeI was thinking it might be useful in conjunction with BuddyPress Group Email Subscription as a task manager or event scheduler for members- but not sure really. Just thought it was interesting and letting people know.
March 3, 2014 at 4:01 am #179205In reply to: iPhone app for BuddyPress
sunnyj
ParticipantThe more reason I would like an android app for buddypress site is in the cropping of photo when changing the profile avatar. For sometime now this has been giving me a serious headache seeing my website filled up with the default mystery avatars, I sort to find out while and the response I got from everyone was that they could not crop their images on mobile especially when using mini version of some mobile browsers like opera mini, uc browser mini and others which of course is good for minimizing data usage.Even with the normal mobile browser the experience is still very poor. It’s time the developers at buddypress take the issue of mobile version a serious issue. It would be okay if the cropping process in buddypress can automatically detect when on mobile and use the phone hardware to crop the photo before upload. It’s generally best to crop on phone hardware than on mobile browsers, beta still to auto resize and upload would be great. I pray someone can develop a plugin for this.
March 3, 2014 at 2:01 am #179200In reply to: [Resolved] Create Group goes to a blank page
nlongtin
ParticipantUPDATE
I found out what the issue was. It was the varnish cache server which was installed and setup by default when you launch a new server on Rackspace. This caching server apparently breaks a lot of Buddypress. Warning to all! If anyone knows how to configure varnish to work properly with BUiddyPress let me know. Thanks.
March 2, 2014 at 11:12 pm #179192DennisBarkerCV
ParticipantAdding a forum to a group when BuddyPress and bbPress are installed is part of the group creation process,so you – or anyone with Admin level capabilities – would make the choice either when the group is set up or later as part of a review process.
bbPress works without buddypress so it is possible to add forums without installing BuddyPress.You would have to evaluate the features of each plugin that are essential or optional and then make a judgement about the combination.
The easiest way to evaluate the features is to set up a test site and play with different combinations.
March 2, 2014 at 10:50 pm #179190rossagrant
ParticipantMarch 2, 2014 at 9:02 pm #179181In reply to: 500 Error when Notifications Turned On
Duke Taber
ParticipantOk I just read modernloopers list of questions so I want to make this as clear as possible. First this problem is not a plugin problem. I disabled and deleted all and it didn’t fix the problem. I also tried a different theme and it didn’t fix the problem so it is not a theme problem. TJ at Buddyboss tried valiantly to figure out the problem to no avail.
Here are the questions that modernlooper wanted answered.
Please try to supply answers to the following questions.
1. Which version of WordPress are you running? 3.81
2. Did you install WordPress as a directory or subdomain install? directory
3. If a directory install, is it in root or in a subdirectory? root
4. Did you upgrade from a previous version of WordPress? If so, from which version? every one for the last year
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes
6. Which version of BP are you running? 1.92
7. Did you upgraded from a previous version of BP? If so, from which version? Every one for the last year until 1.9 and then it broke. I just went back to my backup and waited. Upgraded to 1.92 and it is still broken. Went through all the normal troubleshooting processes until figuring out it was the notifications that is causing the error.
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Ads Manager WP/BB
Akismet
BBpress
BB Force Profile
BuddyPress Tiny group chat
BuddyPress Links
Easy Album
Facebook Friends Inviter
IFlyChat
Invite Anyone
Social Login
Wanguard9. Are you using the standard BuddyPress themes or customized themes? BuddyBoss
10. Have you modified the core files in any way? No
11. Do you have any custom functions in bp-custom.php? No, or at least none I am aware of that was put in there personally
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? 2.5.3
13. Please provide a list of any errors in your server’s log files.
[Fri Feb 28 14:41:05 2014] [warn] [client xxx] mod_fcgid: stderr: PHP Fatal error: Call to undefined function bp_notifications_toolbar_menu() in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/buddypress/bp-members/bp-members-adminbar.php on line 148, referer: xxx/wp-admin/options-general.php?page=bp-components
14. Which company provides your hosting? Media Temple
15. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux and Apache
March 2, 2014 at 6:15 pm #179170In reply to: [Resolved] Community Gallery Plugin?
brucedwilliams
ParticipantFrom the description, that plugin creates a gallery per BuddyPress member. What I was looking for was a single gallery accessible to all members (i.e., a centralized gallery).
Thanks for the help, much appreciated.
March 2, 2014 at 6:02 pm #179169In reply to: [Resolved] Community Gallery Plugin?
Squirrel
ParticipantI saw this one a while back and it seemed to work well whwn I tested it last. It might need some tweaking regarding the css though as I remember. BuddyPress Portfolio
But it would mean each user had their own gallery.
A page can be created I think showing all pictures.March 2, 2014 at 3:21 am #179148In reply to: Another Custom Post Type in Activity Stream
Good in Today
ParticipantSorry, got sidetracked… Go me! LoL
Anyway, the second part of my question was / is in reference too exactly what you just said… You’ve stated that ‘When a post of the types I have specified in my array is created’… My question is in reference to this statement. How are your users, on the Activity Feed, selecting to POST in the specified types? Dropdown? Radio button?
I’m curious because PHP happens on the Server Side prior to the page being sent to the user, as far as I know, so I’m not sure how your Activity Feed is, after the fact, telling BuddyPress’s Activity Feed that the user has SELECTED to Post an Event or a Business or whatever.
March 2, 2014 at 12:14 am #179138DennisBarkerCV
Participantsimple-man,
I prefer to run the bbPress forum plugin as it integrates well with Buddypress.Using a forum plugin is a way to get your site members and visitors to engage in the discussion and encourage them to return to the site regularly.It really depends on the specific community,some prefer to comment on a blog or podcast,others prefer forums.All you can do is set up one forum and invite people to take part and then make a judgement about whether the level of interaction justifies a forum per group or just a forum for certain groups.
March 1, 2014 at 10:44 pm #179134In reply to: Remove or move title/member name on profile pages
Jerry
ParticipantDid you determine how to do this? I’m trying to do something similar. I’ve figured out that I needed to create a bp-custom.php file, and I’ve used that to rearrange and rename the menu items in the buddypress profile page. But similar to you, I want to move the page title and avatar.
If I figure this out before you respond, I’ll come back and let you know.
Thanks
March 1, 2014 at 7:18 pm #179129In reply to: Make Content Private
mrbirl
ParticipantMarch 1, 2014 at 6:24 pm #179124In reply to: one user cannot access buddypress pages
aces
ParticipantI’m not sure if it’s useful to you but upgrading to the latest version of buddypress might help as there has been some attention to issues with usernames….
See the following tickets: https://buddypress.trac.wordpress.org/ticket/5185 and https://buddypress.trac.wordpress.org/ticket/4622
in the above is an example of user name validation that, if adapted, might help stop the problem in future (without upgrading)
March 1, 2014 at 5:54 pm #179123In reply to: one user cannot access buddypress pages
amckinnell
ParticipantI should have added,
WP Version 3.8.1
Buddypress version 1.8.1and … I cannot upgrade versions because my (stupid) developers added customizations by changing the core files. Argh. Another problem I have to sort out.
March 1, 2014 at 3:18 pm #179119In reply to: using bp-custom.php causing conflicts
aces
ParticipantIt’s not clear from your code as you don’t use the
codetag….The error messages suggest that the problem is on line two of your bp-custom.php file.
Is that all that’s in your file and if so, then is
<?phpthe first thing in the file? There should not be any other characters, blank spaces or lines before it. Similarly there should be nothing after the final?>.Also make sure that your
'single quote marks'aren’t turned in to‘smart quotes’when you copy and paste ( this can also happen with double quotes –" "turning to“ ”). Also this needs to be done using a text/code editor such as Notepad++ not a wordprocessor such as MS Word.Have you tried the recent variation of the above mentioned by buddypress lead developer jjj in https://buddypress.org/support/topic/profile-sorry/#post-178320
March 1, 2014 at 7:03 am #179108In reply to: what appears as a notification?
Henry Wright
ModeratorHumm… Looking at the proposal and the patch, it doesn’t look like ‘in-profile’ notifications are factored in yet. Just email notifications at the moment it seems.
bp_notifications_add_notification()does the adding of an ‘in-profile’ notification. See here:
https://github.com/buddypress/BuddyPress/blob/master/bp-notifications/bp-notifications-functions.php#L35March 1, 2014 at 4:04 am #179106In reply to: Privacy and Buddypress
bkwdesign
ParticipantI’m researching BuddyPress as I’m planning a possible solution for a client. They want to do an ‘Angie’s List’-like thing where a contractor pays to be listed and consumers can rate/find a contractor of their choice….. I’ll be watching and letting you know what I learn. This thread concerns me! Please reply back here if you figure things out.
March 1, 2014 at 1:22 am #179104In reply to: Privacy and Buddypress
Clara
ParticipantNot sure if you are still out there, but I am trying very hard (not a coder, btw) to create a site that will allow the members control over who can see their postings, friendships etc.
I cannot figure out how to do it with buddypress. Every solution that has been offered has not actually done the trick, be it a plug in or adding code.
My site is a paid membership site – and restricted to members of a local “in person” social group.
The way buddypress is working, even with the “activity privacy” plug in installed is this:
there is a page called activity stream. It has 4 tabs in it:
all members
friends
@mentions
rssEverytime someone joins the site, it shows up in the all members tab
everytime someone accepts a friend request, it shows up in the all members tab
everytime anyone posts any status updates, photos, or anything, it shows up in the all members tabanyone who has a membership can view the all members tab, therefore, nothing a member does is private.
I have not tested emails, so perhaps emails are private, but so far, nothing else is.
I have tried in vain to find a way to be free of the all members tab and cannot get a solution. I am considering abandoning buddypress and trying symposium and seeing if that offers privacy.
Once the all members tab is resolved, you would also need to resolve similar issue with rss feeds, as that pumps all info out there as well, as best I can tell.
Buddypress seems to be designed as a very very public space and I fear that trying to accomplish any privacy is a losing battle.
If you find something that does work, I would appreciate knowing what it is as I am at my wits end with it.
Best of luck to you.
February 28, 2014 at 8:00 pm #179090In reply to: 500 Error when Notifications Turned On
Duke Taber
ParticipantOk I am having trouble posting the error in the log.
[Fri Feb 28 14:41:05 2014] [warn] [client xxx] mod_fcgid: stderr: PHP Fatal error: Call to undefined function bp_notifications_toolbar_menu() in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/buddypress/bp-members/bp-members-adminbar.php on line 148, referer: xxx/wp-admin/options-general.php?page=bp-components
February 28, 2014 at 6:49 pm #179078In reply to: what appears as a notification?
Henry Wright
ModeratorRegarding notifications for activity comments, see this open ticket:
February 28, 2014 at 6:47 pm #179077In reply to: Need help with menu positioning on profile page
Renato Alves
ModeratorYou can edit the code on the BuddyPress pages and change it to the left. Clearly only some of the BP pages have the Menu on top, you change in those pages and you’ll be good.
-
AuthorSearch Results