forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Nibbler on December 26, 2005, 04:28:34 pm

Title: Alphabetical user gallery browsing
Post by: Nibbler on December 26, 2005, 04:28:34 pm
This is a plugin version of Alphabetical user galleries search (http://forum.coppermine-gallery.net/index.php?topic=17334.0). 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.
Title: Re: Alphabetical user gallery browsing
Post by: Konstantinos on January 14, 2006, 08:40:02 am
there is no read me with install instructions though
Title: Re: Alphabetical user gallery browsing
Post by: Joachim Müller on January 14, 2006, 11:48:20 am
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.
Title: Re: Alphabetical user gallery browsing
Post by: webfairy on February 19, 2006, 02:07:44 pm
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?


This is a plugin version of Alphabetical user galleries search (http://forum.coppermine-gallery.net/index.php?topic=17334.0). 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.
Title: Alphabetical index of albums
Post by: cgc0202 on May 20, 2006, 07:32:54 am
This is a plugin version of Alphabetical user galleries search (http://forum.coppermine-gallery.net/index.php?topic=17334.0). 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
Title: Re: Alphabetical user gallery browsing
Post by: Joachim Müller on May 20, 2006, 10:12:11 am
please do not clutter a plugin contribution thread with requests for other plugins
Title: Re: Alphabetical user gallery browsing
Post by: T.Gauck on March 30, 2008, 09:26:09 pm
Schwuppp und 30 Warnmeldungen weniger. Getestet mit FF und IE.

old
Code: [Select]
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
Code: [Select]
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
();
   }   



Title: Re: Alphabetical user gallery browsing
Post by: fangweile on September 19, 2008, 01:01:52 pm
Really great and facilitate user album sorting.
How about if the username starts with a number?
Title: Re: Alphabetical user gallery browsing
Post by: melwinnie on January 19, 2009, 12:09:15 am
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