Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 19,601 through 19,625 (of 22,687 total)
  • Author
    Search Results
  • #65574
    andrew_s1
    Participant

    Code revised to give protection even if buddypress gets deactivated: adds a second line of defence by hooking a wordpress action too. I’ve assumed that there’s no conflict here, but I don’t know if these two hooks collide. It seems to work ok.

    <?php
    /*
    Plugin Name: BuddyPress Lockdown
    Plugin URI: https://buddypress.org/
    Description: Lock down your BuddyPress site if a user is not logged in.
    Author: Andy Peatling & Andrew_S1
    Version: 1.2
    Author URI: https://buddypress.org/
    Site Wide Only: true
    */

    function bp_lockdown() {
    global $bp;

    if ( BP_REGISTER_SLUG != $bp->current_component &&
    BP_LOGIN_SLUG != $bp->current_component &&
    BP_LOGIN1_SLUG != $bp->current_component &&
    !is_user_logged_in() ) {
    bp_core_redirect( site_url( BP_LOGIN_SLUG ) );
    }
    }
    function wp_lockdown() {
    if ( !is_user_logged_in() ) {
    auth_redirect( 'wp-login.php' );
    }
    }

    add_action( 'bp_init', 'bp_lockdown');
    // if no buddypress, have a backup plan
    add_action( 'send_headers', 'wp_lockdown');
    ?>

    #65571
    intimez
    Participant

    I pasted Burt’s code to the end of function.php and I get a blank page

    Did I miss something?

    [wordpress2.9.2 + buddypress1.2.1]

    #65520
    Andrea Rennick
    Participant

    What theme was it? Some themes are pretty straightforward, some are a nightmare. (I’m working on a pile of them in my “spare time”)

    #65518
    Andrea Rennick
    Participant

    https://wordpress.org/extend/plugins/wpmu-new-blog-defaults/ This is the one most of us have been using.

    #65474
    bnt76
    Participant

    I actually found this quite difficult and still cannot convert a theme! Damn by technical capabilities.

    #65473
    kespers
    Member

    Its a bug reported at : https://trac.buddypress.org/ticket/2046

    #65463
    andrew_s1
    Participant

    Update again: the full answer is now here – https://wordpress.org/extend/plugins/bp-template-pack/

    #65459
    r-a-y
    Keymaster

    Since filters require some knowledge with WordPress, I’d recommend the CSS route.

    Put this in your stylesheet:

    .activity-list .activity-content img.thumbnail {display:none;}

    #65448

    In reply to: media attachments…

    Paul Wong-Gibbs
    Keymaster

    Don’t know about image posting in activity stream but FYI you can use this for video https://wordpress.org/extend/plugins/oembed-for-buddypress/

    #65444
    Thomas Opp
    Participant

    Is there any way to enable the activations mails in a Single WP like in MU?

    It seems to me BuddyPress supports activation only in WordPress MU.

    #65430
    peterverkooijen
    Participant

    As far as I know wpmu_activate_user is a plugin action hook. Also mentioned here. It works for my function. Not sure what you need exactly.

    #65417
    vincedepalma
    Member

    From the main wordpress admin you need to go to “settings” then check the box “anyone can register”

    #65411
    Peter Anselmo
    Participant

    Just Found this, Could be a springboard

    https://wordpress.org/extend/plugins/google-document-embedder/

    #65358
    geoffm33
    Participant

    It’s on the WordPress Settings page, the option called “Membership”.

    #65344

    In reply to: Hopped Up Beer

    Mike Pratt
    Participant

    @andystaple when Pods becomes wordpress friendly it will be an awesome choice to use as your Beer data-type manager.

    Does MyReviewPlugin actually make use of BP XProfile data and hook into the activity stream? eg. [Andy Staple] reviewed [Pete’s Wicked Ale] in [Microbews Group] for example?

    #65327

    In reply to: Tried HipHop ?

    Devrim
    Participant

    Hi David..

    Thanks, I don’t really know the reason wordpress/buddypress is slow. Although we have all sorts of optimizations (memcache,cdn,minifications) in place, wp-blog-header.php is not running under 0,3 secs, page loads are well around 1 sec. I have never dived into bp functions and investigated them thoroughly to comment on where the biggest impact on performance occurs.

    Since we are really busy on our project launch hassles, i’m trying to get this on the side as much as I can.

    If i anybody could help me out on testing the performance of buddypress using hiphop, or at least find out if it can compile or not, that can benefit this community a great deal too.

    #65325
    peterverkooijen
    Participant

    Marius Ooms posted an update about the bp-groupblog plugin here.

    Per definition what works within your blog should also work on your groupblog. All you need is the blog id that belongs to the group. If you look at the template files you’ll see how we set the blog id and use switch blog to change blog id’s.

    That’s probably what I should focus on to fix my problem!

    Looking ahead we are even going further and reversing the concept of pulling in specific blog content into the group, but let the blog be the group and pull in buddypress information to the blog itself. … The main group slug would just forward to the blog home page.

    I had thought about that as possible solution to the referrer check mismatch problem; just make the blog homepage, where P2 does work, the group homepage.

    But I think it would create more confusion. In my theme I want to keep blogs looking like blogs and turn the group homepages into the centers for social networking activity.

    So the group blog homepage would display the same posts as on the group homepage, but in a traditional blog view. Most users would see the group blog posts on the group home page or in the single.php view.

    Forwarding the group slug to a blog and then make the blog look like a group home page breaks the logic of the site.

    EDIT:

    I still think that, atm, posting from the front-end is not developed far enough yet … It is fine for micro-blogging, but I don’t think there are option to include image/video/media uploading, tagging, and categories

    There is in P2, leveraging WordPress media buttons. It’s very slick, with lightbox etc. (I see they’re missing from the version I had in my zip…)

    In my setup I’m trying to get simple, stripped down microblogging front-end posting on the group homepage, with a traditional blog view on the blog homepage. So more advanced users can still go from the regular blog homepage into the wp-admin backend if they want to do more complicated post editing.

    P2 has different tabs for Status Update and Blog Post on the post-form. I’d like to have those options in the group homepage if I can get it to work, but the stripped down Status Update would be priority there.

    #65322
    Mariusooms
    Participant

    While it is very true that the backend is confusing our users regarding complexity, I still think that, atm, posting from the front-end is not developed far enough yet (as far as I know, please correct me if I’m wrong). It is fine for micro-blogging, but I don’t think there are option to include image/video/media uploading, tagging, and categories.

    Therefore we are still painfully educating our users so at least the can harness the full potential of WP rather than to use it as a feature rich paper weight that can only do text. If anyone knows of a way to post to the blog from the front end that’s more full featured than just text, it will be implemented immediately (as a manner of speaking)!

    We could do this with Drupal, but I have not seen it yet, or search hard enough, in WordPress.

    So yes, I to would absolutely feel liberated if I did not have to send our users to a backend…it is not what is expected for most users using common social sites. Definitely high on the priority list!

    #65315
    bbrian017
    Participant

    Alright I have added right after

    define( ‘COOKIEPATH’, ‘/’ );

    and right before

    /* That’s all, stop editing! Happy blogging. */

    What is this suppose to do anyways? I’m not sure I understand how this stops spam.

    So now my wp-config is like this,

    define( ‘COOKIEPATH’, ‘/’ );

    define( ‘BP_REGISTER_SLUG’, ‘randomcrazyslugger’ );

    /* That’s all, stop editing! Happy blogging. */

    /** WordPress absolute path to the WordPress directory. */

    #65308
    bbrian017
    Participant

    I added the line. as suggested.

    /* That’s all, stop editing! Happy blogging. */

    define( ‘BP_REGISTER_SLUG’, ‘yourregisterslug’ );

    /** WordPress absolute path to the WordPress directory. */

    That’s what it looks like.

    Andrea_r sorry I’m in three different threads right now I feel like your chasing me around haha!

    #65290

    In reply to: Hopped Up Beer

    andystaple
    Participant

    We’re actually running this one http://www.myreviewplugin.com/

    It seemed to fit with our needs the best, and has actually been quite easy to work with. We’re also using GravityForms (which is probably one of the best plugins to ever be on WordPress) to handle adding new beers (which are actually posts)

    #65286

    In reply to: Tried HipHop ?

    Windhamdavid
    Participant

    Wow, that’s a really impressive setup you got going at http://kodingen.com. Thank you for posting this ~ I wouldn’t know where to start with hiphop yet, but I registered and noticed that the activation email is missing a backslash. I had read this statement from @rasmus and figured it’s performance gains and high scaleability would also depend on a series of other configurations like memcached and sql optimization. But something like this could prove to be as Rasmus puts it, escape from ‘framework soup’. Although wordpress.com seems to be running top notch on top of Nginx, but I’m sure they got all kinds of hardware and configuration tweaks going on.. ;) // all the same thanks for for the experimenting and good luck with it.

    #65256

    In reply to: Wire is gone?!

    Hugo Ashmore
    Participant

    It’s not gone just radically altered?

    It’s part of the activity stream now?

    I think if you want it exactly as before you need to use this plugin provided to maintain backwards compatibility:

    https://codex.buddypress.org/getting-started/upgrading-from-10x/

    https://wordpress.org/extend/plugins/buddypress-backwards-compatibility/

    But someone more versed in these matters may provide a better answer.

    Maintaining this backwards compatibility does not seem straightforward though, and a better step by step guide would be useful, and I’m not sure that in reality 1.1.x and 1.2 are such different beasts that 1.2 ought to be considered a separate branch at least it doesn’t really feel as though 1.2 is an upgrade from 1.1 less a point release than a milestone almost a 2.x?

    #65253
    Famous
    Participant

    I had the same problem. Odd, my sign up link didn’t even show up??? But I did what windHamDavid said and I went here /wp-admin/wpmu-options.php

    Note: because I have MU installed maybe different for regular wordPress

    I disabled registrations saved and re-enabled, and it worked.

    Thanks windHamDavid

    #65227

    In reply to: BuddyPress Like

    Alex
    Participant

    Plugin’s been updated to fix all known bugs, now at 0.0.3.

    Download or update to the latest version.

Viewing 25 results - 19,601 through 19,625 (of 22,687 total)
Skip to toolbar