Drupal 5 port

SpatnyNick - January 22, 2007 - 10:46
Project:shazamgallery
Version:HEAD
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, I have proted the shazamgallery to Drupal 5. Maybe it could help someone so I am sending it in the attachment.

Important - I also made another change in the source - users can add images only to their own galleries. In original module fork they can add images to any gallery. If you want to switch it back to the original behavior, I think you can just comment line #411

  $whereuser = (($uid == '' || $uid==1)?'':'AND n.uid = %d ');   // admin uid 1 can add images to any gallery

Regards, B.

AttachmentSize
shazamgallery-5.0.x-0.1.tar.gz11.84 KB

#1

SpatnyNick - January 22, 2007 - 13:47

I have already found an error in the version above, there is a corrected version...

AttachmentSize
shazamgallery-5.0.x-0.2.tar.gz 11.94 KB

#2

Bevan - February 21, 2007 - 20:51

is someone porting this module for d5? Or isit being left behind?

#3

yngens - August 13, 2007 - 00:20

I have installed shazamgallery-5.0.x-0.2.tar.gz in #1, created new gallery and uploaded a picture. Everything works fine except that it shows three thumbnails of the same picture uploaded. If I add to the gallery from previously (before installation of shazamgallery) uploaded pictures then it shows correctly only thumbnail. Three thumbnails error relates only to newly uploaded pictures.

 
 

Drupal is a registered trademark of Dries Buytaert.