Hello,
I need create a filter to display a sellect bottom who display all the states of the country.
By choosing the state, BuddyPress will display only users of that particular state.
I was told to use a filter by metadata.
But, how?
Another thing, how to display all users registered in two or more groups using the same URL?
p.s.: sorry for my english terrible… haha
When you installed BuddyPress, did you do that *before* you set BP_ROOT_BLOG in your config file? I think what has happened is that your root site will have Pages created for Members, Groups, Forums, etc., but BuddyPress needs those created on the BP_ROOT_BLOG site.
Try creating new Pages on the BP_ROOT_BLOG site, and then go to the BuddyPress > Components menu in that site’s wp-admin, and map the components to a page which you’ve just created.
@mercime Sorry I forgot to mention :
1. Installed buddypress with group forums component
2. I created a group
3. I checked the admin settings of the group and “Enable discussion forum” is already checked
4. I try to create a topic and I get this error : “This group does not have a forum setup yet.”
What I already tried :
– remove/add the forum component
– uncheck/check “Enable discussion forum”
If try to create a topic from the forum directory :
1- fill the form
2- choose the group from the droplist
3- I get the error : “Please pick the group forum where you would like to post this topic.”
@Paul
id3 : domain.eu/members-area/
domain.eu/members-area/achives/4
the permalinks are set to Numeric
i also get this message now :
The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams, Site Tracking, Discussion Forums, User Groups,
in version 1.4 there is no assocaition with WP pages or am i wrong
this installation is a copy (“settings” ) of a older instalaltion
Cheers
@shanebp What I want to do is limit the characters they are allowed to enter into the actual bio.
@mercime,very very thank you for your answers.
host php ver .5.5
wordpress ver 3.2.2
bp ver 1.5.5
i tryed bp ver 1.2 but i have the same error.
my site adress : http://www.mones.ir
forum address :http://mones.ir/forums-2/
Hi,
I just installed buddypress and on two different sites I’m getting the following error:
“Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/avatars/1) is not within the allowed path(s): “
I believe that the path it’s looking for is inside my virtual host path. Is there a way to put a real path in the code or fix this another way?
thanks
@abbas667 there are indeed some who have not succeeded in installing group forums but there have been many many more who have successfully gotten their group forums plus sitewide forums going for old and new installations.
What we’re doing now is troubleshooting to see why it’s not working for you and how to resolve this. I can empathize with your situation and frustration, but in order to assist you, we need to know the answers to the questions I posted above – WP/BP versions, hosting, etc.
You should also check out – https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/
Then, to enable forum in each group – https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/4/#forums-faqs
hi @mercime ,thanks for you’r response.yes, i tryed all this way’s and other way’s
but the problem still not fixed.
i changed my site theme by bp.defult theme and other theme.
i drop the bodypress database tables for many times and instaled buudypress again and again.
i drop the plugins database tables for many times.
i deactivated the all plugins.
please search this words in google and you see the results . ” This group does not have a forum setup yet ” .
I’m trying to create a data warehouse from our users information on buddypress so we can make it easier for us to tie in with third parties.
I thought I had this working before but it’s definitely not working now.
Anyone have any idea on how to make this work.
All I want to do is when they join or leave a group be able to fire custom code.
Here is what I have and is not working it looks like the current action that is always firing is “home”
class CB_Data_Warehouse_Transfer {
function __construct() {
add_action('init', array(&$this, 'init'));
}
function init() {
add_action('bp_actions', array(&$this, 'groups_action_join_group'),1);
add_action('bp_actions', array(&$this, 'groups_action_leave_group'),1);
}
function groups_action_join_group() {
global $bp;
echo $bp->current_action;
if (!bp_is_single_item() || !bp_is_groups_component() || !bp_is_current_action('join'))
return false;
die("JOIN!");
//if (groups_join_group($bp -> groups -> current_group -> id)) {
//TODO UPDATE WAREHOUSE
//}
}
/*
* TODO Error CB_Data_Warehouse_Transfer::groups_action_join_group() in /var/www/socialfabric.us/htdocs/wp-content/plugins/cb-data-warehouse/plugin.php on line 22
* */
function groups_action_leave_group() {
global $bp;
echo $bp->current_action;
if (!bp_is_single_item() || !bp_is_groups_component() || !bp_is_current_action('leave-group'))
return false;
die("LEFT!");
}
hmm, actually, would a better way to deal with this be to set the capability to view the menu to read and put an if (user_is_mod()) add_submenu_page
I’m using wordpress/buddypress on my site http://fanart.tv currently in the plugin I created It defines a new user role which I can then set a user as (global_moderator) which has the capability moderate_fanart.
When a member is a global_moderator then can go to the dashboard and approve/deny other users uploads.
I also have created a Moderators group so the mods can talk amongst themselves and it also allows people to request to become mods.
So my plan was instead of checking if the user had the capability moderate_fanart to just see if they were a member of the moderators group
public function user_is_mod() {
$modgroup = groups_get_group( array(“group_id” => 1) );
if (bp_group_is_member($group)) return true;
else return false;
}
However, if I use this then I still have to manually set the member as a global_moderator as add_menu_page and add_submenu_page need to have the capability required to view them.
So is there any way to set it so when a member joins a group it also sets their user role to global_moderator and when they leave it sets it back to subscriber?
The other issue is that editors also have the moderate_fanart capability so I’m not sure how I would deal with that.
Can anyone tell me how to post code snippets in a group forum? I try this with code and pre parameter but without success. I know there is a code snippts plugin for buddypress but this plugin has all snippets on an extra page. I need this in group forums.
May anyone can help?
@sooskriszta If i was a betting man, I’d put my money down on 1.5.6 being released to coincide with WordPress 3.4. I don’t think 1.6 will be quite ready by then and they will need a release to fix afew changes in WordPress.
But, then again – i don’t bet. Which is probably a good thing, because if i did, i’d be dead broke :p
SKParticipant
@djpaul Are you there, buddy?
@mrguythornton Another way to add profile link to add to what @chrisclayton posted above.
You can filter wp_nav_menu to include the profile link in custom menu (unless your theme author created his own custom menu for the theme). We add in the requirement for the link to show up only if the user is logged in. The following is added to theme’s functions.php file:
// Filter wp_nav_menu() to add profile link
add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
function my_nav_menu_profile_link($items) {
if (!is_user_logged_in())
return $items;
else
$profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('Visit your Awesome Profile') . '</a></li>';
$items = $items . $profilelink;
return $items;
}
1. I installed buddypress.
2. I created a group
3. I try to create a topic and I get this error : “This group does not have a forum setup yet.”
Please help.
Thank you,
The View link or time stamp permalink in any activity in my buddypress does not work, and leads to a page where only the header is loaded.
I tried deactivating all the plugins except buddypress and when I deactivated the Template Pack it worked (only it shows all over the place cause the lack of the template pack).
I am using a custom theme, wich needs the plugin.
¿Is there any easy fix?
I’m using WordPress 3.3.2 and Buddypress 1.5.5
All of the other permalinks work fine (I even changed them a couple of times).
Its a new manual instalation in the root of my domain.
All the site is hosted at banahosting.com
Link to the activity page of my site: http://fronteragrafica.com/actividad
Don´t know if it has any to do with it but my activation keys/email do not work either.
Thanks a lot!
@zillabuggs have never installed any WP/BP on Windows because of many possible issues. Adding “Windows server” to title of this topic even it’s possible that it’s not a server issue.
== My users are putting posts on, but you cannot view all of the post. . I am referring to a groups page with 3 groups set up on it.==
To clarify, do the members actually get to publish that group forum topic in the first place? As in, do they see a message that the forum post was successfully published after they post similar to what you see happen when you post here – “Your reply was posted successfully”?
Sorry, not getting this -> “groups page with 3 groups set up on it”
What specific relevance does the Groups Directory (?) page have to do with your issue?
What theme are you using?
@mrguythornton – Firstly, the mods are human too and do make mistakes, if they do mark it as resolved when your not confident that it is then just say so and @ one of them asking them to remove it. The mods are actually kind people (unless your a spammer). Also, not sure if your aware of this, but to mark a post as resolved the mods simply edit the title to say so – your welcome to remove it easily by clicking ‘edit topic’ and removing it. (if your the one who started the thread)
Anyways, now that that’s out of the way – “ is how you would get the URL to the loggedin user’s profile. (you’d have to code it deliberately though, i don’t think it’s easy to add it to WordPress’ custom menu.)
Something like this will (should?) work.
`<a href="”>Visit your Awesome Profile!`
@dubraker glad you resolved your issue and thanks for the heads up.
I recently posted this (about modifying the activity stream) that might help (assuming you know how to use WordPress filter hooks).
https://buddypress.org/community/groups/creating-extending/forum/topic/modify-output-of-activity-stream/
Displayed userID: bp_displayed_user_id(); returns the user id for the user that is currently being displayed.