Results 1 to 16 of 16

Thread: guestbook time
      
   

  1. #1
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Default guestbook time

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

  2. #2
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Smile Re: guestbook time

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

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  4. #4
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Default Re: guestbook time

    HI
    How do I enter the code

  5. #5
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Default Re: guestbook time

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

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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

    http://www.php.net/manual/en/timezones.europe.php

    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!


  7. #7
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Default Re: guestbook time

    HI
    Thanks

  8. #8
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  9. #9
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Red face 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!

  10. #10
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  11. #11
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Wink Re: guestbook time

    Hello
    The time will fail in 10 minutes short why?

  12. #12
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  13. #13
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Default Re: guestbook time

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

  14. #14
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Default 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

  15. #15
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


  16. #16
    Karpa is offline Sergeant
    Join Date
    Dec 2008
    Location
    Kristianstad Sweden
    Posts
    23

    Default Re: guestbook time

    hello
    Yes, I will do this
    by the way thanks for your help
    Pelle http://karpa.se/clubb.php

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49