Search Results for 'buddypress'
-
AuthorSearch Results
-
August 13, 2011 at 5:06 am #118317
In reply to: Create multiple Forums?
Stigmartyr
MemberIf you try the group hierarchy mod perhaps so.. but each forum would belong to the subgroup. So that might not help you.
There’s also this plugin for stand alone forums: http://buddydev.com/plugins/global-forums/
I know it’s not the answer you might have wanted but it’s something to work with. The way BuddyPress is designed the forum is the official discussion board for a specific group. I visualize them as interest groups so having more than one forum per group breaks their identity IMHO.
The way the main forums works, its like a post-scanner for all group forums so you would end up with something more confusing to the end user who’s seeing:
TOPIC | POSTER | GROUP
There is no section that prints the forum itself just the group. However you could try instead just using different groups so its like:
TOPIC | POSTER | Group-a
TOPIC | POSTER | Group-b
TOPIC | POSTER | Group-cI recommend the Group Hierarchy mod then the parent group owner can still more or less control everything.
August 13, 2011 at 4:07 am #118315Menelik Seth
MemberAlright solved again. Turns out there was a mistake in my code. Here’s the breakdown:
Old Code:
`function cg_postcatagory( $post_id = false )
{
if ( empty( $post_id ) || empty( $_POST ) )
return false;$post_id = (int) $post_id;
$postmeta = $_POST;$cg_newmeta = ( cg_newmeta( $post_id, $postmeta ) ) ? true : false;
return $cg_newmeta;
}
add_action( ‘bp_forums_new_post’, ‘cg_postcatagory’ );`Initially I wanted the post to store custom metadata, but that turned out to be a pain in the neck to use, and unnecessarily complicated. So, I decided to store tags instead. The problem, I discovered, was that the function was using the post_id to store the tags, which apparently isn’t how it’s supposed to work. What I should have one was instead topic_id instead, since that’s what tags are attached to (according to the bb_terms_relationships table).
So I modified my function accordingly and ended up with
`function cg_postcatagory( $topic_id = false )
{
if ( empty( $topic_id ) || empty( $_POST ) )
return false;$topic_id = (int) $topic_id;
$postmeta = $_POST;$cg_newmeta = ( cg_newmeta( $topic_id, $postmeta ) ) ? true : false;
return $cg_newmeta;
}
add_action( ‘bp_forums_new_topic’, ‘cg_postcatagory’ );`And it worked, testing it on the latest stable WordPress (3.2.1) and BuddyPress (1.2.9) and so far so good. If the code is solid, I hope somebody benefits from this. if It isn’t, I hope somebody can point out the holes in it, so I can plug them up.
Will set the status of this thread to Resolved (permanently this time, I hope)
August 13, 2011 at 1:53 am #118313Stigmartyr
MemberAnswer to my question:
It is already My sites in BuddyPress 1.5.
For 1.2.9, translate the po file from buddypress/bp-languages directory.
Save the translation as buddypress-en_US.mo [if your local is en_US) else buddypress-your_Locals.mo in the bp-languages directory and you will be done.Poedit is a great tool for translation.
Thanks @brajeshAugust 13, 2011 at 1:49 am #118312In reply to: Facebook to Buddypress
alfredojp
ParticipantThank very much both of you. I greatly appreciate your time in helping me resolve this
August 13, 2011 at 12:47 am #118308In reply to: Stuck in My Groups and My Topics
Stigmartyr
MemberI’m just guessing here but it’s possible something to do with how permalinks are setup?
What is your permalink structure? I dont have this issue on my BuddyPress 1.2.9 site.
Which version are you using of BP and WP?
August 12, 2011 at 11:03 pm #118305In reply to: Facebook to Buddypress
Stigmartyr
MemberCompiling FB friends emails: http://thesocialmediaguide.com/social_media/how-to-download-your-facebook-friends-email-addresses
Haven’t tested it myself yet, but good luck.
August 12, 2011 at 11:02 pm #118304In reply to: Facebook to Buddypress
Stigmartyr
MemberGood mod modemlooper posted there and I use it too. I think it’s got some premium features for Yahoo integration too etc…
I’ve found one service that can compile all your friends emails from facebook and once you have that list you can do what you like with it.

