ispCP - Board - Support
OrderPanel improved - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: OrderPanel improved (/thread-11653.html)

Pages: 1 2 3 4


OrderPanel improved - fulltilt - 09-14-2010 03:19 AM

- Browser language detection (DE, EN, FR) expandable
- Domain Options (new domain, transfer or sub-domain)
- Country field as a dropdown
- State no longer mandatory
- Payment field inserted (banktransfer, Paypal)
- Calculations accounting period fixed monthly, quarterly or annually
- Email Details to customer and reseller information with payment type and domain information
- No more activation link in the email

Use at your own risk - backup old files before overwrite!
Tested with ISPCP 1.0.5 / 1.0.6

1. log in as a Reseller > Manage Orders > Custom Order System
in header replace this line:
Code:
<link href="../themes/blue/css/ispcp_orderpanel.css" rel="stylesheet" type="text/css" />
with:
Code:
<link href="../themes/omega_original/css/ispcp_orderpanel.css" rel="stylesheet" type="text/css" />

in Hosting Plans at the bottom set the billing period as follows:
1 month = 1
3 months = 3
12 months = 12
in the summary > monthly, quarterly, annually

2. unzip package and replace the contents of each folder / override
/var/www/ispcp/gui/orderpanel
and
/var/www/ispcp/gui/themes/omega_original/orderpanel
and
/var/www/ispcp/gui/themes/omega_original/css
and
/var/www/ispcp/gui/include/reseller-functions.php

3. GUI: set new permissions
Code:
/var/www/ispcp/engine/setup/set-gui-permissions.sh

4. Login as a Reseller > Orders
Customize "Order E-mail" delete activation link - copy & paste this instead:
Code:
Order Details:
{DATE} from {NAME} - IP: {IP}

Domain: {DOMAIN} ({TRANSFER})
Package: {PACK}
Setup: {SETUP}
{PRICE} {VALUE} - {PERIOD} Month/s

Payment: {PAYMENT}

{FIRM}
{NAME}
{STREET1} {STREET2}
{ZIP} {CITY}
{COUNTRY} {STATE}
{PHONE}
e-Mail: {MAIL}
in /var/www/ispcp/gui/orderpane/domains.html
it can still be adjusted for terms & conditions ...

[Image: 97206793.th.jpg]
[Image: 70563432.th.jpg]
[Image: 75180199.th.jpg]
[Image: 85114645.th.jpg]
[Image: 90830952.th.jpg]

last update: 16.09.2010 (14:38)


RE: OrderPanel improved - fulltilt - 09-16-2010 03:21 AM

das ganze sollte jetzt besser funktionieren ...
NEU:
- orderdetails an reseller und kunde
sieht dann so aus:
Code:
Order Details:
15.09.2010 - 17:43 from Bob Mustermann - IP: 192.168.0.1

Domain: mytest.tld (Domain Transfer)
Package: Business Package Premium A
Setup: 0.00
82.8 EUR - 12 Month/s

Payment: Banktransfer

Bob Mustermann
Musterstr. 666
9999 MumuCity
Germany
0049 989899898
e-Mail: ewew@mumu.tld

hats mal jemand getestet und funktionierts bei euch?


RE: OrderPanel improved - daynight - 09-16-2010 05:46 PM

Bis jetzt scheint alles wunderbar zu funktioniert Smile

Danke! Smile


RE: OrderPanel improved - Kayaro - 09-16-2010 08:29 PM

Leider funktioniert es doch nicht so gut wie ich erhofft habe:

1.
Notice: Undefined index: domainname in /var/www/ispcp/gui/orderpanel/checkout.php on line 48
Notice: Undefined variable: user_id in /var/www/ispcp/gui/include/reseller-functions.php on line 1565
Diese fehlermeldung gibt es bei der Bestellung
2. Bei der Bestellung einer Subdomain, kann ich die Domain welche ich bestellen möchte, nicht eingeben da keine abfrage danach verlangt wird.
3. Notice: Undefined index: user_def_lang in /var/www/ispcp/gui/reseller/index.php on line 338 taucht bei der allgemeinen Übersicht im Resellerbereich auf.


RE: OrderPanel improved - fulltilt - 09-16-2010 08:55 PM

(09-16-2010 08:29 PM)Kayaro Wrote:  2. Bei der Bestellung einer Subdomain, kann ich die Domain welche ich bestellen möchte, nicht eingeben da keine abfrage danach verlangt wird.

die Provider Subdomains kann man sich auch nicht aussuchen Big Grin
stimmt die URL für das OrderPanel (richtige reseller ID)?

was die anderen fehlermeldungen betrifft:
- wird die aktuelle ISPCP Version verwendet
- wirklich alle dateien dahin kopiert wo sie hingehören
- eventl. einen der Schritte oben vergessen
- aktuelle orderpanel.zip von heute verwendet


RE: OrderPanel improved - fulltilt - 09-16-2010 10:41 PM

Kayaro hatte Recht mit den 2 Fehler Meldungen
Habe eben erst das neue OP online getestet ...
also Sorry und Danke für den Hinweis Wink

gefixte Version oben downloaden

(09-16-2010 08:29 PM)Kayaro Wrote:  Leider funktioniert es doch nicht so gut wie ich erhofft habe:

1.
Notice: Undefined index: domainname in /var/www/ispcp/gui/orderpanel/checkout.php on line 48
Notice: Undefined variable: user_id in /var/www/ispcp/gui/include/reseller-functions.php on line 1565
Diese fehlermeldung gibt es bei der Bestellung
2. Bei der Bestellung einer Subdomain, kann ich die Domain welche ich bestellen möchte, nicht eingeben da keine abfrage danach verlangt wird.
3. Notice: Undefined index: user_def_lang in /var/www/ispcp/gui/reseller/index.php on line 338 taucht bei der allgemeinen Übersicht im Resellerbereich auf.



RE: OrderPanel improved - anarking - 09-28-2010 02:11 AM

dankeshun!

this is a very nice addition. I think if I get time, I will work to incorporate domain name availability checking into the system, or at least a link like Pricing so one can check if the domain is available in a popup window. there are scripts already made that check whois, so I will see how it might be possible to integrate this. having a complete ordering system is all that is missing from ISPCP. your work has made it much better, so danke!


RE: [UPGRADE]OrderPanel improved - fulltilt - 09-28-2010 02:40 AM

thnx Wink
the problem is that some tlds still make problems and also a captcha should in this form ... many NICs block the IP if made further checks after inquiry (to fast)


RE: [UPGRADE]OrderPanel improved - BeNe - 09-28-2010 05:32 PM

Moved to Enhancements.
It´s a better place than in the German Corner.

Thanks @fulltilt for it!

Greez BeNe


RE: OrderPanel improved - RatS - 09-28-2010 07:44 PM

Fulltilt, when you get it done, please buzz me, so we can add the improvement to the source. Your are additionally welcome to work as part of the team, buzz me, if you want to.