Hello everybody,
I’m having some issues while using buddypress
My BP version is: Version 1.2.3 I know its old but we changed some stuff on the core so I cannot update this anymore…
I had one site called for example: http://www.mybuddy.com
And with the new feature of wordpress 3.0.4 I enable the feature for multisite insite my site
So I got this
fr-ca.mybuddy.com
for french site and
en-us.mybuddy.com
for English american website
And off course my main site http://www.mybuddy.com
Everything is running fine and clear no problems were found… until I tried to access members page
Usually I do http://www.mybuddy.com/members and I go to members list without any problems or errors
But when I try to fr-ca.mybuddy.com/members I get the error page:
Error 404 – Page not Found
The page you were looking for could not be found.
Same for en-us subsite
What I need to do to make this work??? remembering that all 3 websites are related to the same theme nothing has changed.
I only changed the translation and the content for it
Users are all avalible to all subdomains and main site.
What I need to do?
By any change anyone had this problem before??
I tried to create one template that include(“members/index.php”);
But when I do this I get this error: No Results Found
Like if there is no users at all… and there is more than 10 mil users on this site…
Thanks,
Thiago
ehh.. still no fix for this??
WP3.0.4
BP 1.2.7
BP-default-child theme
And I have the same issue// seems more erratic though… some users display correctly
You could create your own buddypress component or use something like gravity forms. Did you search for a WP plugin for this type function? A lot of WP plugins work in most cases. You could also hack the groups into something else.
I’m having the same problem. I thought BuddyPress was working, but just found out that any time anyone else clicks Log In it just brings them back to the front page and does nothing.
I’m using the Platform Theme
I have GoDaddy Hosting
Plugins Installed:
Akismet
BuddyPress
BuddyPress Group Email Subscription
BuddyPress Links
Buddypress Sitewide activity widget
BuddyPress Template Pack
CubePoints
CubePoints Buddypress Integration
Google XML Sitemaps
Wickett Twitter Widget
WordPress SEO
Anyhow since I set manually the friendship I tried to call another function (the one that counts the number of friends you have) and also that one returns 0. This is truly unbelievable.
Again I used your code and the result is:
SELECT id, is_confirmed FROM wp_bp_friends WHERE (initiator_user_id = ” AND friend_user_id = ”) OR (initiator_user_id = ” AND friend_user_id = ”)
Which is normal I guess, because the passed variables are integers, right?
Hello,
I am looking to develop a website that allows users to register/login, post a review with pre-set input fields (such as “Location” or “Rating”) and edit their profiles (avatars, location and so on). Additionally, I would like to have a page that displays the top ranking “topics” – for example: if a number of users visit an area and give it a high rating, can I show this? Is a rating system including or will I have to develop this outside of BuddyPress?
I’m under the impression that BuddyPress may not be suitable for all these tasks, however, if it can manage most of them, I should be able to develop the rest.
Thanks in advance for your helpful feedback.
1. If you don’t want the nav bar, you can suppress it with the following line in your wp-config.php file:
`define( ‘BP_DISABLE_ADMIN_BAR’, true );`
or you can manually unhook it with the following lines in your theme’s functions.php:
`remove_action( ‘wp_footer’, ‘bp_core_admin_bar’, 8 );
remove_action( ‘admin_footer’, ‘bp_core_admin_bar’ );`
No need to hack anything.
2. A vanilla installation of BP, using the default theme, loads one stylesheet: style.css. That stylesheet includes two others: _inc/css/default.css and _inc/css/adminbar.css. There is also a stylesheet for the Dashboard view. If you are using the template pack and are finding too many stylesheets, it’s possible that your WP theme is to blame. In this respect, BP is being fairly austere in the number of CSS files it’s loading. If you want to override things, there’s no reason to “hack” – just put your own overriding styles after the import commands in style.css.
3. This is a great idea, I think. Perhaps you could file a formal enhancement request at trac.buddypress.org (same username/pw as this site)
4. The way that the default theme handles profile, activity, friends etc separately, provides a large amount of straightforward customization in child themes. If bp-default had them consolidated, child theme authors would have to rebuild the pages to make them separate. We are erring on the side of enhanceability. You are welcome to build a child theme that incorporates these parts of the profile into a single page – I bet a fair number of people would be interested in such a thing.
I doubt it’s a problem with prepare() itself, since that method is used on nearly every query in BuddyPress and I have never heard of this problem before.
It could be the case that $loggedin_userid and $possible_friend_userid are improperly cast. Try switching %d with %s in check_is_friend() and see what happens.
1. Remove the top navigation bar from the wp_footer(); because if you don’t want that navigation bar you have to either hack the Buddypress plugin or remove the wp_footer(); and from what I understand both can lead to a lot of problems.
2. Consolidate all the style sheets. I know the template pack is pretty cool, but it is still a jumbled mess of CSS and stuff going on outside of your actual style sheet which will require more hacking files programmers would probably freak out to hear people are editing. Plus I read somewhere once that it is out of date….?
3. A notifications page. A notifications page and system that also notifies you when someone replies to a comment you have made.
4. Others may like the page layout/system for activity, but I think it could be much more simplified. A profile page with your profile information, your activity, your @mentions, and a form to post directly on their wall, basically just like Facebook but including the Twitter @. Then a logged in home page with all the activity of your friends.
I know some of this is possible already, but like with the CSS problem, all of the activity files are slurred together and I haven’t successfully been able to sort out what is what.
Hey @boonebgorges. Yes, it’s my custom theme, the default is not affected.
I am a noob on code, so will u help me fix this?
I can paste files of whatever you need
I’m using the BP function.
It is the former indeed, and I managed to trace the input down to $wpdb->query (if avoid using prepare) or to prepare, to see that it doesn’t work (with prepare the $args = func_get_args() gets nothing as parameter even though I checked they are correct the second is wrong in that line I posted above).
Anyhow here is the result:
SELECT id, is_confirmed FROM wp_bp_friends WHERE (initiator_user_id = 0 AND friend_user_id = 0) OR (initiator_user_id = 0 AND friend_user_id = 0)
This is what I get printed out. If I inspect the values $loggedin_userid, $possible_friend_userid, $possible_friend_userid, $loggedin_userid they have the correct values.
In prepare the problem is this line “$args = func_get_args();” that gets wrongly the parameters (inspecting args returns nothing).
I realize that the query is with 0s. That is the problem. I am suggesting that even though you are “sure 100%” that you are passing the correct IDs to the function, the way that you are concatenating the query string might be corrupting it.
In any case, I am confused about what’s actually failing here. Are you using the function BP_Friends_Friendship::check_is_friend(), or are you writing your own function? If the former, change the `$result = ` line to the following
`$query = $wpdb->prepare( “SELECT id, is_confirmed FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d AND friend_user_id = %d) OR (initiator_user_id = %d AND friend_user_id = %d)”, $loggedin_userid, $possible_friend_userid, $possible_friend_userid, $loggedin_userid );
print_r( $query );
$result = $wpdb->get_results( $query );`
so that you can see if the query is being put together correctly. If not, dump the contents of $loggedin_userid and $possible_friend_userid just before these lines to see if you are, in fact, passing values to the function.
Anonymous User 96400Inactive
For photos there’s 2, BP Album+ and BP Gallery, which also does videos and audio, but isn’t free (I think USD 30 subscription fee?). It’s on the roadmap for BP Album+ as well, but am not sure if they have integrated videos yet.
https://buddypress.org/community/groups/bp-album/
http://buddydev.com/buddypress/bp-gallery-the-ultimate-photo-gallery-for-your-buddypress-powered-site/
For events there’re a few solutions, some paid, some free. There’s EventPress (https://buddypress.org/community/groups/eventpress/) and Jet Event System (https://buddypress.org/community/groups/jet-event-system-for-buddypress/), which are free.
There’s an event calendar plugin for groups from the guys at wpmudev.org which has a price tag attached (again, not sure, I think around USD 80 /month subscription fee?):
http://premium.wpmudev.org/project/buddypress-group-calendar
And then there’s my events plugin, Buddyvents. You can check it out on the test site:
http://test.shabushabu.eu/events/
It costs EUR 50 and comes with free support for as long as the version stays 1.x. We’re at 1.6 right now and are aiming for a 2.x release around May this year. Existing customers will get 50% off for v2.0.
Hi All
I am currently using the Jooc theme for Buddypress, WordPress 3.0.4 and Buddypress 1.2.7. Its my first post on this site so sorry if I am in the wrong section.
The admin bar (the bar at the top with all the links to my account, dashboard and notifications) on the Jooc theme doesn’t seem to appear and it never appeared from the start but it does appear in the wp-admin section just not on any of the pages. I have tried changing the css and editing the remove actions in functions.php but havn’t got it work. Any help would be greatly appreciated in trying to get the admin bar to appear for this theme.
Thanks
P.S I know the basics but not an expert coder person
I’ve done all the inspection I could, I discovered that
1) the prepare function when doing func_get_args (or whatever is the name) it gets NOTHING as result, so the query is indeed with ids 0s. Didn’t do what you said, Boone Gorges, even though I really thank you for your concern, I think I would have arrived to the same result
.
2) if I avoid calling prepare and feed the query directly to $wpdb->get_results (I’m always in check_is_friend function of buddypress) when it does $this->result = @mysql_query( $query, $dbh ); the result is NOTHING. No idea why, because $query just before this function call is the correct query with the correct IDs.
Any ideas?
Here is line 30:
` displayed_user->id ) ); ?>`
Here are the lines before and after line 30
` https://buddypress.org/?v=
displayed_user->id ) ); ?>
<![CDATA[]]>`
Hi,
I’m reading this article on moving from Ning to BuddyPress:
And in the article it says: http://jensocial.com/profiles/blogs/ning-vs-buddypress-where-are
“Hold on — before you go over to ning.com and start deleting all of your Ning Networks, know this: there are other parts of Ning that Buddypress doesn’t have right out of the box, namely events, photo and video sharing.”
Can anyone tell me if there are plugins for BuddyPress available to allow Events, Photo and Video Sharing yet?
Thanks for any help with this.
Off the top of my head, it could be that the theme author did not include the proper WP hooks in that particular template (wp_head) so that the stylesheet isn’t loading correctly. Or maybe something in the crop javascript is keeping styles on the rest of the page from being activated. It’s hard to tell without actually seeing the site. Have you tested to see whether the problem persists when using the BuddyPress Default theme?
If the last query reads 0s where there should be valid ids, you are probably not constructing the query correctly. Are you using $wpdb->prepare, with sprintf syntax?
`$query = $wpdb->prepare( ‘SELECT id, is_confirmed FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d AND friend_user_id = %d) OR (initiator_user_id = %d AND friend_user_id = %d)’, $initiator_user_id, $friend_user_id, $initiator_user_id, $friend_user_id );`
(I’m not sure if this is your exact query, but you get the idea.)
If it still isn’t working, then as an experiment, try passing the prepare() arguments as strings – replace %d with %s in the replacement patterns.
I suggest you dump your variables/query string just before AND just after the query is constructed in this manner, to see whether prepare() is causing the problem.
Are you trying with different browsers? Maybe the cookies are not being flushed correctly
I don’t think the problem is the number of queries actually…
I did a print_r over the $wpdb and the last query done after my call to friends_check_friendship_status is
SELECT id, is_confirmed FROM wp_bp_friends WHERE (initiator_user_id = 0 AND friend_user_id = 0) OR (initiator_user_id = 0 AND friend_user_id = 0)
Which is pretty strange since I am SURE 100% I pass some real ids to the function.
Any ideas?
Yeah. If it was = 2, the accounts would not have been activated yet (double-checking). I don’t know.
I saw this:
http://trac.buddypress.org/changeset/4015
How does this change influence the work for the bbpress plugin? I’m curious how that section of the code works. Eventually this would point to 1.2 but it says 1.1? Do I misunderstand the numbering of bbPress? Isn’t the plugin 1.2? What is the difference between trunk and a particular branch here?
Sorry if the answer is obvious 