Page 1 of 6

mygallery mod

Posted: Thu 10. Nov 2005, 23:56
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

Posted: Fri 11. Nov 2005, 01:08
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?

Posted: Fri 11. Nov 2005, 01:40
by Fulvio Romanin
of course we are interested... :D

Posted: Fri 11. Nov 2005, 01:50
by StudioZ
Nice initiative Scraper !!! :D
Keep us informed 8)

Posted: Fri 11. Nov 2005, 01:59
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.

Posted: Fri 11. Nov 2005, 07:34
by trip
Very nice, do you have a working example that we can view?

Posted: Fri 11. Nov 2005, 09:28
by scraper
I'll try to have a demo site online this afternoon, so you can login and see what I already have. :)

Posted: Fri 11. Nov 2005, 09:36
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

Posted: Fri 11. Nov 2005, 11:23
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:

Posted: Fri 11. Nov 2005, 15:03
by trip
Nice :-)
i see Jerome has updated this
looking forward to the release

TriP

Posted: Fri 11. Nov 2005, 17:13
by frold
what is banner module?

Posted: Sat 12. Nov 2005, 15:26
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.

Posted: Sat 12. Nov 2005, 15:58
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

Posted: Sat 12. Nov 2005, 21:56
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

Posted: Sun 13. Nov 2005, 23:28
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