Search Results for 'buddypress'
-
AuthorSearch Results
-
June 14, 2012 at 2:50 am #29892
Topic: Having trouble with BuddyPress and Arcadia theme
in forum Creating & ExtendingDangitdang
MemberI’m trying to integrate Buddypress into the Arcadia theme by United Themes. I’m having some trouble at the last part of the template pack plugin. I can’t find the format of my theme anywhere. The page.php and index.php file have code like this http://pastebin.com/kbpHQ4Vd Any? My site is mites2012.tk
June 14, 2012 at 12:20 am #135749In reply to: Adding Dynamic Profile Link to Main Menu Item
@mercime
Participant@wpissues I just tested the code in Custom Community Version 1.8.9.1 from the WP Theme Repo and it’s working fine. Even showed up in both custom menus. If you still haven’t fixed this, post all code you currently have in your functions.php file in pastebin.com
June 13, 2012 at 11:25 pm #135747In reply to: function to send a private message
kodestar
MemberThanks so much for that, it’s used within a plugin so I used:
`
function bp_send_image_denied_message($sender_id, $recip_id, $subject, $message) {
global $bp;
if ( $thread_id = messages_new_message( array(‘sender_id’ => $sender_id, ‘subject’ => $subject, ‘content’ => $message, ‘recipients’ => $recip_id ) ) ) {
bp_core_add_message( __( ‘Image Denied Message was sent.’, ‘buddypress’ ) );
} else {
bp_core_add_message( __( ‘There was an error sending that Private Message.’, ‘buddypress’ ), ‘error’ );
}} `
and pass the required bits, the only thing it’s not doing is adding a notification item, is there an easy way to add that?Again, thanks a lot, I would have spent ages trying to figure that out.
June 13, 2012 at 10:21 pm #135745danbpfr
ParticipantHi,
what languages are you using ?
what is the weigth of your translation buddypress-xx_XX.mo file ?June 13, 2012 at 10:19 pm #135744In reply to: function to send a private message
shanebp
ModeratorThe function is messages_new_message()
> when an image is denied an email is sent out to the user
So you have a function or some code that does that, yes?
Then you could use parts of the below in that code or call it as a function`
function bp_send_image_denied_message() {
global $bp;//check_admin_referer(message_check”); // adjust if needed
$sender_id = $bp->loggedin_user->id; // moderator id ?
$recip_id = $bp->displayed_user->id; // denied image user id ?if ( $thread_id = messages_new_message( array(‘sender_id’ => $sender_id, ‘subject’ => ‘Image Denied, ‘content’ => ‘why it was denied], ‘recipients’ => $recip_id ) ) ) {
bp_core_add_message( __( ‘Image Denied Message was sent.’, ‘buddypress’ ) );
bp_core_redirect( $bp->displayed_user->domain ); // adjust as needed
} else {
bp_core_add_message( __( ‘There was an error sending that Private Message.’, ‘buddypress’ ), ‘error’ );
}}
add_action( ‘wp’, ‘bp_send_image_denied_message’, 3 );
`June 13, 2012 at 6:47 pm #135738In reply to: Searching the support forum???
ninjaface
ParticipantWould also like to know how to search the support forum and not buddypress.org.
Is there some kind of requirement to create a topic also?
June 13, 2012 at 4:43 pm #135735Stanley Ojadovwa
MemberI working on getting a list of members based on the fields they selected on the extended profiles fields in buddypress. Here is my code
{
global $wpdb;
$membership_group = “Orange Membership (30,000 Naira/Year)”;
$db_query = “SELECT user_id FROM wp_bp_xprofile_data WHERE field_id = 33 AND value = “” .$membership_group .”””;
$match_ids = $wpdb->get_var($db_query);
$get_these_members = ‘include=’ .$match_ids;if (bp_has_members($get_these_members, ‘per_page optional=9’)) { ?> //Some Codes here
?>
}The result is returning just the first member it gets from the query instead of a list of members. Please what i’m i doing wrong.
Thanks
June 13, 2012 at 1:20 pm #135731shanebp
ModeratorMyself and others have also had the issues you describe.
I believe BP 1.6 will reduce those issues.
Meanwhile, we’ve done these things to mitigate the issue, maybe you’ve already done some of them:
1. Use a caching plugin like W3 Total Cache – don’t use the page cache
2. Switch from MyISAM to InnoDB
3. Use tmpsf on your db server – this really helpsWe thought about going to a master/slave db setup – but doing the above allowed us to handle peak traffic for a site with 30k users. Prior to that, our slowlog looked like the one attached to your ticket.
June 13, 2012 at 8:17 am #135727In reply to: How to display User is online with image icon?
goviral
MemberI’m not sure if this is what you mean. I’m pretty new to BP myself but there is the “Who’s Online Avatars” widget that shows who’s currently online in the footer or sidebar by showing their avatar.
Or you can look at the post below that lists the code to display the current user when online.
PS I haven’t tried the above code but I have the widget on my test site at:
http://sst1.everythingeasternbeaches.com
in the footerJune 12, 2012 at 11:11 pm #135725@mercime
ParticipantPlease make sure that your WP installation has been set up properly – pretty-permalinks included – before installing BuddyPress. In this vein, please post your mod_rewrite issue at the proper forum https://wordpress.org/support/forum/localhost-installs
June 12, 2012 at 8:51 pm #135720zrb0529
MemberI have no desire to install several pieces of software on my personal laptop. So no, I’d rather not install an xAMP stack on it if it can be avoided.
June 12, 2012 at 5:10 pm #135717In reply to: Issues with Activity search_terms= and ”Load More”
Hugo Ashmore
ParticipantIt’s really a bit too early to be bumping your post fabi also when you do that it sends the @mention email a further time. mentioning people to try and attract their direct attention is not considered the thing to do really. Paul, myself, and mercime all work and have to earn a living our time is limited and you must have patience someone will get around to your thread in due course.
June 12, 2012 at 4:41 pm #135714orebian
ParticipantHello @djpaul
Thank you for the reply. I’ve solved that issue.
May I know is it possible to ‘reset’ the score for Achievements leaderboard? How to reset the # to 0? I was testing a few achievements on my side…
I tried to delete the achievement I’ve created, but the Leaderboard score still appeared

Please advice.
Paul Wong-Gibbs
KeymasterI’m not aware of any plugins that do this for BuddyPress.
June 12, 2012 at 3:07 pm #135708nickharambee
ParticipantThanks very much. That works fine.
Nick
June 12, 2012 at 2:35 pm #135704In reply to: User Roles
Paul Wong-Gibbs
KeymasterThose are bbPress user roles. BuddyPress doesn’t use them. BuddyPress adds no roles or capabilities in the current version.
June 12, 2012 at 2:11 pm #135703In reply to: User Roles
Hugo Ashmore
ParticipantPlease, only post once on a topic – posting in different sub forums will not get you a faster response.
Closing this topic, see https://buddypress.org/community/groups/miscellaneous/forum/topic/user-roles-4/
June 12, 2012 at 1:02 pm #135700Hugo Ashmore
ParticipantGoogle of no help??!!
any of those pages will help you understand what an .htaccess file is and where you may find it located – I would suggest that actually unless you have a real desire to learn how to configure standalone web servers on osx you install a LAMP package from the likes of Xampp:
http://www.apachefriends.org/en/xampp-macosx.html
Or MAMP as mercime has suggested/linked to.
June 12, 2012 at 11:49 am #135699In reply to: BuddyPress additional attributes profile syncing
Paul Wong-Gibbs
KeymasterProfile syncing only controls the name field. You’d need to get a developer and build custom sync functionality.
June 12, 2012 at 8:46 am #135697zrb0529
MemberI see I need to add: Options +FollowSymLinks
To the htaccess file
I don’t think I have any such file, where would it be located in OSX Lion? Google has been no help
June 12, 2012 at 8:03 am #135696@mercime
ParticipantJune 12, 2012 at 5:48 am #135694zrb0529
MemberHow do I go about doing that? I’ve looked online and there are no clear guides on doing this under OSX Lion.
I’m not running MAMP, just the default apache under OSX installation with PHP and MySQL.
June 12, 2012 at 4:39 am #135692In reply to: BuddyPress Manuals / Tutorials?
@mercime
ParticipantBP Codex
– https://codex.buddypress.org/getting-started/before-installing/#system-server
– https://codex.buddypress.org/getting-started/setting-up-a-new-installation/buddypress-1-5-installation-wizard/
– https://codex.buddypress.org/getting-started/configure-buddypress-components/
– https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/
– https://codex.buddypress.org/getting-started/group-settings-and-roles/June 12, 2012 at 3:23 am #135690@mercime
Participant>> Is there something I need to change in Apache config
mod_rewrite must be enabled in your server https://codex.buddypress.org/getting-started/before-installing/#system-server
June 12, 2012 at 3:01 am #135689@mercime
ParticipantBuddyPress is not activated in your installation. Do post again when it’s back on.
-
AuthorSearch Results