• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Add-on Install & Upgrade

Add-on Install & Upgrade 1.4.2

No permission to download

ArnyVee

Well-known member
#5
Oh, I understand Chris. But, it's especially wonderful for those folks who are newer to file structure/directories and often have questions related to that. :)

Always thought that xF should have this sort of method of upgrading/installing add-ons similar to how Wordpress does it.
 

Chris D

XenForo developer
Staff member
#6
Yeah I suggested it to KAM a while ago.

I will also invite them to optimise the code and design and include it in the core. I'm sure they could write it themselves a million times better, but the invitation is there :)
 

gldtn

Well-known member
#7
Like the idea. I'm sure developers would jump on this as they have been with TMS!

Do you plan on providing an Uninstall as well? Would be nice to be able to uninstall and remove the add-on contents from the server ;)
 

Luxus

Well-known member
#8
Burning board is doing this for more than 4 years, so I always have been wondering why with other scripts people always have to upload files via FTP rather than just upload a zip/tar.gz package and let an installer do the rest. This is an incredible add-on and I highly suggest such auto-installer for XenForo 2.0.
 

principia

Well-known member
#9
Burning board is doing this for more than 4 years, so I always have been wondering why with other scripts people always have to upload files via FTP rather than just upload a zip/tar.gz package and let an installer do the rest. This is an incredible add-on and I highly suggest such auto-installer for XenForo 2.0.
SMF has it also.
 

DRE

Well-known member
#10
Can you add an 'delete installed files from directory' uninstaller function to this too?

Can you do an automatic style installer and upgrader too?
 

Chris D

XenForo developer
Staff member
#12
Super stuff, gonna try it out now :).

One question, does/can it check that an addon adheres to the file structure?
You might notice this is currently version 0.1. I normally begin my add-ons at 1.0.

The reason for the much lower version number is because I'd technically still class this as a beta. There is some basic error checking - but it's not fantastic. One error you might see is "Cannot find upload folder". This would suggest that the structure either doesn't have an upload folder or the upload folder is in another subdirectory.

There may even be the possibility of really ugly PHP errors. All of this will improve over time with feedback from you fine people :)

Let me know how you get on with it.
 

Chris D

XenForo developer
Staff member
#13
Can you add an 'delete installed files from directory' uninstaller function to this too?

Can you do an automatic style installer and upgrader too?
The "delete installed files" issue is a bit contentious. I did some testing with this and unfortunately you tend to get permissions errors - at least I did in Windows, my test box. Maybe it would work on Linux. Just not tested it yet.

It would certainly be useful.

So my upcoming features list will include Styles and Uninstaller.
 

CFodder

Well-known member
#14
You might notice this is currently version 0.1. I normally begin my add-ons at 1.0.

The reason for the much lower version number is because I'd technically still class this as a beta. There is some basic error checking - but it's not fantastic. One error you might see is "Cannot find upload folder". This would suggest that the structure either doesn't have an upload folder or the upload folder is in another subdirectory.

There may even be the possibility of really ugly PHP errors. All of this will improve over time with feedback from you fine people :)

Let me know how you get on with it.
I did come across the error you mentioned, it was due to the addon developer having the upload folder in caps lol, just changed it to lower case in the zip and everything worked just fine :).

Great addon, takes me back to the days when we just started and used SMF ...*sniff, starting to get all teary-eyed now, gotta go ...
 

DRE

Well-known member
#19
The "delete installed files" issue is a bit contentious. I did some testing with this and unfortunately you tend to get permissions errors - at least I did in Windows, my test box. Maybe it would work on Linux. Just not tested it yet.

It would certainly be useful.

So my upcoming features list will include Styles and Uninstaller.
YAAAAY so this addon would already work on a local installation right? stupid question i know.