Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:55:10 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155545 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: A shielded member system / module to download photos?  (Read 249 times)
D72

Offline Offline

Posts: 253


« on: May 18, 2011, 10:05:23 AM »

I was asked by a client if it's possible to create a website where visitors can login after the admin created an account, and after they're logged they can download photos on the website.
But each client has it's own set of photos. So client A cannot see and cannot download the photos of client B and so on... Each client will need their own login details.
These downloadable photos  are weekly updated (not very important to mention tough)
Is there a module for WB which can handle these type of member behaviour?
Basicly, when a client is logged, they should acces automaticly their personal page/profile where they can download their photos.

Got a slight feeling this is not possible in WB.... please tell me that i'm wrong Smiley
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #1 on: May 18, 2011, 10:33:07 AM »

using a combination of htaccess protection, download script, and some strict naming rules (folders with username or something like that) it could be possible  cool

Logged

Professional WebsiteBaker Solutions
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #2 on: May 18, 2011, 10:37:09 AM »

Seems easy enough to do, but takes rather much time and effort as it must be done all manually.

1. admin creates account for member X
2. admin creates page for member X, with at least a photo module section
3. admin creates /media/memberx/ directory for photos for member X, and sets that directory as source for photo module on page for member X
4. Member X can log in, and can visit his profile page and his photo page

These steps must be done for each member. So it depends on the quantity of members if this is a practical approach.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
D72

Offline Offline

Posts: 253


« Reply #3 on: May 18, 2011, 10:54:27 AM »

hmmm....
ok. both solutions seems to be fine.
Allthough it takes some time to experiment. Shame you guys couldn't come up with a module Tongue
No, no problem at all. All posibilities are worth to try. It make me more familiar with WB too.
Right now i'm at work and will give your options a serious try.



@Ruud // pretty off topic
Multipart Module is really a great module. I enjoy it every time i set up a webite.
Really a brilliant module if you have html codes on seperate pages
Logged
pcwacht
AddOn Development
*
Offline Offline

Posts: 2858



WWW
« Reply #4 on: May 18, 2011, 12:08:37 PM »

I did something like that for files with droplets -> http://www.websitebaker2.org/forum/index.php/topic,20590.0.html
 
and use securedownload with .htaccess to protect the files -> http://www.websitebaker2.org/forum/index.php/topic,17482.0.html

I added the username to the filenames to distinguish them

steps
1 - .htaccess to protect download dir ( /media/secure_photos for example)
2 - .forget upload droplet, not needed in your case
3 - create a page, for members who can download, add download droplet there
If you don't need them to delete the photo's delete that part from the droplet

Each foto filename should begin with the username who is allowed to see / download the foto
like: username_fotoname.j pg


Have fun,
John

Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!