You can always create an event page on FB, invite all your friends there and in the event page you post your website URL inviting them to your site I guess..
August 12, 2011 at 10:54 pm #118303In reply to: Profile rating system
christophg
Member@embergermedia , Thanks a lot for this! I have been crazy busy with paying jobs but I will be trying your solution out within the next few days. I appreciate you taking the time to post this! I’ll let you know how it goes!
August 12, 2011 at 10:44 pm #118302In reply to: Facebook to Buddypress
modemlooper
ModeratorI’m pretty sure that is completely against Facebook terms of service. They’ve blocked Google from accessing your contacts as well as other services. They do not want you stealing your friends away from their advertisers.

This may help with getting users to invite https://buddypress.org/community/groups/invite-anyone/
August 12, 2011 at 8:23 pm #118300In reply to: BuddyPress & Activity Stream Permalinks
Stigmartyr
Member@r-a-y – you were absolutely right and I have to apologize for a great deal of my frustration here was relieved when sometime around 5am this morning I changed my google search parameters and stumbled upon the BP ticket trac thing you posted above.
I found Boones fix and applied it. Then I had to also update the permalinks.php file in my custom theme folder as well and it worked.
So I want to thank you and the team for being on top of things as it’s quite clear once I found that ticket queue that people are actively working bugs.
When users come looking for support on the site though the first place they look and land is here and it looked like there was no responses for ages. I’ll be sure to hang around and help others as best I can too.
Thanks,
StigAugust 12, 2011 at 7:50 pm #118299In reply to: Migrating buddypress – groups are broken
@mercime
ParticipantYou can create a file, bp-custom.php, post in necessary code and upload to your wp-content/plugins directory
August 12, 2011 at 7:44 pm #118298In reply to: Migrating buddypress – groups are broken
wwwhatsup
MemberAh, but section 3 does talk about bp-custom.php – I don’t have that. it seems those instructions are for WPMU anyway.
August 12, 2011 at 6:41 pm #118295In reply to: BuddyPress & Activity Stream Permalinks
r-a-y
KeymasterSitgmartyr – This issue has been reported and fixed, but unfortunately there will not be a public, new release under the 1.2 series because attention has shifted to 1.5.
However, you can patch and fix this yourself:
https://buddypress.trac.wordpress.org/changeset/4626Or download the 1.2 dev branch and overwrite your current “buddypress” folder:
https://buddypress.trac.wordpress.org/browser/branches/1.2 (scroll to the bottom and click on the ZIP download)Remove all your htaccess code that you’ve added as that isn’t related to this issue.
August 12, 2011 at 6:28 pm #118294In reply to: BuddyPress 1.5 compatibility for plugins and themes
Boone Gorges
KeymasterAugust 12, 2011 at 6:20 pm #118293In reply to: BuddyPress 1.5 compatibility for plugins and themes
foxly
ParticipantOverall progress for today…
Google Code seems to have all their servers working again and the Fixing plugins for BuddyPress 1.5 wiki is coming together nicely. Over the next few days we’re going to be adding some new failure cases and improving the quality of the existing articles.
@boonebgorges We’d be honored if you linked to us from your blog. Also if there’s anything we missed that you’d like covered, just let me know and we’ll add it to the wiki.
We’ve updated the BuddyPress 1.5 plugins compatibility page. We split it into three different spreadsheets (that all auto-update from the master spreadsheet) as per @karmatosed ‘s request. We created embeddable widgets for each of these so karmatosed can embed them in the BP codex. As per @djpaul ‘s request we removed all non-error related tester comments.
It would be helpful if you could give one of our team members write-access to the codex blog so we can assist karmatosed with getting the embedded plugin spreadsheets working properly.
^F^
August 12, 2011 at 5:56 pm #118291In reply to: Migrating buddypress – groups are broken
wwwhatsup
MemberOh Isee, reading the instructions again. It is wp-config .php that I have to edit. Sorry, long night. I’ll try that.
August 12, 2011 at 5:54 pm #118290In reply to: Migrating buddypress – groups are broken
wwwhatsup
MemberYes, I think you are missing the point. I’ve sucessfully moved wordpress. It’s buddy press that is giving the problem. It’s not wp-config.php but bp-config.php that I don;t appear to have.
August 12, 2011 at 5:47 pm #118289In reply to: BuddyPress 1.5 compatibility for plugins and themes
Boone Gorges
KeymasterI knew you knew @foxly
August 12, 2011 at 5:21 pm #118288In reply to: BuddyPress 1.5 compatibility for plugins and themes
foxly
ParticipantYes.
I know.
I was tired (18 hours and counting) and pasted the wrong block of code.We fixed that one and moved on to a bunch of other things
^F^
August 12, 2011 at 5:13 pm #118287In reply to: BuddyPress 1.5 compatibility for plugins and themes
modemlooper
Moderatoradd_action( ‘bp_setup_globals’, ‘bp_cubepoint_setup_globals’ ); <— is commented out, you should be using that to set global
August 12, 2011 at 4:04 pm #118285In reply to: BuddyPress 1.5 compatibility for plugins and themes
Boone Gorges
KeymasterI’m a bit confused at what this discussion is trying to accomplish

