Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 42,601 through 42,625 (of 94,561 total)
  • Author
    Search Results
  • #138376
    @mercime
    Participant

    @blixus Confirmed that based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.

    If you’ve revised any of the BP template files transferred to your celebritypress theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your celebritypress theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    A. COPY your theme’s header.php and Save As > header-buddypress.php

    Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
    `

    `

    Save file.

    #138375
    9087877
    Inactive

    @rhenium3 in the right sidebar under support forums select which title would best fit your support topic, then in the menu above the topics in the main page area select New Topic. Scroll down if necessary and type in the title, and content. Then click the Post Topic button at the bottom.

    #138374
    dannyjimmy
    Member

    Sure enough, @peeld, your code A) set FORUMS as the default tab, and B) broke the activity updates! Thanks for the help!

    I don’t actually mind losing the activity updates, but I’m sure most folks’ projects could benefit from a solution here that didn’t break that function.

    Anyone have input here?

    #138373
    9087877
    Inactive

    @jloc14 You could wrap the activity-loop.php of a child theme with an if statement which checks to see if the user is logged in. At the very top above the first opening php tag in the activity-loop.php copy and paste this:
    `You must be logged in to view this sites activity. Click here to sign up.`
    Then after the last line of code in the activity-loop.php copy and paste this:
    “
    Just replace the URL with your websites domain and save the file. It will keep non-members from viewing the activity stream and the link will direct them to the registration page. Its not a perfect solution but it is a quick fix. To add a basic friend check follow this tutorial by Sarah Gooding here: http://wpmu.org/how-to-add-profile-privacy-to-buddypress/
    Hope this helps!

    @mercime
    Participant

    @maryefern strange situation, only encountered this way back BP 1.0. :

    1. Check MySQL version. WP requires MySQL version 5.0 or greater. If you cannot find the version, ask your webhost.

    2. If you have version 5.0 or greater, download zip files of WordPress and BuddyPress, then manually re-upload (via FTP/File Manager) WP and BP files to server in respective directories

    #138371
    EndlessRange
    Participant

    So, I’m hijacking this thread because for the life of me I cannot figure out how to start a new thread to answer my question! How do I start a new thread on buddypress.org??

    notpoppy
    Participant

    I am trying to create custom tabs with their own content in different groups.

    Looking around the forum it seems this can be done using the Group Extension API.

    According to this thread it should be possible to do it by adding the API code (copied below) into bp-custom.php.

    However when I do this I get the following error:

    Fatal error: Class ‘BP_Group_Extension’ not found in (directory)bp-custom.php

    This appears to be because it is loading after Buddypress. The codex supplies information on how to fix this for building a plugin but I’m not sure how to adapt this for my code in bp-custom.php.

    Can anyone help me do this?

    Here’s the code I’m using in bp-custom.php which is as found on the Group Extension API page:

    class My_Group_Extension extends BP_Group_Extension {
    
    function my_group_extension() {
    $this->name = 'My Group Extension';
    $this->slug = 'my-group-extension';
    
    $this->create_step_position = 21;
    $this->nav_item_position = 31;
    }
    
    function create_screen() {
    if ( !bp_is_group_creation_step( $this->slug ) )
    return false;
    ?>
    
    The HTML for my creation step goes here.
    
    <?php
    wp_nonce_field( 'groups_create_save_' . $this->slug );
    }
    
    function create_screen_save() {
    global $bp;
    
    check_admin_referer( 'groups_create_save_' . $this->slug );
    
    /* Save any details submitted here */
    groups_update_groupmeta( $bp->groups->new_group_id, 'my_meta_name', 'value' );
    }
    
    function edit_screen() {
    if ( !bp_is_group_admin_screen( $this->slug ) )
    return false; ?>
    
    <h2>name ) ?></h2>
    
    Edit steps here
    
    <?php
    wp_nonce_field( 'groups_edit_save_' . $this->slug );
    }
    
    function edit_screen_save() {
    global $bp;
    
    if ( !isset( $_POST ) )
    return false;
    
    check_admin_referer( 'groups_edit_save_' . $this->slug );
    
    /* Insert your edit screen save code here */
    
    /* To post an error/success message to the screen, use the following */
    if ( !$success )
    bp_core_add_message( __( 'There was an error saving, please try again', 'buddypress' ), 'error' );
    else
    bp_core_add_message( __( 'Settings saved successfully', 'buddypress' ) );
    
    bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) . '/admin/' . $this->slug );
    }
    
    function display() {
    /* Use this function to display the actual content of your group extension when the nav item is selected */
    }
    
    function widget_display() { ?>
    <div class="info-group">
    <h4>name ) ?></h4>
    
    You could display a small snippet of information from your group extension here. It will show on the group
    home screen.
    
    </div>
    <?php
    }
    }
    bp_register_group_extension( 'My_Group_Extension' );

    Incidentally, I note there is a plugin designed to achieve what I’m trying to do but as it’s only in beta I can’t use it on a live site yet.

    #138368

    In reply to: Post rating plugin?

    websharx
    Member

    @Dwenaus, did you happen to create the plugin that can rate anything? I was looking to use it on my website.

    #138366
    12sp
    Member

    I ended up removing buddypress all together.

    #138365
    dannyjimmy
    Member

    Why would you want to set a body ID?

    Wouldn’t you want to set the title?
    `my buddypress title`

    My problem is that no matter where I am in forums and conversations, the page title is always just Groups.

    #30879
    Alexander
    Participant

    I may be missing something here – I hope not. So, when a person has replies to their comments, they’re not being notified like they do when someone sends them a private message. Is there any way to configure buddypress or use a plugin that would notify the users whenever someone responds to their activity? Right now the users are searching through the history log to see who might have responded to that, so instead of them looking for the responses, can the responses be converted into some notifications? Thanks! Any other suggestion for the solution would be appreciated.

    dannyjimmy
    Member

    they appear unused and not working.

    right. One way they’re not working is that they don’t even report the right info. I don’t recall which it was, but I ran one of those functions, and it was printing Private in a public group.

    I’m not sure what you mean “are you sure you’ve setup your $group variable correctly?”. In my thinking, BuddyPress sets it up, not me; I’m just trying to reference it. I copied that $group->status setup out of the definition for bp_get_group_type() in bp-groups-template.php.

    I’ll give a whirl to the `bp_get_group_type()`, since that demonstrably at least produces the correct group visibility level; my trick will be to use its output in a conditional.

    Ok, so `bp_group_type` is what prints text to the page, `bp_get_group_type` seems to summon the text as a returned value (which bp_group_type() uses for its printing)


    SUCCESS!


    `<?php if (bp_get_group_type()== "Public Group")
    print “foo”
    ?>
    <?php if (bp_get_group_type()== "Private Group")
    print “bar”
    ?>`

    On a private group, I saw foo outputted and no bar. So it works.

    It feels less than elegant. It would be more elegant to just use the variables that bp_get_group_type() calls. But for now, it works.

    Thanks, @RogerCoathup, for the guidance :-)

    corelove
    Participant

    I have modified my buddypress to have groups show up in an iframe on a regular buddypress page. I have taken out the header and footer. I want members to be able to click around the group within the iframe. I do want members to be able to click out of the iframe into the parent window when they click on a members name or members link. Otherwise, when they click on a link, the iframe links to the whole site within the iframe.

    I am looking for a fast way to add a target=”_parent” to each member link.

    Please help!

    #138360
    Tammie Lister
    Moderator

    Could I clarify where you are looking as http://testbp.org/groups/twitter/ is my assumption and as you can see that filter works for replies. My guess is that perhaps this is a theme issue – have you checked on that page you don’t have any scripting errors?

    Alternatively if you could provide a link that would help a little or maybe you are able to test the default BuddyPress theme? I know it’s not a direct answer but it’s hard to guess without knowing a little more about your site.

    #138357
    mark_hives
    Member

    After poking around for a bit I found this link : https://codex.buddypress.org/getting-started/before-installing/#system-server

    That clearly states Apache with mod_rewrite is required to run BuddyPress. So sorry for the unnecessary post and I’m off to have a look at bbPress and possibly Mingle.

    Cheers,

    Roger Coathup
    Participant

    Logically bp_get_group_is_public() is the function you want to use —

    That said, I can’t find anywhere in the core code where is_public is getting set, or getting used in the default theme. @djpaul – is this a set of functions that should be stripped out – they appear unused and not working.

    Instead, the default template makes use of bp_get_group_type(), which in turn uses the $group->status attribute (as you’ve tried). In your case, are you sure you’ve setup your $group variable correctly?

    #138355
    Roger Coathup
    Participant
    #30875
    mark_hives
    Member

    I’ve just tried adding BuddyPress (v1.5.7) to an existing install of WordPress (v3.4.1) but ran into a problem. Basically because I’m running my install on a Windows box using IIS (v5) I can’t use .htaccess for pretty permalinks but I can’t work out how to stop BuddyPress from trying using them.

    Is it possible to use BuddyPress without having pretty permalinks and if it is how can I do it ?

    p.s. Unfortunately I’m stuck with using IIS5 on Windows (moving it on to a UNIX box isn’t an option).

    Thanks,

    #138349
    modemlooper
    Moderator
    #138347
    newpress
    Participant

    Drupal has such module

    Michael Sanborn
    Participant

    There’s an old script available on code.google.com called “wordpress-to-bbpress-converter”. It generally does what I want it to do, only it works with the old standalone bbPress, which doesn’t even seem to be available on bbpress.org any more. I was wondering if there’s some more recent method of converting WP posts and comments into forum threads, ideally within BuddyPress?

    #138346

    I am a new Buddypress user but in a very short time, our site has had numerous spammers join. This is a significant problem limiting the potential of the system. I have just 21 users and have had to remove 4 of them as spammers. What happens with 2100 users? Removing spammers will be a fulltime role and that would seem to defeat the purpose of a self-maintained website and social media community.

    #30870
    cyclepromo
    Member

    Ok I’ll start up say it. Anyone used Buddypress for something like Yelp?
    The key thing for my plans is getting users to submit reviews BUT I want people to be able to search multiple fields. Anyone seen Buddypress in action for a review website?
    Thanks
    dave

    BlinkyBill01
    Participant

    Your plugin was actually the first thing I tried when I noticed the problem. It’s still running on my site with the core links in the order I chose, however, it’s not seeming to put them in any order.

    I was going to try and sleep on it then try to figure it out, but I can’t get to sleep knowing I have this problem. It’s my bit of OCD I suppose. :)

    I think the main problem is that the Gantry for BuddyPress and RocketTheme template framework removes a lot of the WordPress code and replaces it with standard html in their own files. Not sure if that makes any sense… lack of sleep and all.

    I didn’t know if there was any way to use a bp-custom.php to manually make the changes to the core or the additional plugin links?

    Thanks for the reply. Hopefully I can think better one I get some shut-eye.

    #138339
    angslycke
    Participant

    @r-a-y Thank you so much! That will be really useful to know when trying to modify things further.

Viewing 25 results - 42,601 through 42,625 (of 94,561 total)
Skip to toolbar