Jump to content

brasiweb

Retired Forum Member
  • Posts

    20
  • Joined

  • Last visited

About brasiweb

brasiweb's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I couldn't find $this->smtp->Hello($this->ServerHostname()); } May you please post all the while statement in your includes/class.phpmailer.php ? the one that start in // Retry while there is no connection Thanks!
  2. May you send me your msn via MP (or add me, my msn is listed on profile)?
  3. You understand $mysubs doesnt need to be changed, right? If these domains are registered to a hosting account in whmcs, then the script will catch the info from database... then try this: erase $mysubs $mysubs = array(); at end of includes/whoisservers.php, add: .ctry.biz|http://www.yoursite.com/whmcsrootdir/subwhois.php?domain=|HTTPREQUEST-available .anotherfreesub.com|http://www.yoursite.com/whmcsrootdir/subwhois.php?domain=|HTTPREQUEST-available .andasyouneed.net|http://www.yoursite.com/whmcsrootdir/subwhois.php?domain=|HTTPREQUEST-available had you tryed this way? also, is home.ctry.biz a hosting account at whmcs (and an account at whm) or just a subdmain created through cpanel?
  4. This is the problem. Subdomains aren't considered as domains when ordering, because it doesn't need to be efectively registerd through a registrar. And an important info was removed from my first post: i'm just intended to sell this because i REALLY need some money at this time, since my daughter born last month, and i'm spending cash more often and imprevisible than normal... otherwise, i NEVER will ask for cash. Then, i will post it here, and who judge I deserve can DONATE, right? Then, lets start.. 1 - Go whmcsrootfolder/includes/ and open whoisservers.php. Insert at end: .yoursubdomain.com|http://www.yoursite.com.br/<whmcsrootdir>/subwhois.php?domain=| HTTPREQUEST-available replace <whmcsrootdir> with.. well, you know.. if its instaled at your domain root, just remove /<whmcsrootdir> 2 - Copy this code below and save as subwhois.php <? // reserve your subdomains registered outside whmcs $mysubs = array ("whois.brasiweb.com", "forum.brasiweb.com", "central.brsaiweb.com", "desk.brasiweb.com"); $domain = strtolower($_REQUEST[domain]); include ("configuration.php"); @mysql_connect($db_host,$db_username,$db_password)or die("An error has occured:".mysql_error()); mysql_select_db($db_name)or die("An error has occured:".mysql_error()); $query_domain = mysql_query("SELECT * FROM tblhosting WHERE domain='$domain'")or die(mysql_error()); $query_domain_results = mysql_fetch_assoc($query_domain); ?> <html> <head><title>Search results</title></head> <body> <? if(mysql_num_rows($query_domain)!='1') { if (in_array($domain, $mysubs)) { print ("Error: $domain is a reserved subdomain"); } else { print('This domain is available'); } } else { $query_data = mysql_query("SELECT * FROM tblclients WHERE id='$query_domain_results[userid]'"); $query_data_results = mysql_fetch_assoc($query_data); $regdate = explode("-", $query_domain_results[regdate]); $reg_date = $regdate[2]."/".$regdate[1]."/".$regdate[0]; print ("Domain: $domain \r\nRegistrant: $query_data_results[firstname] $query_data_results[lastname] \r\nE-mail: "); $email = str_replace("@","[at]",$query_data_results[email]); print $email; print(" \r\nRegistered: $reg_date \r\nStatus: $query_data_results[domainstatus]"); } ?> </body> </html> 3 - upload subwhois.php to your whmcs root directory 4 - go to configuration > domain pricing and add a new domain TLD: .yoursubdomain.com Select 'None' or any registrar you doesn't use and haven't configured (you may or not charge for subdomains) Done. If you already have hosting accounts over subdomains, this will search for those, too. I'd recommend you disable built in feature for subdomains, even you don't charge for it, since customers can now order hosting selecting your subdomain in "I want Your Company register a new domain" option, the no need to the aditional "Use a free subdomain" option - this will turn your whmcs administration a bit confusing, because you will then have accounts with and without the subdomains "registered" as regular domains. Donations: brasiweb[atz]gmail.com - paypal or pagseguro (formerly brpay). Thanks
  5. Hum... Now i understand it. But i think you don't understand what i need. I just need the spaces are removed, not translate it from letter to numbers. I use XXYYYYZZZZ just to show the format i need it. Ex: (11) 5543-9876 +55 11 5543-9876 (011)55439876 etc... shoud all be turned on: 551155439876 Got it now? remove spaces, hiphens, paranthesis and plus characters, and initial zero if have... and check if it have 55 at start. If dont, automatically add it. Thanks if someone can help.
  6. Is there a way to contact you off forum (mail/msn or whatever)?
  7. Thanks, trine. But i'm a leading zero in JS... I will ask some friends if they could do it for me. Again, Thanks!! And thanks for the info I can move services through DirectI accounts, also, if you didnt read there topic again!
  8. It's a great idea, but where? Did you use JS with WHMCS already to alter any data?
  9. Hi, based on an idea from a friend I developed a way to implement multiple subdomains, and the greater: with subdomain reservation and subdomain whois lookup, with no manual interference: it brings data directly from whmcs! Just upload a file to /whmcsfolder/ and edit 1 line in a whmcs file. See it working here: http://www.brasiweb.com/central/domainchecker.php test it - reserved subdomains: whois / central / desk a "registered" subdomain: forum (in this example, only one subdomain extension is available, but you can use as much as you need) REMOVED - YOU ARE NOT ALLOWED TO SELL ADDONS HERE
  10. Hi, Matt! Here on Brazil we have the telephone number commonly inserted in a strange way, compared to EUA, with area code inside parenthesis, and a hiphen in middle number: (XX) YYYY-ZZZZ I'm having some trouble with DirectI, since they don't allow ANY alpha characters: I have to edit all customers telephone numbers frequently, to avoid interruptions in domain register automation through DirectI, and sometimes customers re-edit their phone numbers... May you do some arrangements in DirectI module functions to read the telephone field removing the spaces, parenthesis and hiphens when registering a domain? XXYYYYZZZZ are 10 characters, the max allowed by DirectI (excluding the Country Code). And, maybe, add a Country Code field also, with a pre-inserted code when registering (since a lot people here doesnt even know the existence of a code for each Country)? Thanks in advance.
  11. THANKS, THANKS, THANKS TRINE!! I dont know i can move SERVICES from an account to another, i think you was saying about the regular domain transfer, like from a registrar to another... =] It worked succesfully! Thanks!!
  12. The subdomain option gives a page reload when selected then press continue... -edit- also, no way to translate: This order form is provided in a secure environment and to help protect against fraud your current IP address (XXX.XXX.XXX.XXX) is being logged.
  13. thanks for the suggestion, but the three domains are too new to transfer i'll send a support ticket, i just need a "directiclone", don't should be hard to do :wink:
  14. Can I copy the DirectI folder and rename it? I have 2 DirectI accounts, and some clients can't edit domains info, cuz it was registered in my old account
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated