Was thinking it would be fun to make HPM work. After plying with it for a while it seems to be working ok except for a couple of problems.
* habaripackage.php (line 187) adds an extra /. The . '/' . could be removed. ( $this->archive->unpack( $file, HABARI_PATH . '/' . $this- >install_profile[$file], 0777 ); ) * Since hpm saves the actual plugins in /plugins it needs to be writable by the web user * hpm uses a slice() instead of explode, forgot where just do a grep for it. * When updating the repo list hpm should update it's plugin database. * Doesn't seem to check if a plugin already exist. Fails the install since the plugins folder isn't writable. * Doesn't seem to actually check archive_md5. * Upgrade only uses version number? Gave me a white screen followed by errors. Since the current repo only is for 0.6.x and doesn't even seem to work for that I made my own small repo. Just copy/paste and add it as a repo. <?xml version="1.0" encoding="UTF-8"?> <packages><package guid="F1AC0F36-246D-11DE-B61E-0D8056D89593" name="Fluffy Tag" author="eighty4" author_url="http://eighty4.se" type="plugin" tags=""><description>hows a Fluffy cloud of tags (Base copied from RN Tag Cloud). Remember to add <code><?php $theme- >fluffytag(); ></code> somewhere in your theme.</ description><versions><version version="0.2" archive_md5="cb2beba56df4381169db59785055a388" archive_url="http:// habariproject.org/dist/plugins/fluffytag.zip" habari_version="0.7.x">release</version></versions></package></ packages> --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---
