Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th January 2009, 00:35
kextra1 kextra1 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 121
Thanks: 12
Thanked 10 Times in 6 Posts
Default Traffic Quota Problem Remoting Framework 4.2.1

I recently installed the latest version of ISPConfig and upgraded the remoting framework from 4.2 to 4.2-1 beta

I use the ISPConfig Billing System v1 with the remoting framework.

The problem is the Traffic quota.

When I upgraded to remoting framework 4.2-1, when a client purchases a hosting account it sets there traffic quota at 0 instead of -1, or unlimited. Which is causing problems because they cant upload files until i change it.


Is there anything I can change in the remoting frameworks remote directory to fix this?

At least change the quota limit back to -1 easily somehow? ...until I can create a traffic button and field in the product form within the billing software.

I did notice the phone number thing was fixed.

Any advise on the traffic quota issue would be appreciated greatly. Luckily I caught it early and it only affected one client.

Thanks guys,

k
Reply With Quote
Sponsored Links
  #2  
Old 7th January 2009, 02:38
kextra1 kextra1 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 121
Thanks: 12
Thanked 10 Times in 6 Posts
 
Default Fixed

Inside of ispconfig_web.lib.php I found:
Code:
if(empty($params["web_traffic"])) $params["web_traffic"] = 0;
change that to -1 and ur all good.

make this change in:

/home/admispconfig/ispconfig/lib/classes/ispconfig_web.lib.php

I think I'll just add a checkbox and field option for on the billing software. I'm not to fast with php forms that i haven't made myself so if anyone knows of any linux based phpform editing tools i may not know about...please let me know.

I'm still new to ISPConfig .pkg Development hence my delay on other ispconfig pkg's....tell me, do u just rename the zip file to the pkg file and upload it with the update manager?

I know there's no variable docs or API command catalogue

If anyone could post some links to any ispconfig 2 and 3 developer documentation that would be bad ass!

Thanks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
autosignup remoting framework howto detailed kextra1 Tips/Tricks/Mods 21 1st March 2012 06:59
Remoting Framework dayjahone General 30 4th December 2008 05:55
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Adding a Web Remoting Framework bigger_travis General 1 13th July 2007 20:26
Quota Limits and Traffic Limits Not Working protocol Installation/Configuration 12 20th March 2007 08:56


All times are GMT +2. The time now is 19:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.