guestbook time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Karpa
    Sergeant

    • Dec 2008
    • 23

    guestbook time

    Hi
    How can we who live outside the U.S. (Sweden) set the time in the guestbook?
  • Karpa
    Sergeant

    • Dec 2008
    • 23

    #2
    Re: guestbook time

    Nobody???????????????????????

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: guestbook time

      I'm sorry, the GB code had no timezone settings.
      I can show you how to add it, but you will need to manually edit the code . Please also note that you will need to do it again if you ever publish the guestbook page again using the option "Publish All Files"
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      • Karpa
        Sergeant

        • Dec 2008
        • 23

        #4
        Re: guestbook time

        HI
        How do I enter the code

        Comment

        • Karpa
          Sergeant

          • Dec 2008
          • 23

          #5
          Re: guestbook time

          HI
          I would like you to help me with this as soon as possible
          Thanks in advance

          Comment

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            #6
            Re: guestbook time

            Download from the site the file guestbook.php (or whatever you have named it)

            You will see the following code:

            <?php
            session_start();
            define('ADMIN_PASS', 'password');
            function strip_chars($var)
            {
            return trim(str_replace("\r", NULL, htmlspecialchars(stripslashes(strip_tags($var)), ENT_QUOTES)));
            }
            function bbcode($var)
            etc .....................


            Add the following:

            <?php
            session_start();
            $timezone = "Europe/Rome";
            if (function_exists(date_default_timezone_set)) {
            date_default_timezone_set($timezone);
            }
            else{
            putenv ($timezone);
            mktime(0,0,0,1,1,1970);
            }

            define('ADMIN_PASS', 'password');
            function strip_chars($var)
            {
            return trim(str_replace("\r", NULL, htmlspecialchars(stripslashes(strip_tags($var)), ENT_QUOTES)));
            }
            function bbcode($var)
            etc .........................

            Upload the amended file on the server.

            Replace "Europe/Rome" with whatever your timezone is.
            For a list of valid Europe timezones, please consult

            PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


            If you ever republish the gusetbook using the option "Publish All files", you will need to reapeat the procedure OR save the file and just upload it again (that is, IF you haven't changed any setting which will ammend the file anyway)
            Navaldesign
            Logger Lite: Low Cost, Customizable, multifeatured Login script
            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

            Comment

            • Karpa
              Sergeant

              • Dec 2008
              • 23

              #7
              Re: guestbook time

              HI
              Thanks

              Comment

              • navaldesign
                General & Forum Moderator

                • Oct 2005
                • 12080

                #8
                Re: guestbook time

                Please read the post again as the code and instructions have been changed.
                Navaldesign
                Logger Lite: Low Cost, Customizable, multifeatured Login script
                Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                Comment

                • Karpa
                  Sergeant

                  • Dec 2008
                  • 23

                  #9
                  Re: guestbook time

                  HI
                  I fail to do as you say
                  (syntax error)
                  can you help me more with this
                  I can send the file to you if you want?
                  if I know where I should send it!

                  Comment

                  • navaldesign
                    General & Forum Moderator

                    • Oct 2005
                    • 12080

                    #10
                    Re: guestbook time

                    You can send it through my site contact form (I have upload file fields).
                    Navaldesign
                    Logger Lite: Low Cost, Customizable, multifeatured Login script
                    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                    Comment

                    • Karpa
                      Sergeant

                      • Dec 2008
                      • 23

                      #11
                      Re: guestbook time

                      Hello
                      The time will fail in 10 minutes short why?

                      Comment

                      • navaldesign
                        General & Forum Moderator

                        • Oct 2005
                        • 12080

                        #12
                        Re: guestbook time

                        Sorry but Idon't understand. What do you mean by "The time will fail in 10 minutes short "???
                        Navaldesign
                        Logger Lite: Low Cost, Customizable, multifeatured Login script
                        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                        Comment

                        • Karpa
                          Sergeant

                          • Dec 2008
                          • 23

                          #13
                          Re: guestbook time

                          hi
                          sorry
                          clock is 10 minutes slow
                          look here http://karpa.se/clubb.php

                          Comment

                          • Karpa
                            Sergeant

                            • Dec 2008
                            • 23

                            #14
                            Re: guestbook time

                            Hello
                            Can you change, so you are able to select the time zone in BlueVoda
                            There are many time zones in the world.
                            It might be too much work for you?
                            Otherwise, BlueVoda is a great tool for us
                            Thank you very much

                            Comment

                            • navaldesign
                              General & Forum Moderator

                              • Oct 2005
                              • 12080

                              #15
                              Re: guestbook time

                              This seems to be a difference on the server clock, so probably there is no easy solution for this (other than submit a support ticket and ask VH staff to see if they can fix it)

                              I'm not part of the development team, so I can't add the timezone selection inside BV, but you can post in the "Wish List" forum.
                              Navaldesign
                              Logger Lite: Low Cost, Customizable, multifeatured Login script
                              Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                              DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                              Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                              Comment

                              Working...
                              X