Hello,
This is what the plugin do when Install this widget link is clicked :
it unzip files in /wp-content/uploads/bpmh-widgets/
so you first need to make sure this folder exists
if not create it and then move the content of the bp-my-home/zip-widgets/ folder in wp-content/uploads/bpmh-widgets/
Hope it will help you to make it work.
Have a nice sunday.
Thanks for the fast reply, @imath. I think there must still be a step missing. I’ve created uploads/bpmh-widgets in wp-content and copied the zip-widgets *.zip files there. I unzipped them and even left the zip files there, just in case. It still appears that no widgets are active and trying to activate them, of course, brings up the FTP connection form.
Is there a database flag that gets set when a widget is activated?
I think you must play with the rights of the folder /wp-content/uploads/* because i think it may be the cause of the problem.
in uploads/bpmh-widgets delete the zip files if you put them there, only the unzip files are to be there
in bp-my-home/zip-widgets delete the zip files
And when a widget is activated, then data are stored in wp_options.
I’m sorry, it’s really hard to figure what the problem is.. i think it’s because of the rights of uploads folder. When you write a post how do you upload images ?
I got it! When I upload pictures and other media to blogs, it goes into a wp-content/blog.dir//files. I think that’s the default folder structure for WPMU. I took a look inside of the buddypress blog’s files directory and saw the bpmh-widgets folder just begging me to put stuff into it!
Thanks for your help, imath!
that folder structure should be `wp-content/blog.dir//files`, Anyway, thanks again for the help and the awesome work on your plugin. It is working perfectly and I am excited to hear the feedback from my users.
Interesting. I need to reproduce this to understand.
Can you tell me what version of WordPress you’re using ?
And on what blogid BuddyPress is activated ?
Anyway, i’m glad you succeed to make it works on your configuration. FYI, I had a bug on v1.2, make sure to upgrade to 1.2.1 or, if you dont want to redo all your settings to comment line 21 of bp-my-home.php like this :
`//define ( ‘BP_DEFAULT_COMPONENT’,BP_MYHOME_SLUG);`
Thanks. I’m on WP3.1 and BP 1.2.8. I’ve been using WPMU since 2.4 or so and have BP activated on Blog ID 1. I believe the directory structure I described above is (or was) the standard path for WPMU blog-specific content upload folders. Thanks for the heads up on BPMH 1.2.1. If I could figure out how to adequately convey a bow and flourish across the Internet, I would.
Thanks a lot. Have a nice time.
Hai imath,
i have same problem,
the error noticed : Please make sure folders bpmh-widgets and bpmh-widgets-temp exist in folder /wp-content/uploads
but i already create folder like bpmh-widgets and bpmh-widgets-temp.
My WordPress version : 3.1 buddypress 1.2.8
How to install widgets
Hi, it seems that if you upgraded from WPMU to WP 3.1 then the upload dir is blogs.dir/1/files/, so try to create the 2 folders there.
I had similar problems. Working with BP 1.2.8 and WP 3.1 multisite. The paths are correct, the files were there, but nothing to activate. The problem was: the zip-files are zipped in the wrong way (folder structure unzipped was: bpmh-bkmks/bpmh-bkmks/somefiles – but it has to be bpmh-bkmks/somefiles), so wp can’t unzip them – I unzipped all widgets locally, deleted the DS.store (they won’t be needed) files and uploaded the folders to the wp-content/uploads/bpmh-widgets folder, so that finally I have this structure: wp-contents/uploads/bpmh-widgets/bpmh-bkmks/somefiles. Also deleted the zip-files in the plugin-directory. Now it seems to work.
@imath I have also used wpmu earlier – if someone has updated in the right way from 2.9.x to 3.0, the folder-structure also has changed – i.e. with another update to 3.1 there shouldn’t be any problems with wrong paths.
@noizeburger thks for your posts to solve the trouble.