Jump to content
[MUST READ] Forum Rules ×

freehost44u

Senior Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by freehost44u

  1. Thank you.

    Can you please be so kind to tell me, which part to add to the Panel advert display?

    if I need the advertise to be on the top right, like the screenshot of my first post, what shall I put in the "Right advert for mysite.com"?

    I tried many times, and I don't know how to do it.

    On 12/6/2021 at 12:23 PM, BastelPichi2 said:

    Hey,

    Heres the best method to just steal from InfinityFree. Heres modified version of hans' code, i just copy-pasted the needed part, you have to change it to your needs of course:

    
    
    function buildAdSenseAdPanel(e) {
        let t = document.createElement("div");
        return (
            t.setAttribute("class", "panel panel-widget"),
            (t.innerHTML =
                '<div class="panel-heading widget-heading">Advertisement</div><div class="panel-body"><div class="col-xs-12 col-md-12 text-center"><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-7281184434591176" data-ad-slot="3301284143" data-ad-format="auto"></ins></div></div>'),
            t
        );
    }
    function insertStatsPanelAds() {
        let e = document.getElementById("stats"),
            t = buildAdSenseAdPanel(3855191122);
        e.insertBefore(t, e.firstChild), (adsbygoogle = window.adsbygoogle || []).push({});
        let n = buildAdSenseAdPanel(3472047746);
        e.appendChild(n), (adsbygoogle = window.adsbygoogle || []).push({});
    }
    document.addEventListener("DOMContentLoaded", function () {
        insertStatsPanelAds()
    });

     

     

  2. On 10/4/2021 at 10:47 PM, Santiago said:

    The truth is I am testing it in the Hosting that I had sent you, but I am going to test it in SantyHost, I made some modification in the installer and now you only need to edit the language file

    Hello, Santiago, I want to install the multi-language version. Would you please tell me how to do it? what do I need to do for editing the language file.

  3. I already add one in the lower right side (through Your Adverts -> Control Panel Advert Control), does anyone know how to add an ad unit on the top right? Like the screenshot I provide?

    rFNLjog.thumb.png.da79a8ddde34eed37af758f57278ffc6.png

    I used the following insertAdjacentHTML  in the "advert" section
     

    <script type="text/javascript">
    var d1 = document.getElementById('one');
    d1.insertAdjacentHTML('afterend', '<div id="two">two</div>');
    </script>

    But it won't function, only show its text form.

  4. @Shen Wei I installed, santydesignscr's multi version. and received verification code from email, however, after filling in the code, it won't take me anywhere. I am not able to create account, and I also notice that there is no email address showing up, the red crossed email address.

     

    I installed mahtab2003's version. put all the files from src folder into the root folder. the email address will show up like the santyhost.ga(the screenshot below), yet I face the same issue as I mentioned above, after filling in the verification code, nothing happens afterwards. I won't be able to create account neither.

    截屏2021-11-23 下午3.58.49.png

     

    By the way, at one time, I see somewhere told me to update the IP at the reseller account.

    However, after reinstalled many times, it doesn't show up any more. How do I find the right IP address to fill in the following place: API Allowed IP Address (main IP of server you are connecting from)

     

    1547342443_2021-11-234_09_12.png.5e6b642fcd390aab1079be01a7ebce50.png

     

     

  5. 16 hours ago, Shen Wei said:

    Maybe you are using incorrect port 

    Yes. Thanks very much for your help. The port need to be 587, and not 465, regardless of using SMTP service provider, right? I see another discussion about this on Github.

     

    Would you and @Santiago please help me this? I have issue with register an account. On the following screeshot. After registration, it says, "Something went's wrong!". I did not receive any email, however,  I can see the subdomain registered in my VP reseller.

    I added the following code in handler/index.php page, to get the error code.
     

    ini_set('display_errors', 1);
    
    ini_set('display_startup_errors', 1);
    
    error_reporting(E_ALL);

    It is right?

     

    By the way, Does the plan need to be one word, say, "free" instead "best_plan"?

    What does the green box of 2 servers mean? It's not clickable though.

    Sorry for asking you two so many questions.

     

    Thank BastelPichi2 and TinkerMan for your suggestion. :D

     

    截屏2021-11-22 下午4.02.21.png

    截屏2021-11-22 下午4.10.25.png

  6. Thanks @Shen Wei and @Santiago for your contribution on this wonderful work. Just a thought, this discussion has many posts and it is kinda of difficult to check all the messages, to see if you guys has answered some of the questions before.

    Santiago

    Would it be possible to add a list with links to your post in the first post? For example, the latest updates, future features... which will be much appreciated. I suppose this will save other much time as well.

    By the way, my question is how to get the Chinese version running?

    Also, I see @santiago are also running flarum at your site. I got a few flarum site running myself. If you need any help. Please give me a shout. Would you please add more details on github?

×
×
  • Create New...