[BETA] phPKG - MOD installer with repositories & packages

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
Locked
JBosman
Registered User
Posts: 117
Joined: Sun Apr 30, 2006 10:01 pm
Location: The Netherlands
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by JBosman » Fri Sep 21, 2007 10:55 am

This is something everyone has been waiting for, including me!. THANKS!. I will try it out when I come back home. Great job!

I don't think that most people know what this mod does when they see the topic title. As did I when I looked. Maybe you should add some information in the topic title somehow? I hope that the phpBB team will approve this mod in their database.
With the love for all things and especialy this, figure it out!

supertuxs
Registered User
Posts: 7
Joined: Fri Sep 21, 2007 11:07 am

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by supertuxs » Fri Sep 21, 2007 11:14 am

Please, do not discourage: is the best project of this forum ! :D

nanothree
Registered User
Posts: 262
Joined: Wed Dec 10, 2003 8:33 am
Location: Doncaster, UK
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by nanothree » Fri Sep 21, 2007 3:04 pm

Hey guys, what a fuckin brilliant mod this is!

Thanks for putting in the time. I have installed my phpBB forum on my XP machine. I have applied the backslash switch mentioned on page 3(i think) but i am still recieving this error, could this be something similiar?

Code: Select all

No valid XML was found!

    * 15:56:43(3): [tar] Unpacking zipfile ./../cache/phpkg/pkg/local_8531798949c8881a48236d693ce01cd5.zip
    * 15:56:43(3): [sys] SYSTEM CALL:
      cd .\..\cache\phpkg\pkg && mkdir ..\dir\local_8531798949c8881a48236d693ce01cd5 && cd ..\dir\local_8531798949c8881a48236d693ce01cd5 && copy ..\..\pkg\local_8531798949c8881a48236d693ce01cd5.zip . && unzip local_8531798949c8881a48236d693ce01cd5.zip
    * 15:56:43(3): [sys] System reply:
      1 file(s) copied.
    * 15:56:43(3): [xml] Searching for a XML file in ./../cache/phpkg/pkg/../dir/local_8531798949c8881a48236d693ce01cd5
My directory structure looks like this:

[zipfile]
|----[root]
|----[styles]
|----[language]
|----install.xml
|----stylesheet.xslt

Any ideas?

Cheers

User avatar
primehalo
Former Team Member
Posts: 2821
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by primehalo » Fri Sep 21, 2007 9:08 pm

I'd love to use this MOD, but I need it to mainly install MODs locally which it does seem to do yet. Also I'd love to see an uninstall feature that uses the installation instructions to uninstall (so I could uninstall a MOD without uninstalling every MOD was installed afterwards).
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
Dabroz
Registered User
Posts: 56
Joined: Sat Dec 20, 2003 3:18 pm
Location: Poland
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Fri Sep 21, 2007 9:25 pm

JBosman: this may be a good idea, I'll slightly modify the title.

nanothree: maybe the unzipping process failed? You should see if files are in directory that is stored in log. Unziping with system calls has been upgraded in dev4 versions, so it might work in future. And also, try to use unzipping with PHP (you can switch it in configuration).

primehalo: actually uninstalling (and upgrading) is very difficult without separate XML files (which is one option for MOD author), and it requires uninstalling and reinstalling MODs that overwrite some files, I have prepared colourfull graph about upgrading :D, I will post it with next release. ;) I'll try to keep this tool as compatible with MODs as possible, but this also requires some efforts from MOD authors.
http://www.phpbb2.pl - the first and the biggest Polish phpBB site.
My tools and MODs: phPKG (dev3) • User Useragent Stats
If you appreciate my work, you can donate me with PayPal.

Kojote1980
Registered User
Posts: 13
Joined: Tue Sep 04, 2007 2:39 am

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by Kojote1980 » Sat Sep 22, 2007 3:57 am

there we go... feedback is starting and ppl love your phpkg (including me). hope this gives you enough motivation to present dev4 so we can install and heavily test it :)

User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by ChALkeR » Sat Sep 22, 2007 1:45 pm

Brilliant!

It brings the linux go-to-the-control-center(package manager)-select-what-you-want(all at once)-install-and-be-happy way to phpBB, instead of windows-like go-to-google-spend-several-hours(days)-finding-each-thing-separately -spend-your-time-with-manual-installiation(separately)- and-don't-forget-to-update(separately) ;) .

But it needs some design polishing.
Why do it as one module and not split into several sub-modules? That would make navigation much easyer.

And i have a question: does it process separate modX files for styles, if included?
Last edited by ChALkeR on Sat Sep 22, 2007 1:53 pm, edited 4 times in total.
Sorry for my bad English

User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by ChALkeR » Sat Sep 22, 2007 1:47 pm

