Been messing with the script... Been messing with the script...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Been messing with the script...

Started by kaitou, December 19, 2003, 05:51:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kaitou

so figured i'd show off what i have so far  :)

http://www.animegalleries.net

I'm basicaly modifying the water_drop skin there, but had to change the main page display drasticaly, because I wanted to leave some albums there, but the default way was taking too much time to load and was taking up too much space. Also lots of other tiny hacks behind the scenes, all listboxes now have "category - albumname" and are alphabeticaly sorted (makes it *much* easier for batch add, upload, and the like) Also all categories on the main page are forced into alphabetical order, except for the member galleries one, thats pushed to the bottom, with an hr on top of it, and a different icon. Thats mainly because I was/am lazy and didn't want to manually move them into that order.  :D
going to be doing a ton more hacking, but meanwhile, how does it look?
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.tuxedomask.com%2Fsig%2Fsigbox.jpg&hash=d98299f3d3b57801c99775a9c024ab72773b5108)

Joachim Müller

great theming, nice implemenation as far as I can see.
I'd go for one thumbnail column less, ass the current layout isn't displayed properly with 1024*768 (horizontal scroll bar). Also, the page loads painfully slow, although I'm on a broadband connection - this leads to 2 conclusions: either you're self-hosted or you're located in asia (my ISP has backbone probs with asian domains...).

I'd really love to see you share some of your hacks (e.g. cat/alb dropdowns) - could you (just some "replace x by y" commands will do)?

Thanks

GauGau

kaitou

heh ty..
actualy the hosting is neither, it's in texas, but our bw gets capped at random times, slowing things down. Also the generation of two columns is visible, which it probly shouldn't be, but thats because coppermine prints things out as they are skinned, instead of caching it till a section is done, then printing it.
The cat/album dropdown bit is doable, i just have to check all the places where i had to edit it :)
I switched from 4images, which had horrid forum integration, but i liked it's overall main layout, so I figured i'd get something of that nature, and while i am at it, fix the things that annoyed me with the 4images layout as well.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.tuxedomask.com%2Fsig%2Fsigbox.jpg&hash=d98299f3d3b57801c99775a9c024ab72773b5108)

kpratte

QuoteAlso lots of other tiny hacks behind the scenes, all listboxes now have "category - albumname" and are alphabeticaly sorted (makes it *much* easier for batch add, upload, and the like)

Sounds like what I did to searchnew.php

I changed one line:
        $result = db_query("SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM {$CONFIG['TABLE_ALBUMS']} as a, {$CONFIG['TABLE_CATEGORIES']} as c WHERE a.category = c.cid AND a.category < '" . FIRST_USER_CAT . "' ORDER BY category");

It was ORDER BY title.  Since all albums are grouped by category it only made sense to change the order, plus it was way easier to find albums. ;)

I also added a hack to the display_dir_tree to ignore the Frontpage extension crap..  
if (is_dir($CONFIG['fullpath'] . $folder . $file) && $file != "." && $file != ".." && $file != "_vti_cnf")

- Ken

Casper

Very nice, but I agree with gaugau.  It would look better with the 'columns in thumbnail page' reduced to 4, as with 5 the page is too wide for lower screen size settings. :wink:
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here