mygallery mod

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.

mygallery mod

Postby scraper » Fri Nov 11, 2005 00:56

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 Nov 16, 2005 12:55, edited 1 time in total.
scraper
 
Posts: 30
Joined: Tue Aug 09, 2005 08:01
Location: Belgium

Postby Peekay » Fri Nov 11, 2005 02:08

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?
Peekay
 
Posts: 286
Joined: Sun Jul 25, 2004 23:24
Location: UK

Postby Fulvio Romanin » Fri Nov 11, 2005 02:40

of course we are interested... :D
Completeness is reached through subtraction, not through addition
User avatar
Fulvio Romanin
 
Posts: 394
Joined: Thu Dec 04, 2003 12:12
Location: Udine, Italy

Postby StudioZ » Fri Nov 11, 2005 02:50

Nice initiative Scraper !!! :D
Keep us informed 8)
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
StudioZ
 
Posts: 802
Joined: Fri May 28, 2004 19:57
Location: Québec, Canada

Postby scraper » Fri Nov 11, 2005 02:59

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.
scraper
 
Posts: 30
Joined: Tue Aug 09, 2005 08:01
Location: Belgium

Postby trip » Fri Nov 11, 2005 08:34

Very nice, do you have a working example that we can view?
trip
 
Posts: 657
Joined: Tue Feb 17, 2004 10:56
Location: Cape Town, South Africa

Postby scraper » Fri Nov 11, 2005 10:28

I'll try to have a demo site online this afternoon, so you can login and see what I already have. :)
scraper
 
Posts: 30
Joined: Tue Aug 09, 2005 08:01
Location: Belgium

Postby trip » Fri Nov 11, 2005 10:36

:-)
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
trip
 
Posts: 657
Joined: Tue Feb 17, 2004 10:56
Location: Cape Town, South Africa

Postby scraper » Fri Nov 11, 2005 12:23

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:
scraper
 
Posts: 30
Joined: Tue Aug 09, 2005 08:01
Location: Belgium

Postby trip » Fri Nov 11, 2005 16:03

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

TriP
trip
 
Posts: 657
Joined: Tue Feb 17, 2004 10:56
Location: Cape Town, South Africa

Postby frold » Fri Nov 11, 2005 18:13

what is banner module?
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 23:42

Postby scraper » Sat Nov 12, 2005 16:26

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.
scraper
 
Posts: 30
Joined: Tue Aug 09, 2005 08:01
Location: Belgium

Postby frold » Sat Nov 12, 2005 16:58

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
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 23:42

Postby JensZ » Sat Nov 12, 2005 22:56

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
JensZ
 
Posts: 136
Joined: Wed Feb 16, 2005 13:18
Location: Stockholm, Sweden

Postby scraper » Mon Nov 14, 2005 00:28

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
scraper
 
Posts: 30
Joined: Tue Aug 09, 2005 08:01
Location: Belgium

Next

Return to hacks & enhancements

Who is online

Users browsing this forum: No registered users and 0 guests

cron