Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Removal of Information  (Read 4465 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.022 seconds with 21 queries.