Search Results for 'wordpress'
-
AuthorSearch Results
-
February 25, 2010 at 6:40 pm #65574
andrew_s1
ParticipantCode 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');
?>February 25, 2010 at 6:20 pm #65571In reply to: How to: Modify the bp admin bar
intimez
ParticipantI 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]
February 25, 2010 at 1:43 pm #65520In reply to: Convert a WordPress Theme to a BuddyPress Theme
Andrea Rennick
ParticipantWhat theme was it? Some themes are pretty straightforward, some are a nightmare. (I’m working on a pile of them in my “spare time”)
February 25, 2010 at 1:42 pm #65518In reply to: Plugin Release: Default Blog Options
Andrea Rennick
Participanthttps://wordpress.org/extend/plugins/wpmu-new-blog-defaults/ This is the one most of us have been using.
February 25, 2010 at 11:18 am #65474In reply to: Convert a WordPress Theme to a BuddyPress Theme
bnt76
ParticipantI actually found this quite difficult and still cannot convert a theme! Damn by technical capabilities.
February 25, 2010 at 11:12 am #65473kespers
MemberIts a bug reported at : https://trac.buddypress.org/ticket/2046
February 25, 2010 at 9:37 am #65463In reply to: Convert a WordPress Theme to a BuddyPress Theme
andrew_s1
ParticipantUpdate again: the full answer is now here – https://wordpress.org/extend/plugins/bp-template-pack/
February 25, 2010 at 9:08 am #65459In reply to: Remove images from Activity Stream
r-a-y
KeymasterSince 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;}February 25, 2010 at 7:21 am #65448In reply to: media attachments…
Paul Wong-Gibbs
KeymasterDon’t know about image posting in activity stream but FYI you can use this for video https://wordpress.org/extend/plugins/oembed-for-buddypress/
February 25, 2010 at 7:04 am #65444In reply to: How to enable registration on single WP?
Thomas Opp
ParticipantIs 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.
February 25, 2010 at 3:16 am #65430In reply to: Adding custom usermeta to Registration
peterverkooijen
ParticipantAs 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.
February 25, 2010 at 1:48 am #65417In reply to: How to enable registration on single WP?
vincedepalma
MemberFrom the main wordpress admin you need to go to “settings” then check the box “anyone can register”
February 25, 2010 at 12:52 am #65411In reply to: Deep integration of Google Docs
Peter Anselmo
ParticipantJust Found this, Could be a springboard
https://wordpress.org/extend/plugins/google-document-embedder/
February 24, 2010 at 8:23 pm #65358In reply to: How to enable registration on single WP?
geoffm33
ParticipantIt’s on the WordPress Settings page, the option called “Membership”.
February 24, 2010 at 7:34 pm #65344In 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?
February 24, 2010 at 5:26 pm #65327In reply to: Tried HipHop ?
Devrim
ParticipantHi 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.
February 24, 2010 at 4:57 pm #65325In reply to: Group Blog + P2 or Posthaste
peterverkooijen
ParticipantMarius 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.
February 24, 2010 at 4:47 pm #65322In reply to: Group Blog + P2 or Posthaste
Mariusooms
ParticipantWhile 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!
February 24, 2010 at 4:08 pm #65315In reply to: Spam, Spam and more spam
bbrian017
ParticipantAlright 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. */
February 24, 2010 at 3:12 pm #65308In reply to: Spam, Spam and more spam
bbrian017
ParticipantI 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!
February 24, 2010 at 2:02 pm #65290In reply to: Hopped Up Beer
andystaple
ParticipantWe’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)
February 24, 2010 at 1:44 pm #65286In reply to: Tried HipHop ?
Windhamdavid
ParticipantWow, 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.
February 24, 2010 at 8:11 am #65256In reply to: Wire is gone?!
Hugo Ashmore
ParticipantIt’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?
February 24, 2010 at 7:50 am #65253In reply to: Registration link redirects to home page
Famous
ParticipantI 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
February 24, 2010 at 1:52 am #65227In reply to: BuddyPress Like
-
AuthorSearch Results