Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 18,676 through 18,700 (of 22,683 total)
  • Author
    Search Results
  • #73898
    Andy Peatling
    Keymaster

    The only difference is that if you use MU then your users can create blogs.

    #73851
    Ron Rennick
    Participant

    Folks,

    The issue here with 3.0 is that if an existing WP 2.9.2 install with uploaded media upgrades to 3.0 and enables the network the blog option for the upload_path can’t be changed to the blogs.dir folder because the existing media becomes inaccessible.

    For now, if you are looking to go to multiple blogs after install, then you should install MU 2.9.2 and upgrade that to 3.0 instead of installing WP 2..9.2.

    #73816
    Jeff Sayre
    Participant

    @heini-

    Your basic idea is correct. The issue is the order in which each action function hooked to the bp_setup_nav action event is being triggered. Let’s look at the code you have in bp-custom.php.

    <php
    function my_groups_setup_nav() {
    [the whole function code]
    }
    remove_action('bp_setup_nav', 'groups_setup_nav');
    add_action( 'bp_setup_nav', 'my_groups_setup_nav' );
    ?>

    This fails because your custom code in bp-custom.php is executed before the code in bp-groups.php is executed. So, you are calling to remove an action that has not yet be registered by WordPress.

    I’m almost finished with an article about the intricacies of WordPress’ action and filter functions, but here is a brief explanation to try to shed some light on the issue.

    Each action and filter event when triggered by a do_action or apply_filters call sends execution to the appropriate do_action or apply_filters function in /wp-includes/plugin.php. These functions do several things, one of which is querying a very large array that contains all of the added filter functions and action functions. This array gets populated by the actions of the add_filter and add_action calls.

    To avoid getting too long winded, as each file gets loaded, any and all add_action and add_filter calls that are directly executable at the time, get triggered which builds this big array. This array is then used by the do_action and apply_filters functions to determine the sequence in which each added action of filter will be executed.

    You can read my article when it is ready for a much longer but clearer explanation.

    With that briefly described, the piece of information that applies to your situation is that when the action event for bp_setup_nav is triggered, via the do_action( ‘bp_setup_nav’ ) call on line 2025 in bp-core.php, the do_action function starts processing each action function that was “added” to it in the order in which it was added (with an important exception). This means that for your custom function my_groups_setup_nav to work, it must remove the action function in the array discussed above so that when the bp_setup_nav action event is triggered it uses your action function instead of the one added by the add_action(‘bp_setup_nav’, ‘groups_setup_nav’) call.

    So, what you need to do is trigger your remove and add action calls in the proper sequence–after the action function that creates the groups navigation menus has been added to the filter array but before the bp_setup_nav action event is triggered. I realize this may be hard to understand.

    This is what you need to do instead:

    <?php function my_groups_setup_nav() {

    /* Remove the added action from the array of functions that get run
    * when the action event for bp_setup_nav is triggered
    */
    remove_action('bp_setup_nav', 'groups_setup_nav');

    // Then replace the removed function with your custom content
    [the whole function code]

    }
    add_action( 'plugins_loaded', 'my_groups_setup_nav' );
    ?>

    A final bit of clarification. This is what happens in your current custom function:

    1. As soon as BuddyPress is initialized, it looks to see if bp-custom.php exists. If it does, it loads it.

    2. This will cause your remove_action call to be fired.

    3. But the corresponding action has not yet been added to the very large filter array since bp-groups.php has not yet been loaded.

    4. So, nothing happens as there is nothing to remove.

    5. bp-groups.php eventually gets loaded and at that point the add_action(‘bp_setup_nav’, ‘groups_setup_nav’) call is fired, resulting in the action function that you were trying to remove getting added to the filter array but after the fact.

    6. Eventually the bp_setup_nav action event is triggered.

    7. When that happens, the first function hooked to it (added to it) is your custom function. It now gets triggered.

    8. All other action functions hooked to the bp_setup_nav action event get triggered one by one including the groups_setup_nav function–the one you had tried to remove in step 2.

    9. You have a mess with two duplicate functions doing the same thing.

    #73806
    Boone Gorges
    Keymaster

    BuddyPress is still young and so it doesn’t have the same kind of rich development guides as the much more mature (and widely-used) WordPress.

    Since BP is a WP plugin, the basics of BP plugin development are the same as they are for WP. The system of hooks and filters is exactly the same (though of course the hooks themselves are different).

    At this point in the BP project, I’ve found that the best ways to get started with plugin development are (a) to find existing BP plugins that do something similar to what you’re trying to do, and to learn by dissecting them; (b) to look through official resources like the ones Jeff posted above; and (c) to search through BP codebase itself, where I think you’ll find that many of the functions you need are quite well documented.

    #73805
    ajohnson
    Member

    I am running it off a sub-folder in WP 3.0. I have been for a long time but the most recent upgrade broke my avatars. It looks as if the image uploads correctly for me, but doesn’t pull it in to crop. The path it try’s is:

    http://www.website.com/sub-folder-blog/blogs.dir/2/files/avatars/1/avatar.jpg

    when it should be

    http://www.website.com/wp-content/blogs.dir/2/files/avatars/1/avatar.jpg

    Any ideas on what I should try to change? I’ve already tried:

    if ( !$path = get_option( 'upload_path' ) )

    $path = WP_CONTENT_DIR . '/blogs.dir';

    else

    $path = ABSPATH . $path;

    Thanks!

    #73804
    Tmort
    Participant

    Well I just tested that out, and it didn’t work. Its like theres a database entry exclusive to buddypress that says “You live at domain.com/folder”. I’m not sure where or why.

    I’d like to ask the community: Does buddypress interact well with wordpress’ feature where the core files live in a folder of your domain? Maybe that is my issue?

    Thanks for the help!

    #73799
    21cdb
    Participant

    I had the same problem a few seconds ago. A newly registered member didn’t recieved the activation email but was listed in WordPress>Backend>Users

    I asked the user to check spam inbox twice but there was stil no activation mail :)

    It would be great if admins could manually acivate such users or resent the activation email.

    #73797
    MrMaz
    Participant

    I just tagged 0.4 final.

    Thank you very much to everyone who helped with the testing, translations, and bug reports.

    Not much has changed since the beta.

    * Changing the component slug is now officially supported

    * Do not show my group links or create link form unless user is a group member

    As soon as the repo updates you can upgrade from your dashboard. If you have a ton of links, make sure you let the page load all the way after upgrading since every link needs to be updated to populate a new field.

    Only two languages are up to date for 0.4. Those would be FR and NL. If you are interested in updating or adding a translation, you can download the .pot file here…

    https://plugins.trac.wordpress.org/export/229924/buddypress-links/tags/0.4/languages/buddypress-links.pot

    Enjoy the 0.4 branch!

    #73794
    pepijndevos
    Member

    What exactly is a component?

    Am I just supposed to start reading the function reference and some code and try to understand?

    Most articles I found there seem mere stubs that only make sense when you know what you’re looking at.

    When I started with WordPress I kind of rolled into it and looked some things up when I needed them etc.

    For WordPress there are 2 excellent guides to get you started developing plugins and themes.

    With BuddyPress I have absolutely no sense about what it does, how it works from the inside and where to start.

    Aren’t there any books or tutorials to get started developing in an easy way?

    #73784
    guigoz
    Member

    Hi,

    Thanks for this plugin.

    It seems to work very good on my site, exept for the homepage. Maybe I missed something but the title of my homepage is “Blog”. I’ve checked WordPress options (site name, and site title, it’s not “Blog”) and I don’t find homepage option in BuddyPress SEO.

    Any idea ?

    Excuse my english.

    Cordialement,

    Guillaume Coulon.

    #73761
    José M. Villar
    Participant

    And I am waiting for Boone to write a plugin that will build my BP community, fill it with thousands of members that will click on hundreds of ads which in turn will make me billonaire.

    Sorry for the OT, but I really think Boone can do it…

    UPDATE: getting back on topic, wpmu.org will start building a Ning Migration Tool: http://wpmu.org/ning-to-buddypress-wordpress-migration-plugin/

    Will it be free or not ? Place your bets !

    #73757
    tjtate
    Participant

    i had a similar issue, this is how i fixed it.

    htaccess on root directory:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    permalink structure:

    /index.php/%postname%/

    then i had to make sure that apache has the mod_rewrite module enabled.

    running wordpress 2.9.2, apache 2.2.11 and php 5

    #73750
    paulhastings0
    Participant

    FYI, Buddypress Ajax Chat updated their plugin on April 11th. I think they may have fixed their issue so you might want to update the list if they have.

    #73747
    rich! @ etiviti
    Participant

    if this helps anyone but my quick start for markitup (just the group forum areas for now – something funky with the activity entry textarea)

    http://etivite.com/groups/buddypress/forum/topic/quick-tip-adding-markitup-to-group-forum-textareas/#topic

    markitup will handle html or bbcode (enable the shortfilter and use this plugin https://wordpress.org/extend/plugins/boingball-bbcode/) – and you can fake the WYSIWYG part by using the preview option

    #73735
    copywryter
    Member

    BuddyPress is running fine in http://www.venture4change.com/community, but I see what you mean….perhaps there are two installations? It’s possible…I used the host’s lousy wordpress installer, which was likely simplescripts.

    What’s your recommendation?

    #73727
    Boone Gorges
    Keymaster

    It’s just a start, but after I heard the news about Ning I wrote a plugin that will import users from Ning to WordPress: http://teleogistic.net/2010/04/importing-ning-users-into-wp/.

    Sadly Ning doesn’t offer easy export of the rest of the content. But I think some folks out there are working on ways for you to get your forums, discussions, blog posts, etc out of there as well.

    #73721
    Phlux0r
    Participant

    @Robert

    the avatar issue seems to come form an incorrect value for the upload_path option in wp_options for the main blog. Make sure it is set to: wp-content/blogs.dir/1/files

    Once I updated the option manually in the database, everything worked fine. Also if you have an old .htaccess file from WPMU, it needs to change to use the new ms-files.php in the rewrite rules:

    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    @Andy Peatling

    I’m using WP3.0 beta-1 and BP 1.3-bleeding and things seem to work OK for the most part except the Blogs area is a bit shaky. I don’t get the My Blogs admin bar menu item.

    So the recommendation is to use BP 1.2.3? Hm, how do I downgrade? Can I just disable BP, reinstall 1.2.3 and then reactivate it?

    #73712
    jordashtalon
    Member

    Out of curiosity i’m wondering if anyone has tested this out yet, how well does the WordPress Search Function work with BPAlbum+ is there anyway to allow people to search through images where if they type in a tag name that image will show up?

    3sixty
    Participant

    You need to create a new WordPress page before this will work. Create a wordpress page, then the option will appear.

    #73672
    danbpfr
    Participant
    #73644
    ajohnson
    Member

    I’ve been using the alpha’s for 2 months and its been great so far. using sub-folders and actually running bp off of a sub-blog and not the main blog. few bugs..but overall great.

    #73628
    adyba
    Participant

    Have you guys tested the fresh installation?

    Im about to test this scenario:

    1) WP 2.9.x

    2) BP install (current state)

    3) Upgrade WP to WP3.0b

    4) Go to multisite network

    5) Refresh BP

    Does anybody some strong recomendation (like DONT DO IT :) ?

    #73611
    idotter
    Participant

    for me it works too

    #73609
    Paul Wong-Gibbs
    Keymaster

    The upcoming 1.2.4 release will be tested/fixed to work with WordPress 3.0. Current version is not guaranteed to work.

    #73603
    José M. Villar
    Participant

    Found this plugin which says it works under WPMU: https://wordpress.org/extend/plugins/display-widgets/

    Haven’t tested it under BP though…

Viewing 25 results - 18,676 through 18,700 (of 22,683 total)
Skip to toolbar