Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Removal of Information  (Read 4285 times)

0 Members and 1 Guest are viewing this topic.

Forgottenmem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Removal of Information
« 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Removal of Information
« Reply #1 on: March 18, 2011, 11:08:01 pm »

You want to remove the text in the red boxes, right?
Logged

Forgottenmem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Removal of Information
« Reply #2 on: March 18, 2011, 11:17:16 pm »

correct andre.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Removal of Information
« Reply #3 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);
Logged

Forgottenmem

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Removal of Information
« Reply #4 on: March 19, 2011, 03:57:00 pm »

Very much appreciated Andre. Thank you for your time.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.