Search Results for 'buddypress'
-
AuthorSearch Results
-
February 3, 2011 at 1:58 pm #104505
Boone Gorges
KeymasterOff 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?
February 3, 2011 at 1:54 pm #104503In reply to: Some questions about BuddyPress friendships
Boone Gorges
KeymasterIf 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.
February 3, 2011 at 1:47 pm #104502In reply to: Only Admin Account can Login to Buddypress
Boone Gorges
KeymasterAre you trying with different browsers? Maybe the cookies are not being flushed correctly
February 3, 2011 at 1:46 pm #104501In reply to: Some questions about BuddyPress friendships
xXDarkie
MemberI 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?February 3, 2011 at 1:42 pm #104500In reply to: Only Admin Account can Login to Buddypress
Paul Wong-Gibbs
KeymasterYeah. If it was = 2, the accounts would not have been activated yet (double-checking). I don’t know.
February 3, 2011 at 9:29 am #104495In reply to: Only Admin Account can Login to Buddypress
n_sane
MemberI did a “select * from wp_users;”. The “user_status” field has the value “0” for all the users including the admin user.
Am I looking at the right values?February 3, 2011 at 8:56 am #104493In reply to: Some questions about BuddyPress friendships
xXDarkie
MemberOk I just sent them an e-mail, thanks.
What could be the “relevant things” in the log file that may arise? Do you think that they are “lowering” the number of allowed queries per second and this may be the issue for which the functions are not returning the proper result?February 3, 2011 at 8:18 am #104492In reply to: Some questions about BuddyPress friendships
Paul Wong-Gibbs
KeymasterAsk them if they see anything relevant in the log file or from any usage stats they might record.
February 3, 2011 at 8:16 am #104491In reply to: Only Admin Account can Login to Buddypress
Paul Wong-Gibbs
KeymasterIf you can, in the Wp_users database table, what user_status does one of these user accounts have?
(I think it’s user_status; values should be 0, 1 or 2, unless you’re using multisite.)February 3, 2011 at 7:32 am #104490In reply to: Only Admin Account can Login to Buddypress
February 3, 2011 at 7:32 am #104489In reply to: Some questions about BuddyPress friendships
xXDarkie
MemberThanks a lot for the reply!
It’s not indeed my own server, I’m working on someone else’s. What should exactly ask them? To allow a greater number of active connections?
Thanks!February 3, 2011 at 7:27 am #104488In reply to: Only Admin Account can Login to Buddypress
Paul Wong-Gibbs
KeymasterIf the new user accounts that you’re trying to log in with were created after BuddyPress has been installed, have you activated those user accounts?
February 3, 2011 at 7:25 am #104487In reply to: Some questions about BuddyPress friendships
Paul Wong-Gibbs
KeymasterBuddyPress’ SQL is fine. Your SQL server might be dropping connections. Is this on your own server, or is it being hosted by someone? I’d suggest that you ask them to check your SQL database and look at the number of active connections allowed. Something must be a little bit off-kilter somewhere, or they are throttling database queries.
February 3, 2011 at 7:13 am #104486In reply to: Some questions about BuddyPress friendships
xXDarkie
MemberI’ve just realized I have a couple of warnings from WordPress, don’t know if this can be helpful to help me out:
Warning: mysql_real_escape_string(): 11 is not a valid MySQL-Link resource in /path/to/wp-includes/wp-db.php on line 785
Warning: mysql_error(): 11 is not a valid MySQL-Link resource in /path/to/wp-includes/wp-db.php on line 1119These happens only when calling the above stated functions of BuddyPress.
Thanks!February 3, 2011 at 6:26 am #104485In reply to: Some questions about BuddyPress friendships
xXDarkie
MemberBump. Sorry don’t want to be annoying, but it’s pretty important and I’m in a hurry.
February 3, 2011 at 6:09 am #104482In reply to: Help Please!! Can’t Create Groups
@mercime
Participant@ddegagne answered in your other post about same issue
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/why-did-this-happen/February 3, 2011 at 2:07 am #104475In reply to: Only Admin Account can Login to Buddypress
ali_rahabi
MemberI have the same problem. Has anybody found a solution? Pleas help me !
February 3, 2011 at 12:54 am #104471In reply to: Help Please!! Can’t Create Groups
ddegagne
MemberYes I have everything enabled. Unfortunately, I just installed a new theme to try it (Buddymatic) and when I activated it I got the following error.
Fatal error: Cannot redeclare bp_dtheme_ajax_addremove_friend() (previously declared in /home/ordinar5/public_html/coupons/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:334) in /home/ordinar5/public_html/coupons/wp-content/themes/buddymatic/_inc/ajax.php on line 63Can you tell me what happened and how I might fix this?
DonFebruary 3, 2011 at 12:47 am #104470In reply to: Theme Links to Buddypress Profile
Andrea Rennick
ParticipantFebruary 3, 2011 at 12:47 am #104469In reply to: Creating links to profile pages
Andrea Rennick
ParticipantFebruary 2, 2011 at 11:58 pm #104467pcwriter
Participant
February 2, 2011 at 10:35 pm #104465Barmy Blue Man
Member@pcwriter
Muchas muchas gracias.February 2, 2011 at 9:20 pm #104462modemlooper
Moderatorlike @mercime said “Deactivate BP Template Pack if you’re going to use a BuddyPress-compatible theme already.”
February 2, 2011 at 9:04 pm #104460In reply to: forum/groups
@mercime
ParticipantFor forums – you have to set it up first = dashboard menu > BuddyPress > Forums Setup
For groups – enable it first = dashboard menu > BuddyPress > Component Setup
BP Codex is your friend https://codex.buddypress.org/getting-started/configure-buddypress-components/February 2, 2011 at 9:02 pm #104459 -
AuthorSearch Results