2009-01-03, 11:10 PM
Hi,
In the post: http://community.mybboard.net/thread-428...#pid292018 , I asked DragonFever a way to "pretty up" the way the date is shown in the code he gave.
The problem is that now I see in the "welcome back {user}":
Can you tell me where I can find the format of this message? I did find it at the 'global.lang.php' file, but this only has the text it self - not the two(2) commas.
I did want to add a variable to the 'functions.php' code that will tell the date format function that the calling function is the 'timeAgo' function that DragonFever wrote (and is placed at the bottom of the 'functions.php' file - read the thread). The idea was to use an 'if / else' function so that date formats that do come from the 'timeAgo' are treated differently then all other. I found that I can't do that, as the variable I wanted to use isn't a global one and so (as we/I know from code writing, every function builds it from scratch, and thus doesn't know about the one build by the other function) isn't passed between the functions.
Thanks,
Ori...
In the post: http://community.mybboard.net/thread-428...#pid292018 , I asked DragonFever a way to "pretty up" the way the date is shown in the code he gave.
The problem is that now I see in the "welcome back {user}":
Quote:Welcome back {user}, your last visit was on, , {date}Please note the two(2) commas ", , ".
Can you tell me where I can find the format of this message? I did find it at the 'global.lang.php' file, but this only has the text it self - not the two(2) commas.
I did want to add a variable to the 'functions.php' code that will tell the date format function that the calling function is the 'timeAgo' function that DragonFever wrote (and is placed at the bottom of the 'functions.php' file - read the thread). The idea was to use an 'if / else' function so that date formats that do come from the 'timeAgo' are treated differently then all other. I found that I can't do that, as the variable I wanted to use isn't a global one and so (as we/I know from code writing, every function builds it from scratch, and thus doesn't know about the one build by the other function) isn't passed between the functions.
Thanks,
Ori...