Forum Replies Created

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter w14r

    (@w14r)

    This helped for one of three sites. Now I have to look for the differences of these sites.

    Thread Starter w14r

    (@w14r)

    Here is the reply of my co-admin:

    The little change I made is the different handling of guests and logged in users. For registered users, you can distinguish the different user_id’s although if they are coming from the same ip.
    WHERE (user_id > 0 AND user_id = %u)
    The second part of the code is aimed to the guests (user_id = 0). Unfortunately, you can’t distinguish two or more guests coming from the same ip. Therefore I only can distinguish the different ip-addresses.
    OR (user_id = 0 AND user_ip = %s)
    the last part of the sql statement (concerning timeout) is kept.

    You should remember, that I only made a quick hack. I did not check the code line by line and therefore it is possible that something else was damaged. But until now, everything works well.

    Best reguards, the co-admin.

    Thread Starter w14r

    (@w14r)

    The changes were made from my co-admin but he has no account here. I will send him the link for confirmation. As far as I can remember it was in the following lines:

    // Purge table
    		$wpdb->query( $wpdb->prepare( "
    			DELETE FROM $wpdb->useronline
    			WHERE (user_id > 0 AND user_id = %u)
                OR (user_id = 0 AND user_ip = %s)
    			OR timestamp < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL %d SECOND)
    		", $user_id, $user_ip, self::$options->timeout ) );

    Thread Starter w14r

    (@w14r)

    Hello,

    thank you for your answer. In the meantime there were some updates for the “Attitude” them (to 1.1.7) and now it also shows the gallery on the iPad. Also a second theme (Tatami) which I installed works correctly.

    So I will close the request now.

    Thread Starter w14r

    (@w14r)

    Hi.

    I got it working in IE after activating the Adobe Flash Player plugin (was missing before). But on the other side should it not be shown in java script instead it flash is missing?

    At the iPad the gallery is not yet working (as described before). But the galleries from the oQey site are shown correctly. Therefore I assume it must be a configuration problem with my installation.

    Still don’t know what to do.

Viewing 5 replies - 16 through 20 (of 20 total)