XaronBanner

Discussion in 'Web scripts' started by Marie, May 7, 2017.

?

Do you like it?

  1. YEP

    12 vote(s)
    85.7%
  2. NO

    2 vote(s)
    14.3%
  1. Fantasiak

    Fantasiak New Member

    where add file ? how starting script ?
     
  2. LetsBlade

    LetsBlade Member

  3. Fantasiak

    Fantasiak New Member

  4. Marie

    Marie Member

  5. AlexusM

    AlexusM New Member

    Yes, I use a website + hosting

    EDIT:
    Error in apikey, being that I placed the key in the place where you indicate.
    Font, they're all correct.
    I do not know why the problem still persists.
    Does the error happen because my site is https?
     
    Last edited: May 19, 2017 at 7:58 PM
  6. LetsBlade

    LetsBlade Member

    Last edited: May 19, 2017 at 7:36 PM
  7. klasskai

    klasskai New Member

    This look like shit..

    '&q='.urlencode($ip->city).';
     
  8. Marie

    Marie Member

    Install imagecreatefrompng & php functions. I using plesk web admin edition php 5.6 and nginx perfectly working.
    Screenshot: http://puu.sh/vVYSu/9dbeab27b4.jpg

    My friends get error
    [Sat May 20 17:42:16.953851 2017] [:error] [pid 7929] [client 1.1.1.1:65240] PHP Fatal error: Call to undefined function imagecreatefrompng() in /var/www/html/xaron/index.php on line 58
    before installed function fixed problem.

    sudo apt-get install php5-gd && sudo service apache2 restart

    and font errors fix;
    [Sat May 20 17:48:07.329518 2017] [:error] [pid 10044] [client 1.1.1.1:65417] PHP Warning: imagettftext(): Could not find/open font in /var/www/html/xaron/index.php on line 96

    imagettftext($resim, 17, 0, 430, 150, $beyaz, 'CaviarDreams.ttf', 'Welcome '.$clientAdYaz.'!');
    change to
    imagettftext($resim, 17, 0, 430, 150, $beyaz, './CaviarDreams.ttf', 'Welcome '.$clientAdYaz.'!');
    include ./

    Download again script: https://github.com/xaronnn/XaronBanner
     
    Last edited: May 20, 2017 at 5:12 PM
  9. Fantasiak

    Fantasiak New Member

    Everything works just because I do not show the weather? and
    How to change font color?
    How change time ? for Czech time ? and change date name not english ... ;/?
     
    Last edited: May 21, 2017 at 10:39 PM
  10. Marie

    Marie Member

    Time automated changing..
     
  11. Fantasiak

    Fantasiak New Member

    He not automated... because i see hours... (-5h...) and why not weather ? not working ? or ?
     
  12. erhanbey

    erhanbey New Member

  13. Marie

    Marie Member

    Go teamspeak3 server settings, gfx interval time set 60
     
  14. Fantasiak

    Fantasiak New Member

  15. Marie

    Marie Member

  16. Fantasiak

    Fantasiak New Member

    @Marie

    i Create token and add index.php
     
  17. Marie

    Marie Member

    Open php error log and paste it
     
  18. Fantasiak

    Fantasiak New Member

    where magic file "php error log" ? i not see...
     
  19. Marie

    Marie Member

  20. Fantasiak

    Fantasiak New Member

Share This Page