- November 17, 2023, 08:26:26 pm
- Welcome, Guest
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]
2
cpg1.5 themes (visuals) / Re: Enter Album in Slideshow? Remove Album stats from album list?
« by Αndré on December 05, 2012, 10:44:15 am »...... 05, 2012, 04:19:24 am I'd really like those album stats to go away. Copy the sections $ ............ and $template_album_list_cat to your theme's theme.php file if they ............ . Then, find the line Code: [Select] <p class="album_stat">{ALB_INFOS}<br />{ALB_HITS}</p>and remove ............ to make it so that when a visitor clicks on the album thumb/link, they go straight into the slideshow ............ that album. Copy the functions theme_display_album_list ............ theme_display_album_list_cat to your theme's theme.php file if they ............ : [Select] '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",and replace it with Code: [ ............ ] '{ALB_LINK_TGT}' => "displayimage.php?album={$album['aid']}&pid=".mysql_result(cpg_db_query(" ............ FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = {$album['aid']} LIMIT 1"), 0)."&slideshow=5000",in both ......
3
cpg1.5 miscellaneous / MOVED: Move Album file stats below thumbnail
« by Αndré on March 01, 2012, 03:22:33 pm »4
cpg1.5 install / MOVED: How to hide Album stats like "last updated" and "how often viewed"?
« by Αndré on January 04, 2012, 04:08:31 pm »...... guys, how can i move <p class="album_stat"> under the album thumbnail? It's on the ......
6
cpg1.5 themes (visuals) / Move Album file stats below thumbnail
« by ridersonline on February 23, 2012, 04:50:53 am »7
cpg1.5 themes (visuals) / How to hide Album stats like "last updated" and "how often viewed"?
« by Berliner Bloggade on December 28, 2011, 10:36:44 pm »...... only the counter for the number of pics in the albums. The other statistics should not be shown on the ......
8
cpg1.4 themes/skins/templates / Album stats & page number size?
« by p4poetic on January 24, 2007, 11:37:47 pm »...... first link, you can see at the bottom is says '61 albums on 6 page(s)" with the page numbers on the far ............ link, instead there is no description of how many albums and pages there are, and the page numbers are ......
9
cpg1.4 themes/skins/templates / Remove album stats
« by raingear on February 29, 2008, 03:04:14 pm »...... , want to remove the albumstats from my gallery. Searched the forum but did' ......
10
cpg1.3 Miscellaneous / Stats on Album Listing: 'n_pictures', 'last_added' <- HOW TO ADD 'views'?
« by frankyknife on July 26, 2004, 05:22:07 am »...... Stats on Album Listing: 'n_pictures', 'last_added' <- ............ ? Hi! how can i add the number of views for every album (as statistics)? it would be a very nice and ............ in languagefile.php there stands only: $lang_list_albums = array( 'n_pictures' => '%s pictures', ' ............ ' ); i would like to add something like that: 'album_views' => '%s x visited', ...how and where i ............ index.php, so it would calculate and show the 'album_views' ? thx for your help! franky PS: i'm NOT ......
11
cpg1.4 miscellaneous / Change Last Pictures script to show Last Albums
« by squid2 on September 12, 2010, 09:17:10 pm »...... fine, but is there a way to make it show the last albums? (just like "lastalb") My main.php has " ............ , 1=yes $cpg_include_link = 1; // link points to album or single pic? 0=album, 1=single pic if($show == ' ............ you need? $cpg_how_many = 8; // specify certain album, "" = all $cgp_limit_album = ""; // get random ............ ,$cpg_link_singlepic,$cpg_how_many,$cgp_limit_album,$cpg_random); } else { echo('This gallery ............ --------------------------- // // Based on PHPhotoalbum by Henning Støverud <henning@stoverud.com> ............ // // http://www.stoverud.com/PHPhotoalbum/ // // -------- ............ this $cpg_lang_random = "Random pic of this album"; //translate this $cpg_lang_keywords = "Keywords" ............ $CONFIG['TABLE_PREFIX']."pictures"; $CONFIG['TABLE_ALBUMS'] = $CONFIG['TABLE_PREFIX']." ............ '"); $row = mysql_fetch_row($result); $cpg_album_path=$row[1]; $result = mysql_query("SELECT * ............ $function == 'latestMember' || $function == 'boardStats') { $function(); // Execute Function ............ cpg_thumb() { GLOBAL $CONFIG,$url_of_cpg_dir,$cpg_album_path,$cpg_mini_pfx,$cpg_thumbcols,$ ............ =$arg_list[2];} if ($numargs > 3) {$cgp_limit_album=$arg_list[3];} if ($numargs > 4) {$cpg_random=$ ............ ']} WHERE approved='YES' "; if($cgp_limit_album!=""){$query.="AND aid='".$cgp_limit_album."'";} $ ............ $return_value.=$url_of_cpg_dir."thumbnails.php?album=".$row['aid']; } $return_value.="\" "; ............ $return_value.= "<img src=\"".$url_of_cpg_dir.$cpg_album_path.$row['filepath'].$cpg_mini_pfx.$row[' ............ ,1,1,"",0);} } function cpg_total_pics($cgp_limit_album) { GLOBAL $CONFIG,$cpg_decimal_point,$ ............ ']} WHERE approved = 'YES'"; if($cgp_limit_album!=""){$query.=" AND aid='".$cgp_limit_album."'";} ............ ); } function cpg_total_views($cgp_limit_album) { GLOBAL $CONFIG,$cpg_decimal_point,$ ............ ['TABLE_PICTURES']} WHERE 1"; if($cgp_limit_album!=""){$query.=" AND aid='".$cgp_limit_album."'";} ............ ); } function cpg_hit_ratio($cgp_limit_album) { GLOBAL $CONFIG; //get stats $result= ............ (((str_replace(".", "", cpg_total_views($cgp_limit_album))/str_replace(".", "", cpg_total_pics($ ............ ); //$cpg_ratio_string=cpg_total_views($cgp_limit_album).'|'.cpg_total_pics($cgp_limit_album).'|'.$ ............ ; } function cpg_stat_string($cgp_limit_album) { GLOBAL $url_of_cpg_dir,$cpg_lang_pics,$ ............ ='[<a href="'.$url_of_cpg_dir.'thumbnails.php?album='.$cgp_limit_album.'"><b>'; $cpg_stat_string.= ............ ($cgp_limit_album); $cpg_stat_string.='</b> ' . $cpg_lang_pics . '</ ............ >, <a href="'.$url_of_cpg_dir.'thumbnails.php?album=topn&cat=-'.$cgp_limit_album.'"><b>'; $ ............ .=cpg_total_views($cgp_limit_album); $cpg_stat_string.='</b> ' . $cpg_lang_views . '< ............ -Faktor: Wie oft sind die Bilder dieses Albums durchschnittlich angeklickt worden, im Vergleich ............ gesamten Galerie?">SF: '.cpg_hit_ratio($cgp_limit_album).'</span>'; $cpg_stat_string.=']'; return $ ............ ; } function cpg_total_albums() { GLOBAL $CONFIG,$cpg_decimal_point,$ ............ ; $query = "SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} WHERE 1"; $result = mysql_query($query); $ ............ = mysql_fetch_array($result); $album_count = $nbEnr[0]; mysql_free_result($result); ............ return number_format($album_count,0,$cpg_decimal_point,$ ............ =\"search_cpg\"> <input type=\"hidden\" name=\"album\" value=\"search\" /> <input type=\"hidden\" name= ............ >"; return $cpg_search_string; } function cpg_stats() { GLOBAL $CONFIG; $result=mysql_query("SELECT ............ (*) FROM {$CONFIG['TABLE_ALBUMS']} WHERE 1"); $nbEnr = mysql_fetch_array($result) ............ ; $album_count = $nbEnr[0]; mysql_free_result($result); $ ............ ($result); print $picture_count.", ".$album_count.", ".$cat_count.", ".$comment_count.", ".$ ......
12
cpg1.5 miscellaneous / Safe to remove detailed stats from database?
« by idosha on October 16, 2016, 06:31:34 am »...... of our galleries had detailed stats enabled and of course now we have an insanely ............ safe for me to delete all lines in the table _hit_stats ? I would like to keep the "album view" stats if ......
13
cpg1.4.x Français (French) / Plugins, Mods et Outils pour Coppermine
« by François Keller on July 23, 2006, 10:17:36 am »...... 1.4.*]FileMove:Réorganisation du répertoire albums [Plugin 1.4.*]Calendar:Recherche des images placé ............ , avec panneau de configuration [Plugin 1.4.*]Album_SummaryUne autre manière de visualiser les titres ............ images d'un album [Plugin 1.4.*]Backup: Sauvegarde et restauration ............ ouvrant une page avec l'index des photos de l'album. Prévisualisation de l'image dans une popup [ ............ 1.4.*] Online Stats:Ajout d'un bloc affichant les statistiques des ............ en ligne sur votre galerie [Plugin 1.4.*] Stats:Ajout d'un bouton ouvrant une page avec les ............ en une fois pour l'ensemble des images d'un album [Plugin 1.4.*] Contact:Ajout d'un bouton au menu ............ (texte images etc...) pour chaque catégorie,album, photo... [Plugin 1.4.x] HighSlide v2.0 : Ouvrez ............ : http://www.frappr.com/copperminephotogallery STATS du Forum : http://forum.coppermine-gallery.net/ ......
14
cpg1.5 miscellaneous / Re: automatic batch add - all?
« by jessalken on October 30, 2017, 10:51:16 am »...... in the same place with the same names, and the stats are all still there - thank goodness. But I'm ............ automatically - rather than re add each album manually one by one (this could take a very long ............ photos) Please can someone help me. (I added one album called 'Captain Morgan Black Ad Screencaps' to ......
15
cpg1.5 themes (visuals) / Hide these pages from the public: thumbnails.php?album=topn
« by Badegakk on January 15, 2016, 07:03:46 pm »...... either way anyone can add this: thumbnails.php?album=topn to the end of any url.com/gallery/ and be ............ which I would like to keep private. This includes Album list, last uploads, last comments, most viewed, ............ rated. I have the stats private which is why I would also like to keep ......
16
cpg1.4 miscellaneous / When disabeling query that fetch album stats i loose all the "album thumbnails"
« by dke on July 17, 2006, 03:17:07 pm »...... , a.keyword" . " FROM {$CONFIG['TABLE_ALBUMS']} AS a " . " LEFT JOIN {$CONFIG[' ............ .approved = 'YES' ". "WHERE a.aid IN $album_set" . "GROUP BY a.aid"; $alb_stats_q = ............ ($sql); $alb_stats = cpg_db_fetch_rowset($alb_stats_q); ............ ($alb_stats_q); in index.php, but now i notice that all my ............ for my albums are gone, and if i try modify the album and ............ page) but keep the code that is required for the album thumbnails to work (static or last upload dosnt ......
17
cpg1.5 upgrading / Image View Count Reset after upgrade
« by liten on September 05, 2011, 06:12:11 pm »...... been reset to 0. For example the pictures in this album http://lnx.gerryscorner.it/cpg133/thumbnails.php? ............ before the upgrade. Is there a way to get the stats information from that back into the upgraded ......
18
cpg1.3 Miscellaneous / Re: Add stats next to album description
« by Stramm on November 06, 2005, 05:00:37 pm »...... want to have a table a table with three cells (album pic on the left, description in the mid and stats ............ the right) in theme.php find $template_album_list modify the part between <!-- BEGIN ............ --> and <!-- END album_cell --> to your ......
19
Announcements / Maintenance release cpg1.4.12 (security issue) - upgrade mandatory
« by Joachim Müller on July 02, 2007, 06:07:13 pm »...... } 2007-06-30 Fixed multiple password protected albums bug {Abbas} 2007-06-28 Release of cpg1.4.11 { ............ SQL injection was possible with array indices of album password cookie {Abbas} 2007-03-30 Renamed ............ . {Donnoman} 2006-11-09 Fixed display of hit stats link on displayimage {Nibbler} 2006-11-09 Added ......
20
Feature requests / Example website w/ album and thumbnail descriptions under thumbnails
« by artistsinhawaii on August 22, 2005, 07:39:36 am »...... 'd like to see an option to place the category or album descriptions and captions under their respective ............ so. It would also be nice to move the number of albums or pages in an album stats further in from the ............ currently the default: // HTML template for the album list if (!isset($template_album_list_cat)) //{ ............ } $template_album_list_cat = <<<EOT <!-- BEGIN c_stat_row --> ............ "> <!-- END c_header --> <!-- BEGIN c_album_cell --> <td class="thumbnails_frames" ............ <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span> </td> ............ <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a> </ ............ {ALB_DESC} <p class="album_stat">{ALB_INFOS}</p> </td> ............ </tr> </table> </td> <!-- END c_album_cell --> <!-- BEGIN c_empty_cell --> <td ............ modification for all three views, Category list, album list, and thumbnail. Now I can get four images ......
...... .folkphotography.com/coppermine/displayimage.php?album=6&pos=4 DO i have to alter the HTML templates ............ previous + next link in the other nav bar with my album names in it (where the stats once were) ... Home ......
22
cpg1.4 themes/skins/templates / Category Stats Question
« by GeekyGirl on April 20, 2008, 05:28:12 am »...... into many subcategories. I don't really have any albums under the main categories so on my home page, it ............ like I only have 1 album and 1 picture under each category. I know that ............ ideas: 1. On the main page, don't show any album and picture stats but show them on the next ............ main page, show a total number of subcategories/albums and pictures contained within the entire ......
...... application. On the homepage of the gallery some stats are being shown.. Gallery stats they are refered ............ . They show how many pictures within how many albums, with how many comments and how many views. I ............ like to see the same stats but per Album. So If a user has selected to go to ............ specific album, it would be nice if one could see the stats for ............ album. Maybe there already is a workaround available, ......
...... files menu. When users log in to the coppermine album. GauGau has one topic that handles the vote stats ............ do not wanna know where the user has been on the album just that he/she has logged in and i can see the ......
25
cpg1.4 miscellaneous / How many pictures and albums per user group
« by AWJunkies on January 16, 2006, 02:37:49 am »...... would like the code to be able to display group stats like: album count, picture count, users, average ............ few. It is also used for other users to see there stats compared to others. ......
26
cpg1.4 miscellaneous / Modifying the stats pages
« by Fudgemaster on March 04, 2006, 06:00:56 pm »...... have made the stats.php described in http://forum.coppermine-gallery. ............ buttons. ( http://www.partanen.net/gallery -> stats button ) and have removed the original stats ............ . Now what I now am missing, is that this new stats is a overall stats of the whole gallery as the ............ ones were of the category/album You were currently browsing. How do I make the ............ stats act the same way, I like it more for having all ............ stats on one page unlike the original having "one page" ............ one kind of stats. Thank You in advance Gallery is 1.4.3 with ......
27
cpg1.4 miscellaneous / Show stats from modyfalb.php in index.php
« by amadeus on September 22, 2006, 02:24:45 pm »...... , how i can show the stats on album reset (picture hits) display in ......
...... .php?request=http%3A%2F%2Fi10.photobucket.com%2Falbums%2Fa131%2FMiraLourdes%2Fgal%2Fgallery1.jpg&hash= ............ to simplify everything. How do I remove the stats circled in the image? Do I need to edit the theme. ......
29
cpg1.2 PHPnuke/Postnuke Support / Album List Stats
« by All_Racing on July 01, 2004, 12:17:50 pm »...... (or just flat make it this way) the 'total' stats for top level categories to be EVERYTHING under ............ I use categories inside categories before using albums and the top level (albums list) shows 0 albums, ............ even though deeper under that category is indeed albums & photos. I'd like the top level categories to ............ the TOTAL albums and photos of EVERYTHING under it, category, ............ to this... Main Page -Members Rides (category) 0 albums, 0 pics. (click link) Members Rides (category) - ............ 's Rides (category) 2 albums, 47 pictures. -Member2's Rides (category) 2 ............ (the first visible link) show "Members Rides 4 albums, 65 pictures." The way it is now, most of my ............ photos (because every top level category says 0 albums, 0 pictures) when the stats block says there are ......
30
cpg1.5 themes (visuals) / Re: Hide album visits
« by Jeff Bailey on October 25, 2013, 02:26:46 am »...... for album stats. http://forum.coppermine-gallery.net/index. ............ , 2012, 10:44:15 am Copy the sections $template_album_list and $template_album_list_cat to your theme's ............ . Then, find the line Code: [Select] <p class="album_stat">{ALB_INFOS}<br />{ALB_HITS}</p>and remove ......
Search results for: album stats