
freedom internet
Retired Forum Member-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by freedom internet
-
Ok thanks. I'll stop looking for a solution then. Does seem a little silly to be sending a reminder message for an invoice that is less than 24 hours old. Perhaps this is something the WHMCS developers should look at. I'm sure the coding wouldn't be difficult as it would just be a matter of adjusting the query to ignore invoices created in the last 24 hours.
-
Hoping someone can help please? I generated an invoice for a customer this morning prior to the daily cron schedule running. I deliberately set the due date for 1 week to allow the customer time to pay plus it coincides with a renewal on a non-hosting product that we had sold them. Unfortunately, the automation settings also dictate that a payment renewal reminder is sent automatically 7 days prior to the invoice due date. As a result, the customer not only received the invoice this morning as soon as I had generated it but also they received a payment reminder less than half an hour later for the same invoice. Is there anyway to prevent payment reminders being sent for invoices generated the same day or the day before? I only want to do this automatically on some invoices for a customer.
-
custom fields on WHMCS Mobile template
freedom internet replied to freedom internet's topic in Developer Corner
I'm really needing some help with the above issue please. Most customers are able to provide us with a land line and mobile phone number which we can see through the Admin area of WHMCS however when trying to access this information via WHMCS Mobile, its not currently possible. We just want to add the custom field for the mobile number to the customer details template on WHMCS Mobile so that we can see this information. Any help would be appreciated. -
This may have been asked elsewhere however I haven't found it yet. I'm just hoping someone has a solution that will save me a whole lot of time and make WHMCS Mobile a lot more usable for us. We are trying to put a custom field into the Clients Summary template for WHMCS Mobile. The field is to show the mobile number for clients who have both a phone and mobile number in their profile. When we are in the office it is easy to access the profile information to see the mobile number however as I recently found with a client who was out of their office and needed to meet me to collect some equipment, I was unable to pick-up their mobile number via WHMCS Mobile. The custom field name is called "Mobile Number". The code we are trying to use to call it into the template is {$client_custom_field_mobilenumber} At present all we seem to get is blank. Any help would be appreciated. We have looked at the Wiki which is how we came up with the code above.
-
I had a similar problem which I was able to overcome by copying some form input code from the clientarea login page. I couldn't believe how easy it was once I realised what was missing. Looking at your code, I think you'll find that you are missing a hidden input for "token". Once I had added this line of code to my form, the error went away and logins were accepted. I went one step further by checking for the uid session and if it existed, substituted the form for the customers name and a couple of buttons to the client area and log off.
-
XP Pro SP3 with IE7 What was weird was having to decompress a file with no logical file extension after it was extracted from the main compressed file. I've seen compressed files inside of other compressed files before but not like this and the fact that it took trying 4 different decompression programs to finally get the files out to a readable format was even weirder. Personally I prefer the KISS principle. It makes things so much easier to understand and work out.
-
7-zip finally got it open but talk about complicated. XP, WinZip and WinRAR couldn't open it beyond a single file. I've never had to open a compressed file in that way ever and I've worked in the IT business since 1993 and with computers since 1983. Anyways, I've rebuilt the compressed file to make it easier for anyone else in the same boat. Whats more, it actually is small enough to attach here. distributeitsync.zip
-
Not sure if the zip file from the first post has changed but we are unable to open the compressed file and see the files inside. Is it possible to repost this link to a working file or is it accessibe from another location?
-
Not sure if this is a bug or not but I have the following issue. A customer has placed an order and elected to pay by bank transfer. As the order was placed late at night, there was no chance that the payment would have arrived in our bank account the next day. Our policy is to not activate domain names and hosting accounts until we have confirmation from the customer that payment has been made (either clear funds in our account or a confirmation of funds transfer with our bank details on it). We also have a policy of issuing a follow-up invoice 45 days before the due date for renewals to give customers a chance to organise funds and make alternative arrangements if needed such as a different payment method other than credit card. This has wokred quite well for us and also deals with customers who insist on having their invoice by the end of the month prior to the due date. Where our problem occurs, is that a new customer placing and order and paying by bank transfer chooses to pay monthly. The WHMCS system is issuing the invoice for the order as per normal. The next day, a cron job automatically creates an invoice for the month following the initial month. As a result, the customer ends up with 2 invoices both looking very similar however their order has not yet been accepted and therefore the 2nd invoice should not be created until this event happens. Does anyone know how to get around this or experienced a similar issue? Any help would be grateful as I'm trying to eliminate all possible reasons for customer confusion.
-
Wouldn't it be easy to just have the branded link set so that search engines don't index / follow these? I'm one of those using the branded license and don't have an issue with the brand being at the bottom but if it is causing a problem for it being listed on Google, a simple change to the code to prevent indexing would seem like a good will gesture in the interests of security.
-
Hi! This is a great contrib! I made some modifications that might be useful. First one is simlpe - I use Plesk and as such needed to change the port number and column label accordingly. The next one was to replace the use of the IP address when checking each service with the domain name. I've also added ALT tags for each of the status markers because at one point I screwed up while swapping the position around on a couple of them and had a status marker sitting off to the side with no clue as to what it was for. The final one was to add a status for web mail in case I decide not to provide this service or the service goes down for some reason. Code: {if $loggedin} <table width="100%" class="clientareatable" align="center" cellspacing="1"> <tr class="clientareatableheading"> <td>{$LANG.servername}</td> <td>Hosting</td> <td>Plesk</td> <td>HTTP</td> <td>FTP</td> <td>POP3</td> <td>SMTP</td> <td>WebMail</td> </tr> <tr> {php} $query1 = "SELECT * FROM tblservers ORDER BY name"; $result1 = mysql_query($query1); while ($row1 = mysql_fetch_array($result1)) { $serverid = $row1['id']; $servername = $row1['name']; $host = $row1['ipaddress']; $hosteddomains=""; $query2 = "SELECT * FROM tblhosting WHERE userid='".$_SESSION["uid"]."' AND domainstatus='Active' AND server='".$serverid."'"; $result2 = mysql_query($query2); while ($row2 = mysql_fetch_array($result2)) { $hosteddomain = $row2['domain']; $hosteddomains.=$hosteddomain."<br>"; } if ($hosteddomains) { $hosteddomains=substr($hosteddomains,0,-4); if ($host) { //Plesk $port = 8443; $fp = fsockopen($hosteddomains,$port,$errno,$errstr,10); if(!$fp) { echo "<tr class=\"clientareatableactive\">"; echo "<td><b>".$servername."</b> </td>"; echo "<td>" .$hosteddomains."</td>"; echo "<td><img src=\"images/statusfailed.gif\" alt=\"Plesk\"></td>"; }else{ echo "<tr class=\"clientareatableactive\">"; echo "<td>".$servername." </td>"; echo "<td>" .$hosteddomains."</td>"; echo "<td><img src=\"images/statusok.gif\" alt=\"Plesk\"></td>"; fclose($fp); } //HTTP $port = 80; $fp = fsockopen($hosteddomains,$port,$errno,$errstr,10); if(!$fp) { echo "<td><img src=\"images/statusfailed.gif\" alt=\"HTTP\"></td>"; } else{ echo "<td><img src=\"images/statusok.gif\" alt=\"HTTP\"></td>"; fclose($fp); } //FTP $port = 21; $fp = fsockopen('ftp.'.$hosteddomains,$port,$errno,$errstr,10); if(!$fp) { echo "<td><img src=\"images/statusfailed.gif\" alt=\"FTP\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\" alt=\"FTP\"></td>"; fclose($fp); } //POP3 $port = 110; $fp = fsockopen('mail.'.$hosteddomains,$port,$errno,$errstr,10); if(!$fp) { echo "<td><img src=\"images/statusfailed.gif\" alt=\"POP3\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\" alt=\"POP3\"></td>"; fclose($fp); } //SMTP $port = 25; $fp = fsockopen('mail.'.$hosteddomains,$port,$errno,$errstr,10); if(!$fp) { echo "<td><img src=\"imagesfailed.gif\" alt=\"SMTP\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\" alt=\"SMTP\"></td>"; fclose($fp); } $this->assign('serverid',$serverid); $this->assign('servername',$servername); //WEBMAIL $port = 80; $fp = fsockopen('webmail.'.$hosteddomains,$port,$errno,$errstr,10); if(!$fp) { echo "<td><img src=\"images/statusfailed.gif\" alt=\"WebMail\"></td>"; }else{ echo "<td><img src=\"images/statusok.gif\" alt=\"WebMail\"></td>"; fclose($fp); } {/php} {php} echo "</td></tr>"; } else { echo "<tr class=\"clientareatableactive\">"; echo "<td>".$servername."</td>"; echo "<td>" .$hosteddomains."</td>"; echo "<td colspan=\"5\"><strong><font color=\"#AAAAAA\">Not Monitored Here</font></strong></td>"; }}} {/php} </table> {else} <p>{$LANG.loginintrotext}</p> <form action="dologin.php?goto=serverstatus" method="post"> <table align="center"> <tr><td align="right">{$LANG.loginemail}:</td><td><input type="text" name="username" size="40" value="{$username}"></td></tr> <tr><td align="right">{$LANG.loginpassword}:</td><td><input type="password" name="password" size="25" value="{$password}"></td></tr> </table> <p align="center"><input type="submit" value="{$LANG.loginbutton}"><br><input type="checkbox" name="rememberme"{$rememberme}> {$LANG.loginrememberme}</p> </form> <p><b>{$LANG.loginforgotten}</B> <a href="passwordreminder.php">{$LANG.loginforgotteninstructions}</a>.</p> {/if} One thing that has stumped me and I'm not sure if anyone else will see this or not is that the status of WebMail will alternate between being available and not available even though the service is available without issue.