Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - www.katzen.ag

Pages: 1 2 [3] 4 5 6
31
Sounds really unfriendy. A free Mod is noththing without support...

Thanks...

32
Hallo Mawenzi,

das ist es was ich versuche Thunderstike zu erklären. Aber er möchte offensichtlich keine Korrekturen vornehmen.
Naja, werde den MOD eben wieder rausschmeissen....vieleicht hat ja an Anderer mal Lust sich dieser Sache anzunehmen...

Grüße
KatzenAG


33
Yes. I have been read the threats before. In my opinion this MOD confusing my members (and me!).
If a picture is uploaded at 23:59h and I look at 00:01h it should show "yesterday"

All my MOD's which installed are working logical... this MOD does not.
Especial in Dreamboard this is not useable...this is my opinion.

34
I have the same problem:

For example, when yesterday a Pic uploaded 21.01.2007 at 22:00h then the next day e.g 15:00h still shows "today". Ok, it's newer than 24 ours but it's not "today" it should show "yesterday" although is not older than 24 ours - isn't it?


35
Mods & Plugins (Requests & Discussions) / @ Thunderstrike
« on: January 21, 2008, 12:34:06 PM »
Yes, xx days ago is not activated. For me it's ok... 8O

36
Quote
if (!function_exists('get_universal_field_date')) {
    function get_universal_field_date($image_date) {
        global $lang, $config;
       
        $start_time = $image_date;
        $now = time();
       
        $total_secs = ($now - $start_time);
        $total_days = intval($total_secs / 86400);       
           
        // Show today image date if uploaded in same day.       
        if ($total_days == 0) {
            return str_replace(array("{uploaded_today_date}"), array(format_date($config['time_format'], $image_date)), $lang['uploaded_images_today']);
           
        // Show yesterday image (if upload yesterday).
        } elseif ($total_days == 1) {
            return str_replace(array("{uploaded_yesterday_date}", "{uploaded_yesterday_time}"), array(format_date($config['date_format'], $image_date), format_date($config['time_format'], $image_date)), $lang['uploaded_images_yesterday']);
           
        // Show after 2 days image upload date.
        } elseif ($total_days > 1) {                       
            return format_date($config['date_format'] . " " . $config['time_format'], $image_date);
               
        // Show invalid date set from image owner or admin (if set after date upload).
        } else {
            $total_days = preg_replace("/[^0-9]+/i", "", $total_days);
            return str_replace(array("{total_days}"), array($total_days), $lang['uploaded_images_near_future']);
        }
    }   
}


...and it works - live Demo:
http://www.katzen.ag/board.php

37
I made it!


Quote
if (!function_exists('get_universal_field_date')) {
    function get_universal_field_date($image_date) {
        global $lang, $config;
       
        $start_time = $image_date;
        $now = time();
       
        $total_secs = ($now - $start_time);
        $total_days = intval($total_secs / 86400);       
           
        // Show today image date if uploaded in same day.       
        if ($total_days == 0) {
            return str_replace(array("{uploaded_today_date}"), array(format_date($config['time_format'], $image_date)), $lang['uploaded_images_today']);
           
        // Show yesterday image (if upload yesterday).
        } elseif ($total_days == 1) {
            return str_replace(array("{uploaded_yesterday_date}", "{uploaded_yesterday_time}"), array(format_date($config['date_format'], $image_date), format_date($config['time_format'], $image_date)), $lang['uploaded_images_yesterday']);
           
        // Show after 2 days image upload date.
        } elseif ($total_days > 1) {                       
            return format_date($config['date_format'] . " " . $config['time_format'], $image_date);
               
        // Show invalid date set from image owner or admin (if set after date upload).
        } else {
            $total_days = preg_replace("/[^0-9]+/i", "", $total_days);
            return str_replace(array("{total_days}"), array($total_days), $lang['uploaded_images_near_future']);
        }
    }   
}

for all 1.7.1 users  :D :D :lol:

38
hmm... I have no posibility to test it on 1.7.4 at the monent.
I will try to combine your MOD without upgrate with the upgrade version, because today works in standard and yesterday works with the upgrade version.

However, thank you very much for your help.

 

39
After upgrade:

 "today"- not work
"Yesterday" - ok, work
"days ago" - not work

For me its ok when today and yesterday is working

40
Hallo thunderstrike,

as you know I added this MOD for my dreamboard.
It works fine but just "today" is shown. "yestserday" does not?!? Also in comments and images...

I checked my files two times but it seems ok, like your description...

I Use vers. 1.7.1

 

41
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: January 20, 2008, 03:39:14 PM »
I*T W*O*R*K*S

Thanks a lot! Have nice Sunday, you made my day fine...

42
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: January 20, 2008, 03:17:57 PM »
Hi thunderstrike!

I installed the MOD and it works.
But I need help to modify the

board.php:
$lastpostdate = format_date($config['date_format']." ".$config['time_format'], $board_lastpost_date);

AND

showboard.php:
$lastpost_date = format_date($config['date_format']." ".$config['time_format'], $thrlastpost_date);


I don't know how to replace it like e.g.:
echo "<td>".get_universal_field_date($comment_row['comment_date'])."</td>\n";


Any Idea??!? Thanks

43
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: January 19, 2008, 11:22:16 PM »
Thanks, I will try it to integrate it into Dreamboard.
Thanks

44
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: January 19, 2008, 07:55:31 PM »
Hello everybody!

It would be very nice if Dreamboard (board.php) shows not only the last post date xx.xx.xxx but also "today xx.xx.xxxx" and "yesterday xx.xx.xxx".
So the visitors can see faster and better which message is new.

Can anybody help?
Kann Jemand herlfen?

Bin mal gespannt :wink:


PS: here is my Board: http://www.katzen.ag/board.php


 

45
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: December 29, 2007, 11:57:45 AM »
Hi,

I have found a bug. When I delete a posting then the script makes a mistake regarding the statistik.
One deleted posting >>> the script reduce 2 postings and 2 threats in the statistic. Somethimes I have to delete spam postings and due to this error my statistic is comlpleatly wrong.

Has anybody a idea?

Hallo,

ich habe einen bug gefunden. Wenn ich einen Beitrag lösche, dann wird das in der Statistik falsch berechnet.
Einen Beitrag löschen verursacht das 2 Themen und 2 Beiträge in der Statistik reduziert werden. Da ich schon mal Spameinträge löschen muss, addieren sich diese Fehler und di Statistik ist völlig falsch.

Hat Jemad ne Idee? 8O

Hakan
 

Pages: 1 2 [3] 4 5 6