forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: Forgottenmem on March 18, 2011, 06:56:44 pm

Title: Removal of Information
Post by: Forgottenmem on March 18, 2011, 06:56:44 pm
Andre, can you please tell me the exact bits that need to be removed.

Im using the: Who is online? (onlinestats): v2.6
Title: Re: Removal of Information
Post by: Αndré on March 18, 2011, 11:08:01 pm
You want to remove the text in the red boxes, right?
Title: Re: Removal of Information
Post by: Forgottenmem on March 18, 2011, 11:17:16 pm
correct andre.
Title: Re: Removal of Information
Post by: Αndré on March 19, 2011, 12:20:54 pm
Open plugins/onlinestats/codebase.php and delete/comment out
Code: [Select]
        if ($num_users == 1) {
            printf($lang_plugin_php['onlinestats_we_have_reg_member'], '<strong>'.$num_users.'</strong>');
        } else {
            printf($lang_plugin_php['onlinestats_we_have_reg_members'], '<strong>'.$num_users.'</strong>');
        }
        echo '.&nbsp;' . $LINEBREAK;
        printf($lang_plugin_php['onlinestats_most_recent'], '<a href="profile.php?uid='.$newest['user_id'].'">'.$newest['user_name'].'</a>');
        echo '.&nbsp;' . $LINEBREAK;
and
Code: [Select]
        echo '.&nbsp;' . $LINEBREAK;
        printf($lang_plugin_php['onlinestats_since'], $CONFIG['mod_updates_duration'], $logged_in_names);
Title: Re: Removal of Information
Post by: Forgottenmem on March 19, 2011, 03:57:00 pm
Very much appreciated Andre. Thank you for your time.