Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Dear Friends,

    I have found solution to configure nginx in root with sub domain feature. enjoy.

    server {

    listen 80;

    server_name domain.com;

    #error log

    access_log /home/public_html/private/log/access.log;

    error_log /home/public_html/private/log/error.log;

    location ~* ^.+.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$

    {

    root /home/public_html/folder;

    rewrite ^/.*(/wp-.*/.*.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js))$ $1 last;

    rewrite ^.*/files/(.*(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js))$ /wp-content/blogs.php?file=$1 last;

    expires 30d;

    break;

    }

    location / {

    root /home/public_html/folder;

    index index.php index.html;

    if (!-e $request_filename) {

    rewrite ^.+/?(/wp-.*) $1 last;

    rewrite ^.+/?(/.*.php)$ $1 last;

    rewrite ^(.+)$ /index.php?q=$1 last;

    }

    }

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000

    #

    location ~ .php$ {

    fastcgi_pass 127.0.0.1:9000;

    fastcgi_index index.php;

    include /usr/local/nginx/conf/fastcgi_params;

    fastcgi_param SCRIPT_FILENAME /home/public_html/folder/$fastcgi_script_name;

    include /usr/local/nginx/conf/fastcgi_params;

    }

    }

    server {

    server_name http://www.domain.com;

    rewrite ^/(.*) http://domain.com/$1 permanent;

    }

    cool, this is gr8 news i would like to get start once again testing this. thumps up guys i hope 1st release will have gr8 things in hand.

    guys slicehost is the best hosting if real developer loves it. and it is takeover by rackspace now.

    gr8. but i am sure it will be there with gr8 flexibility to the user. we have to wait for that mean while we can u urs patch. thanks and keep digging.

    I am very much interested to see it working. But yes things comes step by step. It will rock surly.

    sure, where exactly i have to submit patch.

    oh gr8. so no need to take coffee for that then :)

    yeah it needs to be discussed. or one can write patch for that :)

    Ok got the solution.

    I want to pin point some thing here plz let me know if im going wrong.

    I wanted activity should display in local languages also.

    So i have updated

    1. /bp-activity/bp-activity-templatetags.php

    2. wp_bp_activity_sitewide table

    Updates are as follows.

    1.

    here coz of local language when we create post url getting converted to utf so its long test with sting and special chars that is the reason in the formation of site wide activity sprintf is used so it is not allowing big utf type url.

    In function bp_activity_content_filter

    I commented //$content[0] .= ‘%s’;

    and in function bp_activity_insert_time_since

    return sprintf( $content, ‘  ‘ . bp_core_time_since( strtotime( $date ) ) . ‘ ‘ . __(‘ago’, ‘buddypress’) );

    replaced with

    return $content . sprintf( “%s”, ‘  ‘ . bp_core_time_since( strtotime( $date ) ) . ‘ ‘ . __(‘ago’, ‘buddypress’) );

    2. In wp_bp_activity_sitewide table updated content field with utf8_general_ci

    This is for site wide activity to work with local languages. For profile make changes with other tables related to user_activities all other works fine.

    yeah i see same problem of require_once i reverted back to older version 443

    Hey i am getting “Upload Failed! Your photo dimensions are likely too big.” error on IE7 while sign up what will be wrong. any idea.

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