PDA

View Full Version : [Need] Adavanced (not sure?) PHP/Ajax script



Jonster
18-11-2008, 07:15 PM
Hey guys,

I recently came up with the idea to start a service company for Habbos, which mainly specialises in stacking. Cheap prices, multiple methods of payment.

In order to complete the above, I am in need of a, what I think will be, an advanced PHP/Ajax script (I think :P.) I have made a very basic example, and will be nothing at all like this when the site has been finalised.

See example: http://testscripts.leadhoster.com/exampleform.html

The basic concept of the idea works on two (may become more in the future) variables, which effect the pricing of the stacking. This is then displayed in two non-writable boxes (which would mean they are coloured grey), and below that are payment buttons, of which the customer can select.

As an example, JoeBloggs came to my website and requested a room with multiple stacking types, and requested room 3 (lets say an 86 tiled room.) This would automatically change the price to around £2.83 and for those who wish to pay in furni 3 HC.

Whether or not this is possible, and as to how easy it is I do not know. But if some kind soul could either link me to a basic script of what I am trying to achieve, or come up with something I will be very grateful, and depending on the circumstances I may leave a mark in your PayPal account. :)

--

That's the first part to the order form. The next part to it is the information page (not entirely sure as to what to call it.) Lets say JoeBloggs had just ordered the above room, for 3 HC. The group has a team of 5 workers, who work around the clock to finish rooms on-time. Unfortunately, 3 of the workers are in use, but thankfully there are still 2 left to help Joe out, JamesBloggs and TrevorBloggs.

When Joe clicked the 'Pay now' button, a script is run which takes him to the information page, where a stacker is automatically assigned to Joe. Problem here? Hopefully not, as once a stacker is assigned to the customer, their name is no longer selectable by the system until they have removed their item off a list.

This will obviously require more coding, and I can imagine it'll be suggested for me to hire a coder. This will depend on cost and time, so please read on and bare with me.

On this page it would display something along the lines of


Thankyou, %username%. Your request has been noted, and you have been assigned to %stacker% (this would have to be taken from a MySQL database, right?) Please leave the required amount (%habboprice%) in OwnerBlogg's room, where once this has been approved you will be contacted immediately.

^ Meh, something along those lines.




--

If anyone has ANY ideas or can HELP I would very much appreciate, and +rep you as much as possible, and as said, maybe leave a little something in your PayPal account.

Hopefully I can discuss this further with some of you on here, and in the meantime I'll continue to search.

Many thanks.

Iszak
19-11-2008, 11:30 AM
Okay well besides you haven't supplied the calibration of what the price will be per tile + the change depending on multiple, bar, etc I've had to put in some false details. But this script I made should get you on your way, it uses jQuery - so maybe learn that? Anyhow here it is, it's pretty straight forward http://www.iszak.net/free/jonster/ and the download link is here http://www.iszak.net/free/jonster/download.zip if you're still having difficulties you can pay me to make you it but I'm sure you'd rather do it yourself. Anyhow, goodluck.

Hypertext
19-11-2008, 02:03 PM
What an organized person...

Jonster
19-11-2008, 04:12 PM
Thank you very much! I'm sure I can edit that to how I specifically need the requirements.

+rep

Meti
22-11-2008, 10:27 AM
Good script Iszak! =)

Want to hide these adverts? Register an account for free!