Zubrag.com
May 20, 2012, 10:36:41 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: user signup? - ***zubrag?  (Read 7665 times)
thejohnson4
Newbie
*
Posts: 28


« on: April 30, 2007, 06:46:25 pm »

Hi everyone,

has anyone/does anyone know how i would create a really simple user signup for this script? (i.e. just an easier way to put new user/passes into the script... via a simple form)??

**Zubrag - did you get chance to make that over the weekend?

Many thanks,

Adam

Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #1 on: May 04, 2007, 05:16:49 am »

Adam, sorry for late reply, did not have a chance to finish it yet. Currently only username and password are stored in the file. Sign up module requires valid email. So I was thinking about using email address as login. What do you think?
Logged
husker
Newbie
*
Posts: 13


« Reply #2 on: May 04, 2007, 05:28:54 am »

some people don't like their email address to be exposed though.

forum software like this has an option to hide email.

the sign-up utility will be a nice enhancement.
Logged
thejohnson4
Newbie
*
Posts: 28


« Reply #3 on: May 04, 2007, 06:17:09 am »

Adam, sorry for late reply, did not have a chance to finish it yet. Currently only username and password are stored in the file. Sign up module requires valid email. So I was thinking about using email address as login. What do you think?



Well, my purpose for wanting a simple signup is that i have an admin page (for a client area)-and on there i was envisaging a quick form where i can signup users on their behalf.

The form would write data to the passwordprotect (or an external file). 
e.g.:

Client username: XXXX   
Cient password: XXXX

SUBMIT


That would write the data to a text file (in the normal format 'user' => 'pass',  )   and that file would get a php include in the 'PP' main file.



I hope that makes sense. For your reference- here is a link to the site i have been looking at for that: http://www.programmingtalk.com/showthread.php?t=17187



Adam

(so email validation isnt really something you need necessarily, it depends on the purpose- but imagine this way would be fairly simple?  i have, using that site, got a form writing username/passwords in a file... just need to get the main password_protect file to include it .... then it is done... would that be possible?)
Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #4 on: May 04, 2007, 09:35:29 am »

some people don't like their email address to be exposed though.

Actually email would never be exposed to others. Only user itself and admin would know email. User would use email instead of login.
This is similar to what Google have for Google Analytics, AdSense, etc.

Like this:

Login: email@example.com
Password: some-password-here

Does that make sense?
Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #5 on: May 04, 2007, 03:19:14 pm »

Here is custom password protector (http://www.zubrag.com/downloads/protect_manager.zip) script for Adam.

It consists of 3 files:
password_protect.php - customize password protector which is reading users list from separate file (users.php)
manager.php - users manager (add/delete/update). Open this file in browser and simple text area will appear, one user per line. I would suggest renaming file to something unique so others could not guess its name and edit your users.
users.php - comma separated list of users (login,password). Note: first line is <?php dies(); ?>   Do not edit/delete it. It is for users protection.

Still working on making it useful for everybody else.
Logged
thejohnson4
Newbie
*
Posts: 28


« Reply #6 on: May 04, 2007, 05:54:36 pm »

wOW!

zubrag, thankyou so much!!! i didnt expect you to make a version especially... thats fantastic-it was just what i was looking for.. i think i am able to add in the box for where you want each user redirected, so thats great!

All thats left is to integrate it into my page layout! thankyou again.... i'd love to see it when its suitable for public use Smiley

Many thanks,

Adam
p.s. are you sure there is no way we can contribute to zubrag scripts?
Logged
husker
Newbie
*
Posts: 13


« Reply #7 on: May 05, 2007, 12:21:53 pm »


Actually email would never be exposed to others.

Like this:

Login: email@example.com
Password: some-password-here

Does that make sense?

yes - your strategy makes sense to me now - thanks.
my point was geared more towards public forums.
Logged
husker
Newbie
*
Posts: 13


« Reply #8 on: May 05, 2007, 12:29:28 pm »

wOW!

zubrag, thankyou so much!!! i didnt expect you to make a version especially... thats fantastic-it was just what i was looking for..
Adam
p.s. are you sure there is no way we can contribute to zubrag scripts?

That was what I was looking for as well - thanks.

I can understand the author wanting to keep control of the script - but I can also understand people wanting to do their own customizations and/or contributions. 

Will the script eventually evolve into one with the users and groups in external files or will there be multiple versions?

For people doing their own customizations, it would be good to be in sync with the Z's  Wink plans.
Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #9 on: May 05, 2007, 02:54:37 pm »

Will the script eventually evolve into one with the users and groups in external files or will there be multiple versions?
I think a lot of people (especially those who are not familiar with programming) like this password protector because of its simplicity. They do not need signup, user groups, etc. So I would like to keep simple things simple.

Eventually there will be two different versions (both having users in external file, both with users management). One will be simple version for "beginners", and another will be an advanced version for advanced users. Advanced version will include signup (including email validation) and user groups supported.

What do you think?
Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #10 on: May 05, 2007, 03:47:21 pm »

are you sure there is no way we can contribute to zubrag scripts?
Adam, unfortunately there is no direct way of doing that.

The only indirect contribution you could do is following this link: scriptlance.com (freelancers site), and sign up as webmaster or programmer. Who knows, maybe one day you'll need some project done, and they will share referral fee from each completed project.
Logged
husker
Newbie
*
Posts: 13


« Reply #11 on: May 05, 2007, 06:06:02 pm »


I think a lot of people (especially those who are not familiar with programming) like this password protector because of its simplicity. They do not need signup, user groups, etc. So I would like to keep simple things simple.

Eventually there will be two different versions (both having users in external file, both with users management). One will be simple version for "beginners", and another will be an advanced version for advanced users. Advanced version will include signup (including email validation) and user groups supported.

What do you think?

It is more work for you to produce two versions, but the idea of a minimalist version and an advanced version is very nice.

Separating users into an external file is good in both cases - consistent.

The user management portion may be overkill - if people cannot edit a file with ASCII text, maybe they should not be programming. Eventually user management would be nice - but not higher priority than some advanced features like auto-sign-up or pwd recovery.
Logged
thejohnson4
Newbie
*
Posts: 28


« Reply #12 on: May 07, 2007, 05:33:01 am »

Here is custom password protector (http://www.zubrag.com/downloads/protect_manager.zip) script for Adam.

It consists of 3 files:
password_protect.php - customize password protector which is reading users list from separate file (users.php)
manager.php - users manager (add/delete/update). Open this file in browser and simple text area will appear, one user per line. I would suggest renaming file to something unique so others could not guess its name and edit your users.
users.php - comma separated list of users (login,password). Note: first line is <?php dies(); ?>   Do not edit/delete it. It is for users protection.

Still working on making it useful for everybody else.

Zubrag,

How would i add in the user redirect part now? i just thought,  because i had it working in the previous system - but now taht you kindly altered this special version, the way i add-in  user redirect now doesnt work does it?

Any help is really appreciated. Many Thanks,

Adam

(p..s did you get my email with my modification of your special version?)
Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #13 on: May 07, 2007, 08:24:24 am »

Try changing location to Location in your signup.php
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC