Problem with warnings YSE v2.2 PRE7 by kp380lv
Welcome
I have a problem with warnings, if i give someone a warning, the system will be immediately removed, does not respect the deadline for which was a warning data. When checking in the database, it is a warning to 1 January 1970. Sorry for my english THX for any help. |
problem is with global.php
|
In global.php has nothing related to the date or warnings. Maybe You think in function_global.php, but i dont now where exactly.
Thanks for answer. |
sorry yeah i want say functions-global.php
Replace - function get_elapsed_time($ts) { with this Code:
|
THX, thats working great. In database i have good time warning, but in user profile it shows 01.01.1970 and 0 days to end of warning.
How can i fix this? |
It's a bug in cleanup.php, pretty simple too, it is because the db is using unixtime, and the cleanup.php thinks it's using normal datetime.
So in cleanup.php you just have to make it look for unixtime instead. It's the same issue with auto-promotion of Power Users. |
Quote:
i have install this versiyon: YunaScatari.v2.0.PRE7.RC2.1 sorry for my english i translate the complet site on turkish here my site divx.boardu.org |
with a changed footer like that i dont think anyone would want to help you as you have removed all credits to the people who did alot of work here
|
Quote:
I have the andiko style there you can seen Yuna Pre7 RC v02.1 - BolaMN Ceviri by Divx! Theme designed by ANDiTKO under the site and at Tbdev style and gray style is this Yuna Pre7 RC v02.1 - BolaMN Ceviri by Divx! there Ceviri = translate thank you for help sorry for my english |
All times are GMT +2. The time now is 22:56. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.