FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Rvec's PHP shop

 


rvec
I want to get some more experience in php, and this way I get virtually (and worthless) money for it. But by doing so I give the worthless some value Smile .

So if you have any php scripts that need fixing up, rewriting or just have an idea, ask me (that sounded like a nice slogan Razz ).

If I like the job I'll ask half for it. For everything else I think 100frih$ an hour is a good rate.

I'd like as much information as possible, and I don't do CSS or HTML (unless it's really needed for the script, like a form). I can do some simple CSS and HTML to make an example skin, but I am not creative enough for making something real.

If you ask me to do something please make as much paint drawings, examples and info as you can give, this makes it easier for me to do it right in one try.

oh almost forgot, you can see my scripts in the php forum and on http://www.bierkip.nl
adri
I need a bikelogger... (That's what I call it xD)

I will explain it clearly (from the vue of the user (= only me)...

---------------------
If I come at "the page" I need to type a password, if password is incorrect it displays a message that's incorrect or something (I can chance that...) but if the password is correct then it proceeds (only 1 password is needed i don't want other passwords for other users) to another page (or the same?)

When it proceeds it has to shows all my rides (just the name that I typed in a field), If I click on the name it has to show me the details of that mountainbikeride (average speed, maximum speed,... all things that I filled in).

Under the names of the rides it has to show me "Create new log" or something, if I tick on that it opens a new page with a form that has these fields:

<h1>Create a new bikeride</h1> /* Has to be filled in! */
Name: <input type="text"...> /* This name will be showed in the list Surprised */
Date: ....
Average Speed: ....
Maximum Speed: ...
Time: ... /* Possible to type H:M:S ???*/
Tour: ... /* Textbox, sometimes it's long */

<h1>Extra (Hartbeat)</h1> /* This does not have to be filled in so if there's isn't something filled in it doesn't show it in the report */
Time: ... (yes again because my "hartslagmeter" sets a time to...
Zone: from ... till ... (normally 120 to 180 hartbeats) but if I could manually set this it would be great!
Time in Zone: ... /* H:M:S??? */
Average hpm: ...
Maximum hpm: ...
Calories: ... /* Not necessary because I actually don't care about the calories I burned... */

[Submit]

If the page is submitted the name that I filled in is being showed in the list and if I click on it I see what I filled in (Average Speed,..).

----------------------

I now this will need a MySQL database but I don't know if you can do that?

I hope that you can do this, I will only be used by me (that's why I only need just a password and not a loginsystem)

Can you also give a clue of what the price will be?

If you need more info please ask...


Greetz


Adri
rvec
Quote:
I now this will need a MySQL database but I don't know if you can do that?

Yeah I can do that.

Quote:
If I come at "the page" I need to type a password, if password is incorrect it displays a message that's incorrect or something (I can chance that...) but if the password is correct then it proceeds (only 1 password is needed i don't want other passwords for other users) to another page (or the same?)

I'll put the password in a config file (along with mysql info), that way you can easily change it with a text editor.

Quote:
Can you also give a clue of what the price will be?

probably not over 200 frih$ because it looks like it's going to be fairly simple.

btw. if you want dutch text I can also do that Wink
adri
Just given you a "voorschotje" = an advance says my dictionnary...
rvec
Do you mind if it becomes 400 frih$?
it is working now, but you'll get some unexpected errors if you use the wrong formats to add a new one.
Ratmaster
Are you familiar with the phpBB3's code structure at all?
rvec
only a little bit. If you want big modifications I don't think I could do that.
silverdown
Can you do a code redemption type script ?
rvec
depends on how exactly you want it and how well it should be integrated in phpBB.
romeo123
Hey.. Do you know how to change stuff, like the way the form should look like to the software you helped me install? (SEDITIO)

Could you make the download pages say to guests "You will have to LOG IN or REGISTER to view downloads! Register today!


Pm me if ya can..
rvec
silverdown wrote:
Can you do a code redemption type script ?

Oh I thought this was still about phpBB3. If it wasn't, I think I can. Give me details like adri did and I'll start the same day.
silverdown
rvec wrote:
silverdown wrote:
Can you do a code redemption type script ?

Oh I thought this was still about phpBB3. If it wasn't, I think I can. Give me details like adri did and I'll start the same day.


It's kind of like the pop bottle caps

you get a code ( example : 5AFS54 or 50POINTS or any other word or numbers or mixed ) and put it in gives you points for the code it was assigned for your account. Then you can redeem the points for prizes on a list.
if possible can the prizes have a quantity list like?

Quote:
Prize name
Prize description
prize points cost
quantity
rvec
I think I can do that. Just depends on how easy it is to edit the points system you're using.

But this stuff could just be in a table, and one small script could probably do the rest.
silverdown
rvec wrote:
I think I can do that. Just depends on how easy it is to edit the points system you're using.

But this stuff could just be in a table, and one small script could probably do the rest.


I don't have a point system Smile, you can do the just be in a table with small script idea Very Happy
rvec
that should be easy. I think it'll be about 300frih$ if it is as I think you want it.

But if you could write it out like adri did I'll give a more exact idea of how much it'll cost.
silverdown
When the person comes upon the page they have to login or register

Register
- Name
- Age
- Location
-Email


After logging in they can see

- Points
- Redeemed codes
- Redeemed Prizes
- Change account info

Prizes

A prize available list

- Prize Name
- Prize Description
- Prize Cost
- Quantity left

Codes

- Code (Numbers and Letters)
- Uses (meaning many times can be redeemed)
- Note for code (reason it was created)

Extra would like features, but not needed
Admin edit accounts & make users admin

I bet it will probably be around 300RFrih$ I can even give all I have at the finish product Smile I also this helps give you an idea what I would like.
rvec
Prize list is only available for logged in members?

I don't understand the codes page, can't anyone just copy those to get the points?
silverdown
well never mind hehe I seem to have confused you lol Laughing
rvec
no problem about that, I just don't completely understand the system. If you explain those last 2 pages I'll start on it.
silverdown
Here is a more detail way

/index page
- Login
User login

- Register
user register

/user home
Code:
user home is the place to see points they have

- enter code
enter codes
No Code List to see

- view prizes
View prizes by

    Prize Name
    Prize Point Cost
    Prize Description
    Quantity Left


- see redeemed prizes
Code:
See the prizes and price of redeemed prizes

/admin
- prize list
Add , Edit, Delte Prizes
- code list
Add codes
Code:
Example
G66SD7S would be for 150 points

- user accounts ( if possible editable)
- add more admins ( if possible)
rvec
kk I could make that, and I guess users can only use each code once?
I'd make one table for the users, one table for redeemed codes (codeid and userid) one table for redeemed prices and one table for prices.

edit: Almost done Smile

edit: try it out, I think it should work now.
http://www.bierkip.nl/upload/codes.zip
silverdown
rvec wrote:
kk I could make that, and I guess users can only use each code once?
I'd make one table for the users, one table for redeemed codes (codeid and userid) one table for redeemed prices and one table for prices.

edit: Almost done Smile

edit: try it out, I think it should work now.
http://www.bierkip.nl/upload/codes.zip


I can't get to it I keep getting "The connection has timed out"
rvec
my server is back up, sorry for the problems
silverdown
I likey however if I add or delete I user I get

Code:
Fatal error: Call to a member function delete() on a non-object in  /codes/admin.php on line 60


Code:

Fatal error: Cannot use object of type user as array in /codes/admin.php on line 105


Oh yea how much I owe you Very Happy
rvec
I replaced the admin.php file on http://www.bierkip.nl/upload/codes.zip by a new one. I used $users instead of $user once, and I used $user for an object and for an array. The array is called $user_ now.

send me 300 Smile
silverdown
Sent 300

For some reason I still get same errors

Do you think it is that the version it was created with is MySQL 5.2.5 and frihost server 2 is 4.0.23-standard-log? Everything else seems to work as it did

if you want to try it you can at

www.silverdown.com/test/codes/

usrname : admin
password: test
rvec
mysql shouldn't be the problem, and since I changed the variable names I don't think that could be the problem either. I'll try to put it on server 2 on my account and try it some more there.

edit: I made some more edits. If you replace everything except for the config.php file I think it should work perfectly. Even the backup.sql file is now 100% compatible with the mysql version on server 2.
silverdown
Awesome, it works now Smile no errors Thanks !
Reply to topic    Frihost Forum Index -> Miscellaneous -> Marketplace

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.