When you set up globals, as in the function excerpted above, you should hook to bp_setup_globals.
When you set up navigation, as with functions like bp_core_new_nav_item(), you should hook to bp_setup_nav.August 12, 2011 at 3:55 pm #118284In reply to: BuddyPress 1.5 compatibility for plugins and themes
Tosh
ParticipantI sent you a email. Change it to this. Now it’s not even showing up in the admin bar. Sorry for being a pain, just want to get this patched up.
`add_action( ‘bp_setup_nav’, ‘bp_cubepoint_setup_globals’, 2 );
add_action( ‘bp_setup_admin_bar’, ‘bp_cubepoint_setup_globals’, 2 );`August 12, 2011 at 3:45 pm #118283In reply to: BuddyPress 1.5 compatibility for plugins and themes
foxly
ParticipantCool! Now we have a block of code we can use for another example. You need to hook to the ‘bp_setup_admin_bar’ action to get it to reappear.
Fire man an email (CarlRoett [at] gmail [dot] com) and I’ll walk you through it.
^F^
August 12, 2011 at 3:00 pm #118281In reply to: Migrating buddypress – groups are broken
@mercime
Participanthttps://codex.wordpress.org/Changing_The_Site_URL
https://codex.wordpress.org/Moving_WordPress== If I don’t have bp-config.php I just create it inthe buddypress plugin directory, right? ==
The internal Forum installation process will automatically generate the “bb-config.php” at root of your install when you go through the process.August 12, 2011 at 2:57 pm #118280In reply to: BuddyPress 1.5 compatibility for plugins and themes
Tosh
Participant@foxly Thank You. I don’t mind at all. I tried changing what you mentioned and this is what I have now.
Now it’s not even showing up in the buddypress admin bar on the front end but does when looking at the admin area. But it’s still acting the same as before.
`function bp_cubepoint_setup_globals() {
global $bp, $wpdb;$bp->cubepoint->id = ‘cubepoint’;
//$bp->cubepoint->table_name = $wpdb->base_prefix . ‘cubepoints’;
$bp->cubepoint->table_name = $wpdb->prefix . ‘cubepoints’;// custom SLUG
//$bp->cubepoint->slug = ‘cubepoints’;
$bg_cp_custom_slug = get_option( ‘bp_slug_cp_bp’ );
$bp->cubepoint->slug = $bg_cp_custom_slug;$bp->cubepoint->points_slug = ‘points’;
$bp->cubepoint->table_slug = ‘table’;
$bp->cubepoint->earnpoints_slug = ‘earnpoints’;
$bp->cubepoint->awards_slug = ‘awards’;
$bp->cubepoint->bp_cubepoint_per_page = get_option(‘bp_points_logs_per_page_cp_bp’);// Notifications
//$bp->cubepoint->format_notification_function = ‘bp_cp_awards_format_notifications’;/* Register this in the active components array */
$bp->active_components[$bp->cubepoint->slug] = $bp->cubepoint->id;if ( $bp->current_component == $bp->cubepoint->slug && $bp->cubepoint->table_slug != $bp->current_action ){
bp_cubepoint_query_points();
}
if ( $bp->current_component == $bp->cubepoint->slug && $bp->cubepoint->table_slug == $bp->current_action ){
bp_cubepoint_query_points(‘uid=’);
}
}/***
* In versions of BuddyPress 1.2.2 and newer you will be able to use:
* add_action( ‘bp_setup_globals’, ‘bp_cubepoint_setup_globals’ );
*/
// Pre-BuddyPress 1.5 Beta
// add_action( ‘wp’, ‘bp_cubepoint_setup_globals’, 2 );
add_action( ‘bp_setup_nav’, ‘bp_cubepoint_setup_globals’, 2 );
add_action( ‘admin_menu’, ‘bp_cubepoint_setup_globals’, 2 );` -
AuthorSearch Results