Stand Your Ground Forums
Welcome to Stand Your Ground Forums! Hosted by Forumotion. You can talk about forum/hardware support and anime here!
Stand Your Ground Forums

Welcome to Stand Your Ground Forums! Do register an account before browsing the forum!
 
HomeHome  PortalPortal  RegisterRegister  Log in  
Welcome to Anime World and Support of Forums! Free to interact with everyone and talk about anime , manga and also talk about problems involving connection problems, designs and appearance problems, scripts(coding) problems and much more! Please log in or register if you have not yet. As always, please do not violate the rules and be kind to each other. Have a nice day, folks!

Share | 
 

 Form/Download with information

View previous topic View next topic Go down 
AuthorMessage
Daichi
Senior Member
Senior Member
avatar

Posts : 446
Join date : 2013-03-02
Location : Reykjavik

PostSubject: Form/Download with information   Sun Mar 17, 2013 11:33 am

I am trying to create a system on my site gallery so that members can buy certain images in the gallery. I have figured out how to setup the download link for each one that they want, but Im having trouble finding a way to get the information I need to deduct their points. What I am after is their username and the image they are trying to buy, I need this information to deduct points and update their profile of purchases. So what I need is coding to setup a form with that information, or if possible a way to see what specific page they were on (in replacement for them having to fill out what image it was) Then when they click the buy button it submits the information and downloads the image to their computer. Now I already know the part for it saving to their computer just gotta incorporate it with the submission at the same time(so they get their download right away without any cheating). If anyone has any suggestions of coding to create this let me know. Something similar the edit/display of info for images (such as the title and description), but the info displayed like on a private page for me or something? I'm relatively good with codes and done tons on my own so you don't have to baby step me through it really, just any coding you can provide!

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


                                  No Support via. PM
Back to top Go down
http://standyourground.forums.fm
Daichi
Senior Member
Senior Member
avatar

Posts : 446
Join date : 2013-03-02
Location : Reykjavik

PostSubject: Re: Form/Download with information   Sun Mar 17, 2013 11:33 am

This could all be done with some PHP. The problem is that forumotion doesn't allow PHP to be uploaded to the server, so you'd have to host that on an external server. It all depends on how important integration with your forum is.

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


                                  No Support via. PM
Back to top Go down
http://standyourground.forums.fm
Daichi
Senior Member
Senior Member
avatar

Posts : 446
Join date : 2013-03-02
Location : Reykjavik

PostSubject: Re: Form/Download with information   Sun Mar 17, 2013 11:36 am

Well I couldn't figure out a way to add php so do you know a site I could host it specifically? Also really if there is a way to make it simple as how the editing info is setup for images. By this I mean how when you edit there is the title and description then the info shows up on the other page. If there is a way to do something like those fields and then maybe hide the actual info so I can access it. An email form would be nice but Im pretty sure that requires php also. Avoiding php would be my goal and if I really have to use it then is there a site to help?

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


                                  No Support via. PM
Back to top Go down
http://standyourground.forums.fm
Daichi
Senior Member
Senior Member
avatar

Posts : 446
Join date : 2013-03-02
Location : Reykjavik

PostSubject: Re: Form/Download with information   Sun Mar 17, 2013 11:36 am

PHP is going to be an absolute must for what you want to do. As far as where to host it, I've seen PHP hosts, but I'd strongly advice avoiding them. You are much better off just finding a webhost. If your needs are small, finding a free webhost should do just find, as long as you don't attract too much attention from the host. (They are known to randomly delete stuff).

The main issue is that you couldn't integrate it with the user account used on the forum, since forumotion doesn't give database access. If you are creative, you can still make it feel integrated without it, but it does add the extra barrier involved. It's all about what your members want and expect for the whole experience.

As far as hiding information from the public, while still having those fields, that's simple PHP. If you can get a place to host your gallery, and the integration isn't a problem, programming it the way you want it shouldn't be too hard

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


                                  No Support via. PM
Back to top Go down
http://standyourground.forums.fm
Daichi
Senior Member
Senior Member
avatar

Posts : 446
Join date : 2013-03-02
Location : Reykjavik

PostSubject: Re: Form/Download with information   Sun Mar 17, 2013 11:37 am

Thank you Daichi for the advice, I really want to find a way to work with the gallery since it is integrated with their member info. I don't care if one of the parts of the form they have to put in their username really, it's easier than re-configuring the whole gallery then they have to enter their info even submitting stuff. Anyways I guess I would like to find a way to create a basic log of who downloads what images so then I deduct the points for the specific user. If you look I already have something similar but I couldn't get the submit button and download link together(leaving a loophole when they enter the info they can then download without submitting) http://designerssociety.betaboard.net/gallery/Member-Fashions/Fashions-For-Sale/Polka-Dress-pic_191.htm
I guess I mostly need a way to make that so they can't download without submitting. Also SLGray thanks for the advice but for this site I'm trying to make it pretty advanced as the members grow so i don't have to do so much manually. This way they can access the stuff right away and I just update the info later.

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


                                  No Support via. PM
Back to top Go down
http://standyourground.forums.fm
Daichi
Senior Member
Senior Member
avatar

Posts : 446
Join date : 2013-03-02
Location : Reykjavik

PostSubject: Re: Form/Download with information   Sun Mar 17, 2013 11:38 am

If you use PHP to check to see if a form is submitted, you could just set a session variable to be 1 when the form is received. (Session variables are used to store information about each individual user, so they are perfect for this purpose.) Then in PHP, before sending the download link to the browser, you could check to make sure that the session variable is set to 1. If it is not, direct people to the submit form instead.

Since PHP cannot be put on forumotion forums, you'll still have to host it externally if you go that route.

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


                                  No Support via. PM
Back to top Go down
http://standyourground.forums.fm
Daichi
Senior Member
Senior Member
avatar

Posts : 446
Join date : 2013-03-02
Location : Reykjavik

PostSubject: Re: Form/Download with information   Sun Mar 17, 2013 11:38 am

Topic Solved & Locked.

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


                                  No Support via. PM
Back to top Go down
http://standyourground.forums.fm
Sponsored content




PostSubject: Re: Form/Download with information   

Back to top Go down
 
Form/Download with information
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Basic Roleplay Information and Rules
» Haki System Rules & Information
» Uglies by Scott Westerfeild
» The Number-smart Parrot (More like information than a story...but...yah)
» The Shivering Isles (Open To All!)

Permissions in this forum:You cannot reply to topics in this forum
Stand Your Ground Forums :: Support :: Scripts (Coding) Problems-
Jump to: