Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Easy Import Custom Scripts?



Threaded Mode | Print  

 Easy Import Custom Scripts? (5 Replies, Read 3148 times)
cjflnyc
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hello all, I did some reading on how to make a custom package for Softaculous. I have a bunch of PHP scripts that I would love to just add to the list of scripts. But from the Documentation it all seems very complicated.

I was just wondering what is the most bare bone simple method on making a custom script package when all I need is for Softaculous to COPY the script then forward or send the user to the script setup link and then continue like a normal script where one has to go in hosting control and first create the database. Then continue with the script setup via the regular script installer.

I think this method I want would save me lots of time vs learning and struggling how to build a full blown Softaculous installs the whole software.

Could anyone be kind and provide some info or even an example? lets say a zip file called script.zip inside index.php and various html and image files and of course the /setup script folder. So yeah in essence the contents of the script zip file. And what ever string of minimum configuration files needed to make Softaculous just Copy and send user to install script. So it will import into its system as an addition script available to install to end user client?

Thanks! I know there is an example zip file but it confuses me so much! And I don't need it to do all of whats included in the example files throwing me into even more confusion on how i need to strip down the example to be applicable for me :) Thanks
IP: --   

Easy Import Custom Scripts?
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4037
Status:
Hi,

The documentation for making custom script package is available here :
http://www.softaculous.com/docs/Making_Custom_Package

However it seems you have already referred to the above documentation.

Is your script a clone of any other default package like WordPress, Joomla ?

If yes you can clone an existing package :
http://www.softaculous.com/docs/Custom_WordPress_Package

The above example is for WordPress and similarly you can clone any other existing package.

If you need any assistance in making the package let us know.

Once the package is ready you can add the package to Softaculous using the following guide :
http://www.softaculous.com/docs/Adding_Custom_Scripts

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

Easy Import Custom Scripts?
cjflnyc
Group: Member
Post Group: Newbie
Posts: 5
Status:
Thanks for the reply. No I want to add a few scripts that are not already part of Softaculous.

Some various PHP scripts like web portals guestbooks and a few others not part of Softaculous. These scripts all have their own "Setup"

So I would just like to import these scripts as is, into Softaculous and somehow tell Softaculous to just COPY the script to where the user defines in Softaculous Install page of the script. Then send user to the script setup page I assume defined in one of the package config files.

I'm just not sure how to do this with the given example. And Since I just want to copy the script files, I only assume making the package script must not be that complicated vs the cluttered example files I took a look at.

Thanks again for quick response.
IP: --   

Easy Import Custom Scripts?
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4037
Status:
Hi,

I understand your needs now.

What you need to do is simply ZIP your package and name it to SOFTNAME.zip

By SOFTNAME I mean the name of the folder which you decide to put you script it.

Upload the simple install.xml file and install.php file which will unzip the package and upload the info.xml from the example in which you need to fill in the script's information.

I have attached the install.xml and install.php

The <setuplocation> tag in install.xml is the one where you will definte the relative URL of the script's installation utility.

I am also attaching fileindex.php (which should have the list of files in the ZIP package)

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

Easy Import Custom Scripts?
lastlink
Group: Member
Post Group: Newbie
Posts: 3
Status:
I can't see any documentation anywhere, but how does softaculous decide which import scripts to include in their list. Also how do new applications/services get added. E.g. something like https://github.com/directus/directus. What would be the requirements to add a new platform to the softaculous import script list?

I noticed on http://demo.softaculous.com/index.php?act=import that you seem to pull your import scripts from 3 sources:
  • Fantastico
  • Installatron
  • cPAddons


If you don't manage your lists how do we get a platform featured elsewhere?

I also noticed in from the previous post that you may need something like an install.xml & install.php to setup a new platform. Is there documentation on this?
IP: --   

Easy Import Custom Scripts?
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4037
Status:
Hi,

We have a dedicated section for suggestions. You can suggest any new script to be added here :
https://www.softaculous.com/board/index.php?fid=2&fname=Suggestions

I have passed this script suggestion to our scripts team, they will review if this script can be added to Softaculous.

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 16, 2018, 2:38 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.199