how not displaying different statistic informations how not displaying different statistic informations
 

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

Main Menu

how not displaying different statistic informations

Started by GH, October 03, 2008, 02:19:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GH

on my site http://hoffmann07.fr/g directly on the mainpage is displayed  stat information beside the albums and also on the end of the page.
This is:

5 files, last one added on Oct 02, 2008

Album of Günter Hoffmann 

   

3 albums on 1 page(s)


8 files in 3 albums and 5 categories with 0 comments viewed 91 times



All this I don't want, I tried already to find out where it is in theme.php of cos-gal template I tried to find and outcomment it, but without succes.

Joachim Müller

Has been asked so often that it hurts. Did you search the gallery for "remove stats" or "remove statistics"?

GH

Even if I understand that it hurst, there are so many replies and there are some which result parse error after applying that its difficult to take advantage of it.

In many hours I could make disappear some informations, but not this one:

x albums on x page(s)

Where is the code for this please?

GH

ok, for me all the information I found by searching "disable statistic" was not working or old or confusing.  I made disappear all statistic information on my different pages in theme.php as followed, see outcommented lines, "......."means that I don't mention code between these lines of code:

// HTML template for thumbnails display
                           
<!-- BEGIN footer -->
        <!--<tr>
                <td colspan="6" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>-->
<!-- END footer -->


// HTML template for the album list
$template_album_list = <<<EOT

<!-- BEGIN stat_row -->
        <!--<tr>
                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>-->
<!-- END stat_row -->
<!-- BEGIN header -->
        <!--<tr class="tableb_compact">-->
<!-- BEGIN tabs -->
        <tr>
                <td colspan="{COLUMNS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                                <!--<tr>
                                       {TABS}
                                </tr>-->
                        </table>
                </td>
        </tr>
<!-- END tabs -->
................



// HTML template for the album list

$template_album_list_cat = <<<EOT

<!-- BEGIN c_stat_row -->
        <!--<tr>
                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>-->
<!-- END c_stat_row -->

.....................
<!-- BEGIN c_tabs -->
        <tr>
                <td colspan="{COLUMNS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                               <!-- <tr>
                                       {TABS}
                                </tr>-->
                        </table>
                </td>
        </tr>
<!-- END c_tabs -->
..........................
<!-- BEGIN tabs -->
        <tr>
                <td colspan="{THUMB_COLS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                              <!--  <tr>
                                       {TABS}
                                </tr>-->
                        </table>
                </td>
        </tr>
<!-- END tabs -->





I hope that I have not forgotten any item I disabled.