News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

MOD: Detailed Gallery Statistics

Started by pslawinski, November 22, 2005, 05:34:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

claude258

I downloaded the zip version this week-end for the first post of this thread. Is it the latest version?

pslawinski

No, see the one posted on: November 29, 2005, 04:43:20 AM (GMT-6)

claude258

Now that I have updated to cpg1.4.3 I would have the same request as here: 
Quote from: claude258 on December 01, 2005, 02:56:33 AM
Thanks it is working fine with cpg 1.3.5 ;D

I might have something I want to change. Can you give me a hint on how to do it? I have tried but I am not a programmer...
I would like to remove the picture views under the thumbnail in almost all sections:

Top Commenters
Most Voted on Album
Most Commented Album
Users With the Most Views
Most Voted on Users
Most Commented Users
Most Voted on Images
Most Commented Images

I would like to avoid some confusion with the album views or comments numbers (displayed lower). In fact, I would like to have it displayed as on your web site.

Thanks again for your work!

I have tried the following (in function.inc) but it remove all pictures views from all pages.

Quote from: pslawinski on December 01, 2005, 03:43:27 AM
For 1.3.X if you want to disable page views below thumbnails find the following code:

        if ($CONFIG['views_in_thumbview'] || in_array('hits',$must_have)) {
            $caption .= '<span class="thumb_title">' . sprintf($lang_get_pic_data['n_views'], $row['hits']).'</span>';
        }


Comment it out:

/*
        if ($CONFIG['views_in_thumbview'] || in_array('hits',$must_have)) {
            $caption .= '<span class="thumb_title">' . sprintf($lang_get_pic_data['n_views'], $row['hits']).'</span>';
        }
*/


Can you give me a hint?
Thanks

pslawinski

Try turning off the views in thumbnail caption setting.

lordprodigy

to re-arange the order of the categories, do can I change the placement of //Start Album Most Commented
display_thumbnails('mostcomalb', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End Album Most Commented
? Or, is there another way? Thanks.

pslawinski


lordprodigy


lordprodigy

I like this mod; and I also like the Top 10 mod too (http://coppermine-gallery.com/forum/index.php?topic=8405.0). I was wondering if someone is interested in adding the top 10 to this mod. I think it is better to have all stats on one single page. What is the general opinion on this?

Joachim Müller

I don't know the general opinion, but mine is that we should avoid thread drift, particularly on mod threads. This means: don't post questions on a mod's thread that refers to another mod. If you have modded those two mods into one, then start a new thread about your mini mod-pack. If you're not able to do so, then please don't clutter the mod threads.


Joachim Müller

your page is slow. Don't clutter it with mods that eat a lot of resources - this mod is not meant for you. Ask a proper question, don't make us hunt for any issues you have.

pelhrimak

NO, try it again. your reply is  ???

Joachim Müller

last warning before ban! I mean it >:(

pelhrimak


Joachim Müller

yes, I am. Goodbye! Review your attitude. You have 10 days during which you will not be able to post. Next ban will be permanent.

TheGamer1701

Hello,

I have applied your mod to my current installation
CPG v. 1.4.3 (probably going to upgrade to the newest version in a few days)

But I make it work.
http://www.partynation.tv/coppermine/galleryStats.php
That's the adress.
Okay, the error usually apears when the file rights aren't set properly, but I checked it twice and they are exactly what they should be.
so that can't be the problem.

Do you have any idea what this could be?
Thanks for any hint how to fix this.

pslawinski

This looks like a server error, not an error with the mod.

Joachim Müller

Quote from: TheGamer1701 on June 30, 2006, 10:11:12 AM
CPG v. 1.4.3 (probably going to upgrade to the newest version in a few days)
It's mandatory to upgrade asap! Do not delay, your gallery is vulnerable if you don't. There's little point in fiddling with mods if you have huge security gaps wide open.

TheGamer1701

Quote from: GauGau on July 05, 2006, 07:06:03 AM
It's mandatory to upgrade asap! Do not delay, your gallery is vulnerable if you don't. There's little point in fiddling with mods if you have huge security gaps wide open.

Well, I'm going to, but you really need time to do that, at least 1 or 2 hours... and that's more that I currently have.
But thanks...


Mhh... and it seems that my webserver has some toubles with files rights.
Sorry for posting here, this is definetly not a cpg or mod prob.