Jump to content
[MUST READ] Forum Rules ×

Anyx

Senior Members
  • Posts

    1058
  • Joined

  • Last visited

Everything posted by Anyx

  1. I'm aware, xD. I wanted to edit the post with another addition, but posted it early. EDIT: It's there now.
  2. Removing elements can also be covered by Element Changer now. A slight modification in @Wizacr's code to remove groups: <script> remove = ["Email"]; function find(k, a) { for (var i=0; i < a.length; i++) { if (a[i].desc === k) { a[i] = undefined; if (a[i] === undefined) { a.splice(i, 1); } } } } remove.forEach(item => find(item, PAGE.appGroups)); </script>
  3. Strange. Your code doesn't work for me in the header area (Ungoogled Chromium), and when I place it in footer it works initially, however after going to another VistaPanel page (like Addon Domains) and returning to the main one, or hard refreshing, it doesn't work. My final version is in https://github.com/4yx/VistaPanel-SB/blob/main/index.js, and while it worked in all my tests, it is really unhelpful to people with fast connections, as it won't work if they don't wait 5 seconds before going to SiteBuilder. Currently thinking of a way to get around that (somehow detect slow connections). /* ************************************************************************** * @preserve * VistaPanel Add-on * Script Name: VistaPanel-SB * Version: 1.0 * This file is licensed under MIT Attribution ************************************************************************** */ window.addEventListener("load", function() { document.getElementsByTagName("footer")[0].innerHTML += ` <div class="modal fade" id="sb" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <h4 class="modal-title" id="myModalLabel">Entering SiteBuilder (Site.Pro</h4> </div> <div class="modal-body"> <div class="alert alert-warning" role="alert"> <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <span class="sr-only">Recommened:</span> Upgrade to Premium Hosting for more features,more faster! </div> <form method="POST" action="https://buildall.onrender.com/main"> <label for="ftp_user">FTP Username:</label><br> <input class="form-control" type="text" id="ftp_user" name="ftp_user" ><br> <label for="ftp_password">FTP Password:</label><br> <input class="form-control" type="text" id="ftp_password" name="ftp_password" ><br><br> <label for="domain">Domain Name:</label><br> <input class="form-control" type="text" id="domain" name="domain"><br> <label for="ftp_host">FTP Host:</label><br> <input class="form-control" type="text" id="ftp_host" name="ftp_host" ><br><br> <label for="builder_upload">Domain Directroy (Example: subdomain.web.net/htdocs/):</label><br> <input class="form-control" type="text" id="builder_upload" name="builder_upload" ><br><br> <input type="submit" value="Go!" class="btn btn-primary"> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div> ` setTimeout(function() { var a = document.getElementById("icon-sitereptile") a.setAttribute("data-toggle", "modal"); a.setAttribute("data-target", "#sb"); a.setAttribute("href", "#sb"); var b = document.getElementById("item_sitereptile") b.setAttribute("data-toggle", "modal"); b.setAttribute("data-target", "#sb"); b.setAttribute("href", "#sb"); b.setAttribute("ng-href","#sb"); }, 5000); });
  4. If I'm not mistaken however, window.load, like DOMContentLoaded, doesn't exactly fire correctly, that is, it can fire while vPanel is still showing the "loading..." message and the groups have not been loaded from PAGE.appGroups. I wrapped the entire code around a DOMContentLoaded event, but I'll try using window.load and see if it works better. Thanks for the suggestion! EDIT: While I was correct in window.load firing before the elements are fully loaded, it did so much later than DOMContentLoaded in my test, which allows for a maximum 5 second delay in modifying the element. This is really useful. After some more tests I was able to verify this, which is nice. The only issue now is what to do with people with fast connections.
  5. Adding a 1000ms delay did the trick for me, not sure if it will work on every vPanel though. Let me test something else and I'll make a PR when ready.
  6. It doesn't get modified when I load it on my panel... does it do that on yours? Could you make me a test account or something similar?
  7. I was able to fix it by loading the script asynchronously... the only issue I'm facing now is getting SiteBuilder to be actually modified.
  8. Interesting; were you able to get the script to work? Inserting it on my panel logged me out on every attempt, which is strange and shouldn't really happen, so if it worked for you is this something that's only happening to me?
  9. You'd mentioned including separate servers would be too much, so I'm not sure. Perhaps the part that was mentioned about checking the availability of the DB server itself (and not just PHPMyAdmin, although if PHPMyAdmin covers that then I don't have any suggestions, for now).
  10. You might want to update the license on your repo or the license on your notice... you mention MIT Attribution, but your repo has MIT's license. Going to test it and edit/reply with a new post.
  11. MFS Webhosting had said his goal was a little bit different, but this is more than good enough for any reseller.
  12. Given @MFS Webhosting's last visit was in 2021, my guess would be no.
  13. You're more than welcome to make a PR if you want your changes to be added to the main repo, btw I could make one, too, if you prefer that.
  14. @axon please change this, this is the only step needed for the form to appear correctly centered. Right now your forum appears to be broken, so you should probably fix that. I find that hard to believe considering your terms link to a PDF of iFastNet's terms, and your privacy policy is a txt that, once again, is iFastNet Ltd's. Of course, linking to the iFastNet terms/privacy is not bad, since they're the ones controlling the infrastructure, however as a feature suggestion I'd ask you to make an HTML page for the privacy or link to a PDF/iFastNet's site, keeping it consistent, and likewise with the terms.
  15. Best of luck with the rework, if you decide to go through with it!
  16. Maybe @Agent Death visited an older version of the site before it was updated and just thought to comment now? I don't know. Agreed, plus the signup button does not work and the redirect to iFastNet is incorrectly set up.
  17. Anyx

    Hi, hope you've been doing well!

  18. I agree, but this is a review topic after all and no one gave any reviews; @acgfut no longer seems to be active, but the post remains. You missed the whole point, that was the point of the https://bbs.501771728.xyz/cpanel.html page, making a custom login page that redirects people to the panel. I believe the main page should be on the main domain though, not the forum. It's strange how @acgfut made a custom login page and forum but kept the default MyOwnFreeHost template for the reseller site. Perhaps it was meant to be changed and is now incomplete, as the last updates on the forum seem to be from 2021.
  19. Update Hello everyone! A new major release, 2.2.0 has arrived, and with it two new scripts! The first one, Sidebar Bug Fix, fixes an issue with the sidebar not loading in pages other than the main on mobile. The second is the one I'm most excited about, and it's Element Changer! You can now modify any widget element on VistaPanel, changing it's name and/or URL! What happened to 2.1.0? That release featured the previous version of Element Changer, which was more complicated in it's set up. We decided to improve it, and a huge thanks is owed to @PlanetCloud for optimizing and making it more efficient. As always, stay safe, and thank you for using our projects!
  20. This section has been mentioned before for different reasons, but I believe it would be in your best interests to change it (again): While the storage limit is, indeed, corrected, I believe the "large files" part may be misleading, given that there is a 10MB size limit, so "large files" by definition cannot work. It could be changed to "large website" or something else, I don't have an alternative idea. Just something to consider.
  21. I was going to ask you if @Mahtab Hassanwas given the login info, nice. Also, out of curiosity @Mahtab Hassando you have a Discord? I'm in your old Discord server but I don't know if you abandoned that account, have a new one or not using Discord at all.
  22. Sorry, they don't have a support email. You should probably wait for a response to the ticket, sometimes it may take them a while to respond.
  23. Follow the instructions given in that message and make a support ticket. Support will reply to the reason as of which your account was suspended, and if they cannot reactivate it you can ask them to retrieve the contents of your account. Please make a ticket firstly though, and see what can be done. This forum cannot help you with account suspension issues. You'll need to either make a ticket via the panel, as given the option in the message you posted, or via https://support.ifastnet.com.
  24. Hello! It would be better to write in English, as it is the only language spoken in the chat and forum at the time. I assume you're attempting to upload an SSL certificate, and have already uploaded the private key. Did you get the certificate for cloud-georgios.ml? If it is a wildcard SSL it may cause an issue, though according to what's been written here before it shouldn't.
  25. Thank you! Not a huge fan of them, or Jupiter's, either, however it is what it is ¯\_(ツ)_/¯. Perhaps I could give an option to use the old icons, most of them still work correctly with the new theme but some are broken, so I'm unsure. Don't know how I'd go about implementing that, but it's something I can consider.
×
×
  • Create New...