Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: crop avatar bug?

ok, it took me a few hours to figure this out! then i upgraded to wp 3.0 beta 1 in case this was solved, but the exact same behaviour occurr. with the help of another thread and some research, the solution seem to be working now. you guys maintaining the buddypress site can verify if it works for you as well.

there are two problems here:
– the htaccess file need to be changed for wp 3.0 (and i guess it was the same for wp2.9.2)
– the settings of the main blog must also be modified.

this is what is in my htaccess for wp 3.0
RewriteEngine On
RewriteBase /

# uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]

# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]

SecFilterEngine Off
SecFilterScanPOST Off

the settings of the main blog can be accessed via the ‘sites’ under superadmin and then ‘edit’, all the site options are under there (as i didn’t use the WPMU before i struggled to find the options for a while!)
here there are 3 different entries for upload (don’t ask me why)
1- upload path: i set this to wp-content/blogs.dir/1/files
2- upload url path: i left this blank as after a few experiment doesn’t seem to do anything
3- file upload url: also left blank as it seems to duplicate the base url
i’m guessing this might be a bug, but for now it does solve the problem!

maybe this will save people some time…

Skip to toolbar