Page 2 of 2

Re: [FIX] event date translation in posting...

PostPosted: Sun Aug 06, 2006 2:45 pm
Author: Juppertje
exactly i have that even i tried it with D d M Y, G:i:s for the seconds but stil no result <img>



[flash=,:xq8vwzfj]http://www.mbclub.nl/forum/images/screenshots/shot1.jpg[/flash:xq8vwzfj]

[flash=,:xq8vwzfj]http://www.mbclub.nl/forum/images/screenshots/shot2.jpg[/flash:xq8vwzfj]

Re: [FIX] event date translation in posting...

PostPosted: Sun Aug 06, 2006 2:55 pm
Author: evolver
Now that's strange... <img>

What version of integraMOD are you using it on?

Re: [FIX] event date translation in posting...

PostPosted: Sun Aug 06, 2006 3:05 pm
Author: Juppertje
version 1.4.0 on phpbb 2.0.21 on mysql 5

Re: [FIX] event date translation in posting...

PostPosted: Sun Aug 06, 2006 3:17 pm
Author: evolver
"Juppertje";p="13174" wrote:version 1.4.0 on phpbb 2.0.21 on mysql 5

Then mysql5 might be the cause... <img>

Re: [FIX] event date translation in posting...

PostPosted: Sun Aug 06, 2006 3:22 pm
Author: Juppertje
then i wil wait for the final upgrade from 1.4.0 to IM 2 that is specialy written for MYSQL 5 <img>

Re: [FIX] event date translation in posting...

PostPosted: Mon Aug 07, 2006 4:17 am
Author: obiku
Did you install a different date/time MOD? It looks like your board doesn't use $board_default['default_dateformat'].

Can you, but I think that's not nessecery, take a look with phpMyAdmin at you phpbb_config table and specially at the default_dateformat value.

Re: [FIX] event date translation in posting...

PostPosted: Mon Aug 07, 2006 4:53 am
Author: Juppertje
"obiku";p="13195" wrote:Did you install a different date/time MOD? It looks like your board doesn't use $board_default['default_dateformat'].

Can you, but I think that's not nessecery, take a look with phpMyAdmin at you phpbb_config table and specially at the default_dateformat value.



hello I took al look @ phpmyadmin and fount also the file phpbb_config table but i do not know houw to vieuw this file


also i opend the file @ mysql 5 server and then i see in that file only these files:

config_name config_value
config_id 1
board_disable 0
sitename Forum to be proud of
site_desc forum for us all
cookie_name phpbb2mysql
cookie_path /
cookie_domain
cookie_secure 0
session_length 3600
allow_html 1
allow_html_tags b,i,u
allow_bbcode 1
allow_smilies 1
allow_sig 1
allow_namechange 0
allow_theme_create 0
allow_avatar_local 1
allow_avatar_remote 0
allow_avatar_upload 1
enable_confirm 0
override_user_style 1
posts_per_page 15
topics_per_page 50
hot_threshold 25
max_poll_options 10
max_sig_chars 5000
max_inbox_privmsgs 50
max_sentbox_privmsgs 10
max_savebox_privmsgs 50
board_email_sig Voordat U ons forum gaat gebruiken verzoeken wij U...


So in witch *.php file can i foundt something abouth the time stamp as you mentioned? $board_default['default_dateformat'] then i can check my php file or files for it

Re: [FIX] event date translation in posting...

PostPosted: Mon Aug 07, 2006 5:17 am
Author: obiku
OK, I start with phpMyAdmin, if you don't have a clue what phpMyadmin is or what it can do, stop here. If you do something bad, you can damage your board.

With phpMyAdmin open your forum db and click on phpbb_config.
Now you see the structure of that table. At the top you can see a browse button. After click in that you can see all config names and values. You can sort them by clicking on config_name.
Now browse down and if you dont see default_dateformat click on the next button until you find it. In the config_value collum you can see the value of default_dateformat.

Next in /includes/functions.php find:
Code: Select all
function init_userprefs($userdata)

This function starts, after a bunch of global variables, with this]         if ( $userdata['user_id'] != ANONYMOUS )         {               if ( !empty($userdata['user_lang']))             {                 $default_lang = phpbb_ltrim(basename(phpbb_rtrim($userdata['user_lang'])), "'");             }               if ( !empty($userdata['user_dateformat']) )             {                 $board_config['default_dateformat'] = $userdata['user_dateformat'];             }               if ( isset($userdata['user_timezone']) )             {                 $board_config['real_board_timezone'] = $board_config['board_timezone']; // copy real timezone for board2usertime                 $board_config['board_timezone'] = $userdata['user_timezone'];             }                 if ( isset($userdata['user_fdow']) )                 {                     $board_config['board_fdow'] = $userdata['user_fdow'];                 }         }       else     {         $default_lang = phpbb_ltrim(basename(phpbb_rtrim($board_config['default_lang'])), "'");     }  [/code]
This will determine what time format is used for every user.

Re: [FIX] event date translation in posting...

PostPosted: Mon Aug 07, 2006 5:46 am
Author: Juppertje
I did what you said and pressed browse in phpmyadmin on the file phpbb_config




[flash=,:296ruqke]http://www.mbclub.nl/forum/images/screenshots/shot3.jpg[/flash:296ruqke]

when i scroll furder down i see

[flash=,:296ruqke]http://www.mbclub.nl/forum/images/screenshots/shot4.jpg[/flash:296ruqke]


so it is writtin in myphpadmin

Re: [FIX] event date translation in posting...

PostPosted: Mon Aug 07, 2006 6:11 am
Author: obiku
OK, now check the other part of my post, the function.php.

PostPosted: Fri Mar 16, 2007 5:07 am
Author: sanji
Are the modifications - the first written in this topic - applied on 1.4.1?

I have some problems with the calendar in French, and try to check what the source could be...

sanji

Re: [FIX] event date translation in posting...

PostPosted: Thu May 01, 2008 2:14 pm
Author: Angelus
Hi,

I have also problems in 141 with the German translation. Using the fix in the first post did not help. Is there any working fix for this issue?

Greetings
Thorsten