Alphabetical user gallery browsing Alphabetical user gallery browsing
 

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

Alphabetical user gallery browsing

Started by Nibbler, December 26, 2005, 04:28:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nibbler

This is a plugin version of Alphabetical user galleries search. It adds a 'Jump by username' box to the user galleries page which allows you to filter user galleries by the first letter of their owner's username.

Demo: http://www.ic-gallery.com/index.php?cat=1

This plugin is bridge independent.

Konstantinos

there is no read me with install instructions though

Joachim Müller

unzip the content of the zip into coppermine's plugin folder (preserving the folder structure), go to coppermine's plugin manager (link in config), click on the "i" button to install it. As with all plugins.

webfairy

This is a great  little feature.  but there is just one little glitch.

when a viewer goes to a letter where t here is NO gallery  the jump box is not shown and to get back you have to click the back button or the " Our Individual Visitors Gallery" line.   

can not the jump box be displayed even when there is no gallery for that Letter?


Quote from: Nibbler on December 26, 2005, 04:28:34 PM
This is a plugin version of Alphabetical user galleries search. It adds a 'Jump by username' box to the user galleries page which allows you to filter user galleries by the first letter of their owner's username.

Demo: http://www.ic-gallery.com/index.php?cat=1

This plugin is bridge independent.

cgc0202

Quote from: Nibbler on December 26, 2005, 04:28:34 PM
This is a plugin version of Alphabetical user galleries search. It adds a 'Jump by username' box to the user galleries page which allows you to filter user galleries by the first letter of their owner's username.

Demo: http://www.ic-gallery.com/index.php?cat=1

This plugin is bridge independent.

Hi Nibbler,

I am looking for something like this, not for users but a general alphabetical index for all albums -- irrespective of the category listing of the albums.  In fact, I wish to have both of them, but as separate A-Z index.

cgc0202

Joachim Müller

please do not clutter a plugin contribution thread with requests for other plugins

T.Gauck

Schwuppp und 30 Warnmeldungen weniger. Getestet mit FF und IE.

old
function makejumpbox(){
               starttable('100%', 'Jump by username: (klick)', 26);
          echo '<tr>';
              foreach (range('A', 'Z') as $letter){
                 echo '<td width="'.(100/26).'%" align="center"><font style="font-weight: bold;"><a href="index.php?cat=1&letter='.$letter.'"> '.$letter.' </a></font></td>';
              }
         echo '</tr>';
             endtable();
}



new
function makejumpbox() {
      starttable('100%', 'Jump by username: (klick)', 26);
      ?>
      <tr>
        <?php foreach (range('A''Z') as $letter) :?>
          <td style="width:4%; text-align:center; font-weight:bold;">
             <a href="index.php?cat=1&amp;letter=<?php echo $letter ?>">
                         <?php echo $letter ?>
                       </a>
          </td>
        <?php endforeach; ?>
      </tr>
      <?php
      endtable
();
   }   





fangweile

Really great and facilitate user album sorting.
How about if the username starts with a number?
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

melwinnie

This is a terrific mod to coppermine and one I believe should be standard.

Nibbler if you would be so kind could you tell me how to fix one problem with this mod. The range for selecting the user galleries to browse is Uppercase sensitive A to Z this therefore when I click on M for expample it doesn't show the user galleries for members with lower case letters, which mine just happened to be.

you can try this on my gallery at www.missesbeehaven.com/gallery/

Shouldnt this search for either upper or lower case letters, I would be so greatful if you could share how to fix this please.

Cheers
Melanie