mygallery mod

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
scraper
Posts: 30
Joined: Tue 9. Aug 2005, 08:01
Location: Belgium

mygallery mod

Post by scraper »

Hi all,
I had the gallery (created by Lukas stalder http://www.planetluc.com) working like it was described on the forums here. The only downside was that the administration needed to be done outside phpWCMS. :(

So I wrote a mod for it (it's my first so be kind) :oops:

This is what the mod (so far) can:

* You can create galleries/albums depends how you want to call it.
* You can edit galleries (change title, add/remove pictures)


I haven't finished it completely but the basics do work. :lol:
I stored the data in the database instead of using files. The pictures are stored in a folder that is writable.

To make the mod complete, I added also the RT's for it. I created 3 RT's.
The gallery has following screens in the frontend:

* Overview of the available albums
* show the thumbnails of the pictures in an album
* show a specific picture


For each of the above, I created an RT so that you can have the gallery overview lets say in the left column and the thumbnails of an album in the main area and maybe a pop-up to show a specific picture. The structure is based on a template so you can easily enhance it.

some screenshots (the mod is in Dutch, but you get the picture) get it :lol: :
Image
Image
Image

As soon as I have the documentation ready (and the files nicely arranged) I will make it available for download.
If someone is intrested ofcourse. :roll:

You can download version 1 here:
http://www.multisource.be/docs/gallery_mod_v01.zip
Last edited by scraper on Wed 16. Nov 2005, 11:55, edited 1 time in total.
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post by Peekay »

Hi scraper. Looks like you have put some hard work into this! I look forward to trying it. :) One question I have is, does the 'DEL' link in your screenshot actually delete an image from the server, or just remove it from the gallery listing in the database?
User avatar
Fulvio Romanin
Posts: 394
Joined: Thu 4. Dec 2003, 11:12
Location: Udine, Italy
Contact:

Post by Fulvio Romanin »

of course we are interested... :D
Completeness is reached through subtraction, not through addition
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Nice initiative Scraper !!! :D
Keep us informed 8)
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
scraper
Posts: 30
Joined: Tue 9. Aug 2005, 08:01
Location: Belgium

Post by scraper »

Hey Peekay,

In short, the del function removes it from the list and the server.
I haven't coded the del function of the album yet, but that wouldn't be to difficult (adding an album and pictures was a higher priority)
:wink:

I'm first finishing the configuration part, so the mod would be easier to install and configure.
I could make the mod available for download, but than with a minimum of documentation.
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

Very nice, do you have a working example that we can view?
scraper
Posts: 30
Joined: Tue 9. Aug 2005, 08:01
Location: Belgium

Post by scraper »

I'll try to have a demo site online this afternoon, so you can login and see what I already have. :)
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

:-)
have you given the mod an ID as this will need to be updated on the mod list
see this link
http://www.phpwcms.de/forum/viewtopic.php?t=1757
please PM jerome about adding this there

TriP
scraper
Posts: 30
Joined: Tue 9. Aug 2005, 08:01
Location: Belgium

Post by scraper »

Hey Trip,

I'm lucky, I gave it an ID 5 so ... 8)
ID 4 isn't the rssDB mod in my case but a banner mod that I wrote, but that is another topic. :wink:

You can see the banner in action at http://www.damongraulus.be
the gallery on this site is also the mygallery but not the module (it all started with this) :lol:
trip
Posts: 657
Joined: Tue 17. Feb 2004, 09:56
Location: Cape Town, South Africa
Contact:

Post by trip »

Nice :-)
i see Jerome has updated this
looking forward to the release

TriP
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

what is banner module?
http://www.studmed.dk Portal for doctors and medical students in Denmark
scraper
Posts: 30
Joined: Tue 9. Aug 2005, 08:01
Location: Belgium

Post by scraper »

The banner module is very simple, look at http://www.damongraulus.be
you will see the banner scrolling... with the banner module you can easily adjust the text to be displayed. That's all. Very basic but for some useful.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

scraper wrote:The banner module is very simple, look at http://www.damongraulus.be
you will see the banner scrolling... with the banner module you can easily adjust the text to be displayed. That's all. Very basic but for some useful.
ok
http://www.studmed.dk Portal for doctors and medical students in Denmark
JensZ
Posts: 136
Joined: Wed 16. Feb 2005, 12:18
Location: Stockholm, Sweden
Contact:

Post by JensZ »

Good stuff, scraper.

I've been thinking about writing a banner replacement tag that counts the number of clicks. Does the banner mod do anything of that nature?

Jens
scraper
Posts: 30
Joined: Tue 9. Aug 2005, 08:01
Location: Belgium

Post by scraper »

Hi guys,

Sorry to keep you waiting, I had some private obligations and didn't find the time to get everything ready.

I started to prepare a demo site and you know the bugs appear :oops:
I fixed most of them, but I'm sure there are some left. :roll:
Hopefully I can post the URL and login tomorrow. I hope I didn't
:evil: anybody.

@JensZ, the banner does nothing of that kind. It's just about the scrolling text, although it could be expanded with adding link and changing color.
If I had only the time... but who knows...

the banner mod can be downloaded here:
http://www.multisource.be/docs/banner_mod_install.zip
Post Reply