If the installiation fails (first time i had ftp not configured), it still thinks that it have installed the package.
I had to manually modify the entry in the DB.
Last edited by ChALkeR on Sat Sep 22, 2007 3:23 pm, edited 1 time in total.
Sorry for my bad English

User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by ChALkeR » Sat Sep 22, 2007 3:21 pm

Wishlist:
  • The ability to specify the list of mods (with versions) that were installed manually, so it will be possible to upgrade them.
  • The ability to apply all the installed mods to a new style(s).
Sorry for my bad English

User avatar
Dabroz
Registered User
Posts: 56
Joined: Sat Dec 20, 2003 3:18 pm
Location: Poland
Contact:

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by Dabroz » Sat Sep 22, 2007 5:18 pm

It will have separate pages in ACP in some future version. :) Processing “per-style” XML is in dev4 todo. As well as applying MODs to new styles (and new languages). The bug you are talking about is fixed in dev4 by generating “kernel panic” in such situation. However, with all basic features implemented, I will improve stability in such situations. “The ability to specify the list of mods (with versions) that were installed manually, so it will be possible to upgrade them” is a good idea I will add it.
http://www.phpbb2.pl - the first and the biggest Polish phpBB site.
My tools and MODs: phPKG (dev3) • User Useragent Stats
If you appreciate my work, you can donate me with PayPal.

JBosman
Registered User
Posts: 117
Joined: Sun Apr 30, 2006 10:01 pm
Location: The Netherlands
Contact:

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by JBosman » Sun Sep 23, 2007 9:27 am

Same problem with adding mods, with both Tar Command and trough PHP.

Code: Select all

No Zip Archive Found.
{ pL_KernelPanic }

No valid XML was found!

    * 11:25:44(3): [tar] Unpacking zipfile ./../cache/phpkg/pkg/local_7872c10a4d9dc8f9e3c0384884aa2636.zip via PHP
    * 11:25:44(3): [xml] Searching for a XML file in C:\..\..\..\xampp\htdocs\mods\phpkg\cache\phpkg\dir\local_7872c10a4d9dc8f9e3c0384884aa2636
I tried to add the ACP add user mod, that has an xml file included. Also tried 5 other mods and they all give the same problem with both settings.
With the love for all things and especialy this, figure it out!

User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by ChALkeR » Sun Sep 23, 2007 2:47 pm

Another good idea is someting simular for automated styles downloading/installing. Integrated with this mod, so all installed such way styles will get modded according to the installed mods list, and it will look somewhere for translations for the theme images (if eng are copied from *silver, then just copy from there for all languages), and if it won't find, then copy the english images in theme/images subfolders, based on the installed language list.

And a tip for automatic non-prosiver and non-subsilver styles modding: sometimes templates/overall_header.html has either the word "prosilver" or "subsilver" commented in it, it could be easily autodetected. It's the line

Code: Select all

Based on style:   prosilver
Also, it's a good idea to check the *.cfg files, example:

Code: Select all

required_template = prosilver
required_imageset = prosilver

theme = prosilver Grey
template = prosilver
imageset = prosilver
And what about allowing manual confirmation/selection for styles, for which the parent style was autodetected/not-detected?
Last edited by ChALkeR on Sun Sep 23, 2007 2:56 pm, edited 1 time in total.
Sorry for my bad English

User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by ChALkeR » Sun Sep 23, 2007 2:55 pm

*deleted double post, pressed the wrong button*
Sorry for my bad English

User avatar
Dabroz
Registered User
Posts: 56
Joined: Sat Dec 20, 2003 3:18 pm
Location: Poland
Contact:

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by Dabroz » Sun Sep 23, 2007 3:03 pm

Automated download of styles and languages is already planned. And about templates: it would be a very nice feature to insert into template config name of the base template. Styles authors should be able to put one extra line. ;)

Fo those having problems with unzipping uploaded MODs: try to install a MOD from repository and check if it works. Then let me know (although it should be fine with dev4).

Right now, I'm working on removing MODs. :)
http://www.phpbb2.pl - the first and the biggest Polish phpBB site.
My tools and MODs: phPKG (dev3) • User Useragent Stats
If you appreciate my work, you can donate me with PayPal.

User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by ChALkeR » Sun Sep 23, 2007 3:31 pm

http://www.phpbb.com/bugs/phpbb3/ticket ... t_id=14538

Another small tip: subsilver is xhtml1-transitional, prosilver is xhtml1-strict. If this would be not touched by styles authors, that are basing their work on subsilver and prosilver, it could be used for autodetection. And the basic JS functions in overall_header.html are not likely to be touched.
Sorry for my bad English

Locked

Return to “[3.0.x] MODs in Development”