tagclouds tagclouds
 

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]

Main Menu

tagclouds

Started by edgarg, October 25, 2005, 12:23:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edgarg

Does anyone knows how to archieve something like this on CPG/?
f(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fen%2Fthumb%2Fa%2Fa7%2FFlickr_Tag_Cloud.gif%2F200px-Flickr_Tag_Cloud.gif&hash=e6c40a9cc539f3ac23e623bd1926751afa1976a6)

I have been looking around with no luck, it seems to me very strange thas has not been asked or discussed (probably I am not using the right name for it)

is the tipical tagcloud, (I dunno if there is another name for it) so you can show which tags (or keywords) are the most popular

cheers

Joachim Müller

coppermine doesn't come with a fully-flavoured referer check (at least the current stable cpg1.3.5 doesn't), however there are advanced stats recorded in cpg1.4.x (as an opt-in admin option). However, it currently only shows the referers by pic, not for the whole gallery. Coppermine is not a stats software, and for most users this feature would be overkill.

edgarg

I have found in here http://www.hitormiss.org/projects/weighted-categories

It is a mod for wordpress,

I do not know any php but could this be implemented in?

Quote
12-22-2004 12:00pm Update 1.2: I changed the code yet again to fix a problem with division by 0 errors.

   1. First, save this file as weighted_categories.php in your plug-ins directory.

   2. Activate the plug-in from Plugins Admin panel.

   3. In the file where you want to display the weighted list of categories (ex. archives.php), insert the following code:

      < ? $minfont = 10; $maxfont = 40; $fontunit = "pt"; $category_ids_to_exclude = "1,25"; weighted_categories($minfont, $maxfont, $fontunit, $category_ids_to_exclude); ?>

   4. Adjust the minimum and maximum font sizes of the weighted category list with $minfont and $maxfont. You can specify the measuring units of the fonts (ex. pt, px, em, etc) with $fontunit. If there are any categories you want to exclude from the list, put the category IDs in $category_ids_to_exclude.

   5. I added the following code to my CSS definitions to style the weighted list of categories:

#categories { border: 1px solid #ccc; background-color: #eee;
   padding: 10px; width: 500px; text-align: justify; }
#categories a { text-decoration: none; }


jbutler

I came a cross a little hack there to:

QuoteUsing one of the other search pages I now have http://absoblogginlutely.net/gallery/search2.php which not only has 1 entry per word but also sizes the words ala flickr tags depending on the number of times it has been used. The code is messy and hacked but works.

http://forum.coppermine-gallery.net/index.php?topic=24023.msg110455#msg110455

It's not exactly what you're looking for, but it's close.  The ranking/sizing of the keywords/tags is based on their frequency, not their popularity.

Jeremy Butler
www.ScreenSite.org
www.TVCrit.com
www.AllThingsAcoustic.org