OK, I’m sure that BuddyPress has a big issue! When you have a group and allowed the group forum, so everything runs well, until the group forums to disable and then enable it.
Appears this error (see below) and group forum topic “falls” into the sitewide forum as private. When clicked on it, takes you back to a group forum topic with the same error!! BuddyPress is mad and my project is stopped and I’m screwed. I am sorry, I have a lot of work the last few days, and all work is useless.
Warning: substr() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776 Warning: strpos() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783 Warning: explode() expects parameter 2 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: Invalid argument supplied for foreach() in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: substr() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776 Warning: strpos() expects parameter 1 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783 Warning: explode() expects parameter 2 to be string, array given in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: Invalid argument supplied for foreach() in /data/www/www_cyklodenik_cz/cyklodenik_cz/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789
Looking to do something similar, but I’m using the buddypress follow me plugin. I would like to display the “follow” button on my childsite’s sidebar.
By default, add as friend works only on the profile template or on the member template. So if you want to add this button into a post or in the post meta, it won’t work, i believe.
You should call the good template part first and probably need to add the appropriate action hook, yes.
Did you use the statement if ( bp_is_active( ‘friends’ ) ) before `bp_add_friend_button ?
`
Hi Chouf,
Thanks for the response. Although I’m having hard time connecting the dots.
I’d already used
`bp_add_friend_button( $user_ids[‘users’][$i]->id ) ?>`
directly in my code but it didn’t return any results.
Do I need to use an action hook to display it in posts?
Hi!
I’m wondering if anybody figured out how to add a template tag for Add Friend button?
Cheers
I found a tutorial by Spencer Forum that had step-by-step instructions that I think cleared up my issues. I was able to change the slugs and I think things are working correctly in the forum area now. Here is his tutorial which will hopefully benefit others: http://www.youtube.com/watch?v=M8mh3f6Vzbo
Now I’m having problems with registration. I opened it up so that a few of our members could register and I could test what happened. Two of them couldn’t access their profiles and kept getting the wordpress log in page. Spence’s video also addressed some of that and I hope that the changes I made will fix that. But, more importantly, I have been looking for a plug-in that will allow people to apply for entry to the site. This site is going to be a free forum for our membership organization. The plug-ins that I have seen are for paid memberships and have a lot more weight than I want (configuration with Pay Pal, etc.).
I did install the membership plug-in which hopefully fixed the problems I had with the two members, but that doesn’t offer any kind of registration options. I would like it to operate like private Facebook groups: apply and get let in.
Check out the plugin wp-members. I have been using it on a family site and it does exactly what you are looking to do. I only just tried it on BuddyPress (CBOX) tonight. It seemed to work ok.
The problem with this scenario is the Buddypress sends asks the user for a password, then the user approval generates another. I have been beating my head trying to solve this same problem. I need users to resister without a password, then when they are approved, they get sent a generated password.
okay…i deactivate some plugins and i found out, that i cant view the stream because of the “Private BuddyPress” plugin
but i cant deactivate it, because i need it.
is there any solution?
Howdy friends,
I am seeking a simple explanation which summarizes the ways in which users can be added to a private group.
Here is what I have so far:
1. By a user requesting membership by clicking the REQUEST MEMBERSHIP link on the group summary page. The request goes to the group’s administrators.
2. By a network SUPER ADMIN using the BuddyPress Group Management Plugin from the Network Dashboard at BUDDYPRESS > GROUP MANAGEMENT.
What other methods are there? How can group administrators who are not Network Super Admins add and remove members from their groups?
I would not use the current activity post form. I would create a group extension and have a private submit form for admins only.
https://codex.buddypress.org/developer/plugin-development/group-extension-api/
Sample code to show how to add activity:
http://bp-tricks.com/snippets/adding-a-new-activity-stream-entry-when-a-user-changes-his-avatar/
code to swap avatar from user to group:
http://pastebin.com/8hebkE9s
Hello Henry, my Englisch is not so good. Sorry.
I do have 2 Problems, maybe you can help me: 1. send private message and 2. send public message doesn’t work but not like on the buddypress page itself. If for example click the private message, the message page opens without the address User name field, but it appears only an mempty field. Where is the mistake? And this could be handled and dissolve in an jquery colorbox or fancybox manner?
Thanks R.
@ngoegan What private community plugin did you use? I’ve been trying to create a private BuddyPress community and the plugin I’m aware of is old. I’d love to know if it still works so I can avoid using a funny collection of other hacks I’ve read about.
I don’t know if it is Wanguard either, but from the Wanguard list of users, the ones that are having problems have a No Status under their Wanguard status and the others have a green “checked”.
But, I want to make the site private, by email invite only, too. How did you do that, @jrcdyer?
I may have misunderstood you but that’s the way the messages are usually sent e.g. private messages. Could you be more specific about which message you are referring to?
Hi, thanks. I did think about just using private messages, but the user and admin would have to have the ability to upload pics. I would use a plugin to enable picture uploads, but is there a way to restrict posting of pictures to only designated members? I’m using S2members to handle membership restrictions/capabilities. I wonder if I can use S2members to restrict posting of pictures.
You couldn’t find this?!
https://buddypress.org/support/topic/how-to-make-a-private-community/?topic_page=6&num=15/#post-86316
Obviously play around with the code to get what you need but that’s the basic principle for a re-direct away from pages wanted to be made private.
Hi there,
Just a thought, but couldn’t you send him a private message in the ‘messages’ section?
(using WordPress 3.5 with BuddyPress 1.6.3)
For some reason the left curly quotation is being displayed as a right curly quotation. However, it’s only happening in the BuddyPress extras, like Activity and private messaging. I’ve spent half the day trying to figure out how to fix this without any luck, as every solution I’ve found applies to WordPress and not BuddyPress (as in, has no effect).
I’m not stuck on the curly quotes, so if the solution is to disable them completely I’d definitely go for that. All I need is for someone to point me in the right direction.
If you’d like to see the problem in action, here’s a link to the website in development: http://imagineoutback.com/activity/
Roger. Please let me know here if you will; I may have wandered off, trying yet another solution…
Plugins usually get abandoned because the developer has no benefit on maintaining them. You can try to fix one of the free plugins or google a bit. Private sites have been talked a bunch and there are many solutions. I am working on a paid plugin that has privacy features with custom login/register pages that privatize a site. Will be available next week.
Hi, I want to create a topic that only admin and one user can access. What would be idea to do is within a group associated forum, I create individual topics with user’s name so that I can work specifically with that trader and no one is able to view those posts. Any help is appreciated.
Is there any reason why the older plugins that made Buddypress private haven’t been updated? It seems like such a common request. Well, here’s hoping that 1.7 will solve that problem! When is it due out?