Jump to content

Php beginner looking for advice/basic script - users, editing


expanoncolin

Recommended Posts

Hello,

 

I'm a amateur web designer who has been making websites for maybe 7 years.  I've encountered php quite a few times; using phpbb and various other scripts.  I've never written a script from scratch, but I have modified scripts (writing mods for phpbb and changing other scripts to my liking as well as database management, etc).  So my knowledge of php isn't very great but it's functional for someone who doesn't write scripts.  I've programmed in other languages... python, C, C++, BASIC, etc but no php.

 

I recently volunteered to update the website of a non-profit organization I'm a member of.  The old website was clunky, hard to navigate, and nasty looking, so I'm revamping the site, but want to make a number of aspects more user friendly and there's really no way around it but using php.  I considered using a cms like plone but not enough of it needs to be edited by anyone but me to worry about that.  What I essentially need is

 

1) A database of users with various attributes - login, email, password, a couple of numbers set in database management, and a couple of numbers that would be automated by scripts (more below)

2) Some users would have the ability to enter something in a field - "office hours", say, for administrative positions in the organization. There would be a field on their user page that would say "Enter your office hours", and they would do so (or select them from dropdowns) and then on another separate page, it would list their name and office hours... essentially some users would see a field that would store a string in a database that would appear on another page

3) Some users would be able to basically add and edit entries in a "calendar"... this woudl be similar to the above situation except they would be adding and editing on the page rather than in a field.

4) A form for all users that asks them what their preferences were for moving up in the organization and assigned them waitlist numbers based on that

 

I know this is probably somewhat vague btu I don't want to bore any of you...  is there a script or two out there (very basic, no extra features needed!) or similar scripts that can do this?  I've googled a lot but only come up with CMS's.  If there's no script, would it be fairly quick to learn the php to get to this point of coding or should I just hire someone to write up the code?

 

Thank you all very much, I know the only motivation you guys have for answering something like this is the goodness of your hearts, so I really appreciate any replies.

 

-Colin

This sounds like you need a small web application.  There are some good tools out there that can help you build this kind of thing, but it sounds pretty custom.  Are you looking to connect to a database?  How soon are you looking to get this going?  Depending on your time frame you might want to just hire someone to do it.  Check out the link in my signature, I offer a fair rate.

This sounds like you need a small web application.  There are some good tools out there that can help you build this kind of thing, but it sounds pretty custom.  Are you looking to connect to a database?  How soon are you looking to get this going?  Depending on your time frame you might want to just hire someone to do it.  Check out the link in my signature, I offer a fair rate.

 

It is indeed a fairly custom application, which is sort of why I was hoping I could find a couple of simple scripts ("User login script with a variable number of user attributes script", "Field for a content string to be retrieved script", etc) Yes, I have a MySQL database setup I'd want to be connecting too, to store and retrieve the information.  What tools should I look into?  The time frame isn't super pressing but sooner is always better than later.

 

-Colin

If you can find it, I really liked PHP code genie.  You build a database structure, which is then read and produced code to accomplish common functions (Listing, Editing, Login, etc).    Most seasoned coders have their own tools to write these kinds of things for them because the come up so often.

 

If you have the time I would recommend learning about how to connect to and work with a database using PHP.  There are several good DB connection libraries out there, PEAR has an excellent one.  If you really don't have the time or want to learn, then I would recommend hiring someone.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.