Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
Welcome, Guest
Please Login or Register.    Lost Password?
cookie expiration time (2 viewing) (2) Guests
Go to bottomPost New TopicPost Reply Favoured: 0
TOPIC: cookie expiration time
#49638
cookie expiration time 9 Months, 2 Weeks ago  
Cookie expiration time is always set to 1 hr because there is a bug in mod_moopopup.php

There is a line

setcookie("tp_show_loaded", "loaded", time()+3600);

which should be:

setcookie("tp_show_loaded", "loaded", time()+$cooTime);
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
cookie expire bug- mod_moopopup.php (Visitor)

Logged Logged  
 
Reply Quote  
#49674
Re:cookie expiration time 9 Months, 2 Weeks ago Karma: 148  
great thanks for your sharing
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
ronysyz (User)
Terus Berjuang.....
Support Team
Posts: 8426
graph
User Offline Click here to see the profile of this user
Gender: Male GlobalTor.com Location: Indonesia
Logged Logged  
 
 
Reply Quote  
#52374
Re:cookie expiration time 7 Months, 1 Week ago  
Thanks for the tip!
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Ross (Visitor)

Logged Logged  
 
Reply Quote  
#56218
Re:cookie expiration time 4 Months ago  
It still doesn't help
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
user (Visitor)

Logged Logged  
 
Reply Quote  
#56567
Re:cookie expiration time 3 Months, 2 Weeks ago  
I have gone in to make this mod. But I'm still unclear is to if the time you set in the admin panel is in hrs, min or days. Can't really test until I know that.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
ddennis (Visitor)

Logged Logged  
 
Reply Quote  
#58584
Re:cookie expiration time 1 Month ago  
Since it uses PHP setcookie function, it is in seconds.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Francesco (zanardi) (Visitor)

Logged Logged  
 
Reply Quote  
Go to topPost New TopicPost Reply