Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 37,351 through 37,375 (of 68,918 total)
  • Author
    Search Results
  • #118317
    Stigmartyr
    Member

    If 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-c

    I recommend the Group Hierarchy mod then the parent group owner can still more or less control everything.

    #118315
    Menelik Seth
    Member

    Alright 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)

    Stigmartyr
    Member

    Answer 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 @brajesh

    #118312

    In reply to: Facebook to Buddypress

    alfredojp
    Participant

    Thank very much both of you. I greatly appreciate your time in helping me resolve this :)

    #118308
    Stigmartyr
    Member

    I’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?

    #118305

    In reply to: Facebook to Buddypress

    Stigmartyr
    Member

    Compiling 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.

    #118304

    In reply to: Facebook to Buddypress

    Stigmartyr
    Member

    Good 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..

    #118303

    In 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!

    #118302

    In reply to: Facebook to Buddypress

    modemlooper
    Moderator

    I’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/

    #118300
    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,
    Stig

    #118299
    @mercime
    Participant

    You can create a file, bp-custom.php, post in necessary code and upload to your wp-content/plugins directory

    #118298
    wwwhatsup
    Member

    Ah, but section 3 does talk about bp-custom.php – I don’t have that. it seems those instructions are for WPMU anyway.

    #118295
    r-a-y
    Keymaster

    Sitgmartyr – 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/4626

    Or 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.

    #118294
    Boone Gorges
    Keymaster

    @foxly Both you and @fanquake are Editors on codex.buddypress.org. (It used to be that everyone on bp.org was, but the synching script broke at some point.) Thanks!

    #118293
    foxly
    Participant

    Overall 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^

    #118291
    wwwhatsup
    Member

    Oh Isee, reading the instructions again. It is wp-config .php that I have to edit. Sorry, long night. I’ll try that.

    #118290
    wwwhatsup
    Member

    Yes, 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.

    #118289
    Boone Gorges
    Keymaster

    I knew you knew @foxly :)

    #118288
    foxly
    Participant

    @boonebgorges

    Yes.
    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^

    #118287
    modemlooper
    Moderator

    add_action( ‘bp_setup_globals’, ‘bp_cubepoint_setup_globals’ ); <— is commented out, you should be using that to set global

    #118285
    Boone Gorges
    Keymaster

    I’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.

    #118284
    Tosh
    Participant

    I 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 );`

    #118283
    foxly
    Participant

    @xberserker

    Cool! 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^

    #118281
    @mercime
    Participant

    https://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.

    #118280
    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 );`

Viewing 25 results - 37,351 through 37,375 (of 68,918 total)
Skip to toolbar