Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 17,351 through 17,375 (of 32,678 total)
  • Author
    Search Results
  • @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

    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.

    #138367
    pantone
    Participant

    I have not yet launched my BP site, but I too am concerned about this happening. If I use things like CAPTCHA on the registration page or https://wordpress.org/extend/plugins/wangguard/, will it be sufficient enough to prevent spammers?

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

    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?

    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.

    Roger Coathup
    Participant

    It’s a standard WordPress question, rather than BuddyPress specific.

    Have a look at some of the actions on new user registration in WordPress – you would simply need to hook a function onto the appropriate action, and write to your alternative database in that function.

    If you are not familiar with ‘action’ programming in WordPress, take a look at Codex documentation, there is plenty of info in there.

    #138321

    In reply to: Best Strategy?

    StSmith
    Member

    Basically the purpose would be exactly what Roger is describing. The main site contains information about a non-profit organization. They would like to have an area for the members of the organization to discuss events and make connections. They want two very different experiences.

    That is why I was inquiring about the WordPress Network/Multisite for this project.

    Did this work well for you Roger? If so, I believe that this will be the approach I take for the project.

    Thanks!

    #138301
    Roger Coathup
    Participant

    .. and here’s a write up on how to use hooks (or in this case filters), to add your dynamic menu item:

    http://stackoverflow.com/questions/10644384/dynamic-url-in-wordpress-navigation

    Obviously, you’ll have to adapt the code to add your BuddyPress profile links.

    You can also ignore the comment about playing with the priority number for ordering (that’s nonsense). You’d have to take the item list (incoming parameter), and manipulate that – inserting your menu at the right point.

    It’s not ‘cut and paste’ though, and you’ll need some reasonable PHP development skills to get it set up correctly.

    #138300
    Roger Coathup
    Participant

    The ‘dynamic’ links, e.g. to a members profile, require PHP (to work out the path to the current member). You can’t add links that include PHP using the built-in WordPress nav menu system.

    You’ll either have to add those menu options in your template files, or perhaps find a way to hook in to the WordPress nav menu system (read up on WordPress action hooks) to extend its capabilities to support dynamic PHP based URLs.

    #138298
    jishi
    Participant

    @mercime On WP support I found a post by Otto, and he says the issue can be easily resolved.
    https://wordpress.org/support/topic/using-an-extra-parameter-in-an-url?replies=11

    To my regret, this solution was not working for my WP+BP stand, thus people say it works for them on WP 341. I found another solution in Codex, here’s the link https://codex.wordpress.org/Class_Reference/WP_Rewrite

    #138296
    Paul Wong-Gibbs
    Keymaster

    And, with that, I’m closing this topic.

    It’s a bbPress topic, you should be discussing this on your thread at bbpress.org, not here.

    #138293

    In reply to: User Slug

    aces
    Participant

    https://wordpress.org/extend/plugins/codestyling-localization/ could be useful…

    I haven’t tried it myself. It does claim buddypress compatibility…

    #138291
    newpress
    Participant

    I wonder how such a huge blunder passed on for years unnoticed

    @mercime
    Participant

    @andrea_r thank you. At the time I answered in my second post, @maryefern ‘s site had the Eleven40 theme and many plugins activated in the site as it is right now, hence reference to Genesis plugin and forums.

    @maryefern

    1. check if the seven xx_bb_xx tables for the group forums were created in your database when you installed Group Forums, as seen here

    2. if the tables are there, then change to bp-default theme and deactivate ALL plugins except BuddyPress to check if issue is resolved.

    #138271
    lolalulu
    Member

    @mercime, yup it’s pretty strange. Sprung out of no where! I tried your method but issue still unresolved…would you recommend me uninstalling WordPress all together and re-install a lower version to see if it works with BuddyPress?

    #138268
    @mercime
    Participant

    @jishi and custom post types looks like the way to go for your project. BP is not involved at this juncture so at this point I suggest that you post this at https://wordpress.org/support/forum/how-to-and-troubleshooting and do include the information you just posted so all’s clear with the volunteers.

    #138267
    @mercime
    Participant

    == I am aware that I should copy and rename the former 3 pages in header-buddypress.php etc and match these with the following two theme pages: ==

    @blixus Initial scan of the codes posted does support creating only two files to align structure rather than revising 16 files for your theme. What’s the name of your theme? Did you check if it was already “template-packed” per list near the bottom of this page? -> https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/

    Hello! I’ve done a pretty extensive search for a tutorial or relevant forum thread on my request, but I haven’t found one yet. Here’s what I need to do:

    • When a new user registers, I want to store their email in a separate MySQL database.
    >> Note: I am planning to forgo password retrieval on this site, which requires top-notch security.

    How can this be done, if at all? And if there’s a thread already about this, I would welcome a point in the right direction.

    Also, BuddyPress is awesome. I’m delighted to be using it.

    HUGE thanks in advance!

    Version info:
    Wordpress version 3.4.1
    PHP version 5.2.17
    BuddyPress version 1.5.7

    miguelcortereal
    Participant

    After install BuddyPress this empty blank line began to display. Frontend is clean.

    I’ve tried to deactivate BuddyPress plugin and it vanishes.

    Using last version of WordPress and BuddyPress and no more plugins, I’m just starting the site.

    tgg
    Member

    I’m wondering why a brand new install of wordpress mu with Buddypress Default Theme shows blank on the home page. Viewing the source the page stops loading just after;

    #138252
    newpress
    Participant

    There was an update and immediately updated, but the thing that I was looking for wasnt there

    #30843
    muffythechef
    Member

    Please help. I’ve installed BuddyPress as well as the template pack, but I dont know how to get started. I have a very basic (and silly) question. What kind of wordpress page do I need to create to associate it with the respective BP pages? Do I need to design my own forum, registration page etc?

    nyodulf
    Participant

    Whenever I have Xdebug active, it either prevents anything from being displayed on the page or throws an Allowed memory size exhausted error on a buddypress site I am testing on my local server. Has anyone else encountered this with buddypress? Any suggestions? Let me know if there’s other info I should provide.

    1. Which version of WordPress are you running?
    3.4.1
    2. Did you install WordPress as a directory or subdomain install?
    subdomain localhost
    3. If a directory install, is it in root or in a subdirectory?
    root
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    no
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    yes
    6. Which version of BP are you running?
    1.5.6
    7. Did you upgraded from a previous version of BP? If so, from which version?
    no
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    BP Group Management
    BP Profile Search
    BuddyPress
    BuddyPress Mandatory Groups
    Import Users from CSV
    Limit Groups per User
    NextGEN Gallery
    WP-FB-AutoConnect
    WP Multibyte Patch
    9. Are you using the standard BuddyPress themes or customized themes?
    customised
    10. Have you modified the core files in any way?
    no
    11. Do you have any custom functions in bp-custom.php?
    no
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    not running it
    13. Please provide a list of any errors in your server’s log files.
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24576 bytes) in D:DOCUMENTSCOMMSWEBDEV_htdocs***wp-contentpluginsbuddypressbp-membersbp-members-signup.php on line 586
    Call Stack
    # Time Memory Function Location
    1 0.0153 689136 {main}( ) ..wp-login.php:0
    2 0.0155 708728 require( ‘D:DOCUMENTSCOMMSWEBDEV_htdocs***wp-load.php’ ) ..wp-login.php:12
    3 0.0157 723912 require_once( ‘D:DOCUMENTSCOMMSWEBDEV_htdocs***wp-config.php’ ) ..wp-load.php:29
    4 0.0162 826992 require_once( ‘D:DOCUMENTSCOMMSWEBDEV_htdocs***wp-settings.php’ ) ..wp-config.php:83
    5 0.1859 25566512 do_action( ) ..wp-settings.php:212
    6 0.1890 26231504 call_user_func_array ( ) ..plugin.php:403
    7 0.1890 26231520 bp_loaded( ) ..plugin.php:403
    8 0.1890 26231576 do_action( ) ..bp-core-hooks.php:97
    9 0.1890 26232424 call_user_func_array ( ) ..plugin.php:403
    10 0.1890 26232440 bp_include( ) ..plugin.php:403
    11 0.1890 26232496 do_action( ) ..bp-core-hooks.php:47
    12 0.2523 33274896 call_user_func_array ( ) ..plugin.php:403
    13 0.2523 33274912 BP_Members_Component->includes( ) ..plugin.php:403
    14 0.2524 33275968 BP_Component->includes( ) ..bp-members-loader.php:46
    14. Which company provides your hosting?
    none – localhost
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Apache

    #138249
    @mercime
    Participant

    == I’d like to develop a directory, which uses my site category structure, ==

    @jishi this is more of a WordPress issue rather than a BP one. Create a Page Template and replace the_content with wp_list_categories or just search for and use one of the list categories plugin to generate what you want in the Page https://wordpress.org/extend/plugins/tags/categories

Viewing 25 results - 17,351 through 17,375 (of 32,678 total)
Skip to toolbar