Page 19 of 26 FirstFirst ... 91718192021 ... LastLast
Results 181 to 190 of 259
  1. #181
    Join Date
    May 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    Hi.
    I have a question. I'm using Zen Cart and want to add three contact forms. I have looked trough php form tutorial and found how forms are created. I just want to know how I can implement them with Zen Cart. Sorry for my bad knowledge in programming and thanks in advance.

  2. #182
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    This is just what I've been looking for, but I'm trying to incorporate it into a defined page via the define pages editor.

    I basically copied the entire code from the http://www.silkblooms.co.uk/upload/data/index.php file and pasted it into this page:

    http://www.silkblooms.co.uk/index.ph...e=testimonials

    Needless to say, it don't work :)

    I'm assuming it's because the 'upload' folder is not relative to the testimonial files? Would an easy way of fixing this be to move the upload folder into a relative position? If so, does anyone know where to?

    I'm a complete amateur, if anyone knows a better way of incorporating this upload file function into a defined page then please share a technique with me. I'm very keen to have this function.

  3. #183
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    978
    Plugin Contributions
    6

    Default Re: custom forms - data collection

    I am not exactly clear on what you want to do.

    If Evilbr.png is a file that you uploaded, then the mod does work ipso facto.

    IIRC the Upload folder must be placed outside of your cart for security reasons.

  4. #184
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    Ignore my previous post, I was just talking gibberish. All I had to do was insert the page into an IFrame. It's working now, at http://www.silkblooms.co.uk/index.ph...e=testimonials

    My next question is now in line with the last few posts in this thread. How on earth do we prevent users from uploading .exe and .php malicious files?

    I see that rolling back to v.1.61 is a quick fix, but I'd really like to keep the multiple file upload function. I've conversed with the mod author and he's basically saying it's not an easy fix using the php commands he's used to fix 1.61.

    Does anyone know if there's a way of using a .htaccess file to prevent the upload of certain file types?

  5. #185
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: custom forms - data collection

    Quote Originally Posted by limelites View Post
    Ignore my previous post, I was just talking gibberish. All I had to do was insert the page into an IFrame. It's working now, at http://www.silkblooms.co.uk/index.ph...e=testimonials

    My next question is now in line with the last few posts in this thread. How on earth do we prevent users from uploading .exe and .php malicious files?

    I see that rolling back to v.1.61 is a quick fix, but I'd really like to keep the multiple file upload function. I've conversed with the mod author and he's basically saying it's not an easy fix using the php commands he's used to fix 1.61.

    Does anyone know if there's a way of using a .htaccess file to prevent the upload of certain file types?
    Suggest using the example posted earlier in this post for how to put your form in the proper Zen Cart format, and NOT to use an iframe for your form..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #186
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    I'm quite happy with the iFrame though, it seems to do the trick.

    All I need is to figure out how to maintain multiple file uplaods, without compromising security.

  7. #187
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: custom forms - data collection

    Quote Originally Posted by limelites View Post
    I'm quite happy with the iFrame though, it seems to do the trick.

    All I need is to figure out how to maintain multiple file uplaods, without compromising security.
    The iframe can be troublesome for forms and interactive content.. and will most definitely compromise security.. (No SSL for forms sitting inside an iframe) Your choice.. Just a suggestion..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #188
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    even though I used https:// when adding the page URL inside the frame?

  9. #189
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    978
    Plugin Contributions
    6

    Default Re: custom forms - data collection

    Quote Originally Posted by limelites View Post

    My next question is now in line with the last few posts in this thread. How on earth do we prevent users from uploading .exe and .php malicious files?
    If you limit the file types to .jp*g, *.png, *.txt, *.rtf and *.pdf, you should have no problem.

    See post #179 for where to put this.

    Basically, I created a new page based on this band signup mod, to which I added the Upload Point code. No iFrame required.

    If you want your testimonials page to automatically create itself from user inputs, I think you are in for a lot more work to maintain the appropriate controls..

  10. #190
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    Quote Originally Posted by dw08gm View Post
    If you limit the file types to .jp*g, *.png, *.txt, *.rtf and *.pdf, you should have no problem.

    See post #179 for where to put this.

    Basically, I created a new page based on this band signup mod, to which I added the Upload Point code. No iFrame required.

    If you want your testimonials page to automatically create itself from user inputs, I think you are in for a lot more work to maintain the appropriate controls..
    Thanks for the reply. I did install your mod for the band signup page, but the required fields were far more than I needed. I only need #name, #city, #email and #testimonial. So, I just popped it in an iframe which seems to work for me. I don't envisage loads and loads of testimonials and I do realise I'll need a large amount of manual work to actually publish each testimonial once I receive the files. Probably take about ten minutes each one.

    I looked at post #179 again, but that means rolling back to version 1.61 and losing the multiple file upload functionality. I'd much rather maintain that.

 

 
Page 19 of 26 FirstFirst ... 91718192021 ... LastLast

Similar Threads

  1. custom survey forms
    By cpk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 May 2011, 05:07 PM
  2. Custom Forms
    By wwiii in forum General Questions
    Replies: 3
    Last Post: 11 May 2009, 05:51 PM
  3. Customer's seeing other users' data in forms
    By erikcw in forum General Questions
    Replies: 5
    Last Post: 30 Jan 2008, 11:30 PM
  4. Custom Collection of Attribute Data
    By Fastcar in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2008, 01:01 PM
  5. Custom Forms - Help?
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 9 Jun 2006, 02:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR