Jump to content
[MUST READ] Forum Rules ×

smallhost

Senior Members
  • Posts

    85
  • Joined

Everything posted by smallhost

  1. Oh no, that shouldn't be happening! Checking on that ASAP.
  2. Thank you for replying! Let me explain what I did... I just added client login to SmallHost, thanks for your help! I'll share a public version of the source code for that later. Basically the user logins with their info and SmallHost connects to the FTP server to check if the info is correct. If it is, it creates an encoded cookie with that information. I then use the encoded cookie throughout the client panel (for example, so the users can access the control panel or file manager with a click of a button without needing to keep logging in). The client panel is now online, and I even sat up a way that users can sign in on mobile by scanning a QR code. I'm still working on making SmallHost better! Regarding making a direct login to the file manager, I did that prior to working on a better client panel. I realized that the link when you click the File Manager button on the vPanel uses an encoded version of your password. Using this tool, I decoded it and made this code (you can use it, if it's helpful)... <?php $pw = '{"t":"ftp","c":{"v":0,"p":"'.$_POST['passwd'].'"}}'; $encodePw = base64_encode($pw); header("Location: https://filemanager.ai/new/#/c/185.27.134.11/".$_POST['uname']."/".$encodePw); die(); ?> The client panel is now up and running, however I'm still working on making it better and adding new features. Thank you all for your help!
  3. Thanks for replying! I'm working on implementing the FTP login check into the site. My account got suspended for using a META redirect (got it reactivated), however using a PHP Header tag doesn't seem to result in suspension (I use this for the old login page so users can access the file manager) and I strongly recommend using PHP tags.
  4. Hello! It's SmallHost here and I'm working on making a client panel. The concept is basically this... User signs in with their SmallHost account SmallHost attempts to connect to the account via FTP to check the login If the connection works, assign a cookie with their encoded login info to access the client panel and redirect them to the client panel. If not, show an error. However, I think I ran into an issue with this. I had my account suspended for using a redirect tag and I don't want to deal with contacting support again (thanks for reactivating my account, iFastNet!). I also don't know if using FTP connections would work as I tried using file_get_contents once and that didn't work. Has anyone created a client panel, and how did they do it? How can I make a client panel? Thank you and have a great day!
  5. Hello! The registration form for my host isn't working. When you enter all the information, I get an error like "Your browser does not appear to be sending refer information this is a requirement". I also realized that the captcha code is always 61499 (even when I reload the page). This worked perfectly fine before, I think I broke it when I changed the page code at some point to remove the site category and language (I added it back to see if that would fix it, it did not). The signup form was working completely fine in this browser before I changed the code. Does anyone have a default signup form template so I can just remake the form? Thanks! The signup page: https://smallhost.us.to/register.php
  6. Note: I said "or" in the title because I was going to write how you can point to any MOFH-based host as an addon or parked domain but clicked send too soon! Sorry! Follow steps 1-3 in my previous message Choose NS as type, enter the subdomain you want (sub.domainyou.clicked) and set the destination to ns1.yourhosting.provider, replacing yourhosting.provider with the URL of your MOFH-based host (for SmallHost users, this is ns1.smallhost.us.to). Save it. Repeat step 2 for ns2.yourhosting.provider, replacing yourhosting.provider with the URL of your MOFH-based host (for SmallHost users, this is ns2.smallhost.us.to). Save it. Login to the control panel. (For SmallHost users, click here, enter your login information and click Control Panel.) Click Addon Domains or Aliases (Parked Domains), depending on what you want to set it as. Enter the subdomain. If you chose parked domain, click where you want to park it. Hope that helps!
  7. Hello, owner of SmallHost here, and in this tutorial I will tell you how to get a free subdomain for your web host using FreeDNS. I use FreeDNS for SmallHost and it works! Go to https://freedns.afraid.org/signup/?plan=starter to sign up for a FreeDNS account. Email [email protected] to ask for NS record access for your account. (NS records can potentially be abused, so FreeDNS wants to make sure you're human. I had my account for about a month before emailing them, and I got access in about 1-2 days time.) Go to https://freedns.afraid.org/domain/registry and click a domain you like. (I chose us.to, but there's hundreds of options!) Choose NS as type, enter the subdomain you want (sub.domainyou.clicked) and set the destination to ns1.byet.org. Save it. Repeat step 4 for ns2.byet.org, ns3.byet.org and ns4.byet.org. Register on MOFH at https://myownfreehost.net/createreseller.php with your subdomain and email There was one problem I had where my account got suspended. I emailed [email protected], and they said it was flagged by their system for "possible misuse" and they reactivated my account. That process took 1-2 days, but the guy I was emailing was really nice about it. Hope this is helpful!
×
×
  • Create New...