Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 54 total)
  • 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.

    :-D

    forgot to remove the lines protecting my site, you should remove:

    auth_basic "Restricted";
    auth_basic_user_file /etc/nginx/htpasswd;

    I 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;
    }

    }

    nicola, 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 :)

    I’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;
    }

    }

    fwiw: I’ve written a widget for ahp_recent_posts

    @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.

    Sorry 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

    nicola, I’ve submitted it to bp-dev, just waiting for you to make it public :)

    sgrunt, 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)

    Please 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.

    Updated, the .po file was empty, a new one is added

    just 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)

    global $userdata;
    get_currentuserinfo();
    bp_fetch_user_fullname( $userdata->ID, true ); // true = echo / false = return

    Hopefully these changes will be documented :)

    http://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.

    @scotm I agreee 100%. Maybe this plugin could be adapted to BuddyPress: http://txfx.net/code/wordpress/gravatar-signup/

    I 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); ?>

    It’s in the site admin: /wp-admin/wpmu-admin.php?page=bp_core_admin_settings

Viewing 25 replies - 1 through 25 (of 54 total)
Skip to toolbar