Forum Replies Created
-
This plugin will remove the login form:
<?php
/* Plugin Name: remove buddypress login form
* Description: remove buddypress login form
* Author: PerS
* Version: 1.0
* Author URI: http://soderlind.no/
* Plugin URI: http://soderlind.no/
*/
add_action('bp_before_sidebar_login_form', 'ps_before_sidebar_login_form');
function ps_before_sidebar_login_form() { ob_start(); }
add_action('bp_after_sidebar_login_form', 'ps_after_sidebar_login_form');
function ps_after_sidebar_login_form() { ob_end_clean(); }
?>RPX is pretty well documented over at https://rpxnow.com/docs and http://rpxwiki.com/, so any one that has time (sorry, but I don’t) should be able to write a BuddyPress add-on that implements RPX. I would have used the FB-Connect plugin as a starting point.
In reply to: Developers tool: WordPress Hooks & Filters Flow
In reply to: nginx re-write rulesforgot to remove the lines protecting my site, you should remove:
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;In reply to: nginx re-write rulesI belive I found the bug
running domain/wp-signup.php worked but domain/members/USER/blogs/create-a-blog didn’t. I suspected the error_page 404 = /index.php?q=$uri;directive and changing that fixed the problem. I changed it to:if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q=$1 last;
}The comple working DOMAIN.conf is:
server
{
listen 80;
server_name DOMAIN.COM *.DOMAIN.COM;
access_log /usr/local/nginx/logs/DOMAIN.COM.access.log;
error_log /usr/local/nginx/logs/DOMAIN.COM.error.log;
# rewrite rule for files
location ~* ^.+.(xml|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf)$
{
root /home/web/DOMAIN.COM/www;
rewrite ^/files(/.*)$ /wp-content/blogs.php?file=$1 last;
expires 10d;
break;
}
# rewrite rule for sitemap under the lines that handles upload files
rewrite ^(.*/)?sitemap.xml wp-content/sitemap.php;
# rewrite errors
location /
{
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;
root /home/web/DOMAIN.COM/www;
index index.php;
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q=$1 last;
}
}
#send php requests to fast cgi
location ~ .php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/web/DOMAIN.COM/www$fastcgi_script_name;
include /usr/local/nginx/conf/fastcgi_params;
}
}In reply to: nginx re-write rulesnicola, I’ll add it when I know it’s working fine with buddypress. the config above works fine om my wpmu site, but as I said, I’m having problems with a buddypress site. The “problem” is that it’s not creating any errors I can use for debugging (and before you suggest that I should log errors .. I’m do that
In reply to: nginx re-write rulesI’m using this one (found it on mu.wordpress.org/forums). I’m having problems creating new blogs, but I’m not sure if it’s nginx causing the problem (it works fine with wpmu):
server
{
listen 80;
server_name DOMAIN.COM *.DOMAIN.COM;
access_log /usr/local/nginx/logs/DOMAIN.COM.access.log;
error_log /usr/local/nginx/logs/DOMAIN.COM.error.log;
# rewrite rule for files
location ~* ^.+.(xml|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf)$
{
root /home/web/DOMAIN.COM/www;
rewrite ^/files(/.*)$ /wp-content/blogs.php?file=$1 last;
expires 10d;
break;
}
# rewrite rule for sitemap under the lines that handles upload files
rewrite ^(.*/)?sitemap.xml wp-content/sitemap.php;
# rewrite errors
location /
{
#auth_basic "Restricted";
#auth_basic_user_file /etc/nginx/htpasswd;
root /home/web/DOMAIN.COM/www;
index index.php;
error_page 404 = /index.php?q=$uri;
}
#send php requests to fast cgi
location ~ .php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/web/DOMAIN.COM/www$fastcgi_script_name;
include /usr/local/nginx/conf/fastcgi_params;
}
}In reply to: Using BP widgets with a non-BP WPMU themefwiw: I’ve written a widget for ahp_recent_posts
In reply to: Announcing: toksta* chat plugin for BuddyPressanother bugfix, updated to 0.93: http://www.soderlind.no/archives/2009/02/27/toksta-chat-plugin-for-buddypress/
In reply to: Announcing: toksta* chat plugin for BuddyPressbtw, just updated the plugin to version 0.92: http://www.soderlind.no/archives/2009/02/27/toksta-chat-plugin-for-buddypress/
In reply to: Announcing: toksta* chat plugin for BuddyPress@gogoplata, I considered PHP Free Chat (and plenty others), installed it and tested it, and it’s ok. The reason I ended up with toksta is that it doesn’t put load on my servers and it has webcam support.
In reply to: Announcing: toksta* chat plugin for BuddyPressSorry but I can’t help you with your IE. I just tested it again on my mac and it works fine in:
– IE 6.x on Windows XP
– IE 7.x on Windows Vista
– FireFox 3.x and Safari 3.2.1 on Mac OS X 10.5.6
In reply to: Announcing: toksta* chat plugin for BuddyPressnicola, I’ve submitted it to bp-dev, just waiting for you to make it public
In reply to: Announcing: toksta* chat plugin for BuddyPresssgrunt, the debug information from IE is sooo poor, could you please see if you get more using FireBug Lite: http://getfirebug.com/lite.html (try the bookmarklet)
In reply to: Announcing: toksta* chat plugin for BuddyPressPlease post the error message. The plugin has been tested in IE 7, FireFox 3.x on Windows Vista and Mac OS X, and Safari on OS X.
In reply to: Announcing: toksta* chat plugin for BuddyPressUpdated, the .po file was empty, a new one is added
In reply to: Announcing: toksta* chat plugin for BuddyPressThe plugin is available, I just added it to http://www.soderlind.no/archives/2009/02/27/toksta-chat-plugin-for-buddypress/
In reply to: Hostingjust my 2c

I’m using http://www.slicehost.com for some of the wpmu/buddypress sites I’m building now. I’ve started with a 256MB slice, and will/can expand when needed to a larger/more slice(s). My configuration is/will be:
– nginx instead of apache (implemented)
– eAccellerator (implemented)
– Multi-DB from premium.wpmudev.org (implemented soon, 256 DBs)
– WP-SuperCache or WP-SuperCache-Plus (not sure which one yet)
– offload themes to S3 (maybe)
In reply to: User full name functionglobal $userdata;
get_currentuserinfo();
bp_fetch_user_fullname( $userdata->ID, true ); // true = echo / false = returnIn reply to: Plugin Developers: Changes around $bp globalHopefully these changes will be documented
In reply to: Welcome widgetHave a look here: https://buddypress.org/forums/topic.php?id=484
In reply to: BuddyPress Showoff: Post your linkshttp://snakkis.no/ a norwegian community site. just added chat (for logged in users)
I use it to test different plugins on the community before I launch another site I’m planning.
In reply to: BuddyPress, Profiles, Avatars and Gravatars@scotm I agreee 100%. Maybe this plugin could be adapted to BuddyPress: http://txfx.net/code/wordpress/gravatar-signup/
In reply to: jQuery ProblemsI believe you should tie your dependency to jquery-ui-core, i.e.:
<?php wp_enqueue_script('ui.datepicker', get_stylesheet_directory_uri() . '/library/custom/js/1.5.3/ui/ui.datepicker.js', array('jquery-ui-core'), 0.1); ?>In reply to: How i can change in translation words : “Full Name”It’s in the site admin: /wp-admin/wpmu-admin.php?page=bp_core_admin_settings