Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-07 03:03:09

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

How would you build it.......

Ok, I want to throw this out there to A) spark some conversion on just how flexible TXP is and B) to get some fresh ideas on how to implement a project.

Here is the deal…..I am going to describe a project (see below) and I want to hear how you would build it using TXP. Name the techniques, plugins, methods, etc. that you would use to build this project if it were up to you to do it….

  • The site is a pet site where local people will be able to post pets that are both free and for sale.
  • The visitors will fill out a form putting in all of the info for their “classified ad”. (type of animal, name, age, etc.)
  • The visitors will need to be able to upload a photo of the animal. (preferably without needing an account or user name)
  • The classified ad (an article) needs to be created for each pet added to the site. (Manually input info or automatically?)
  • The site would need to accept donations via some online payment system.

The site would then need to…..

  • Display each pet (as an article in TXP) with a thumbnail in the appropriate category for that animal.
  • Visitors would need to be able to search by certain criteria (type of animal, size, etc.)
  • If they find a pet they want, they get the contact info from the ad and contact the owners.

Let me hear it, how would you build it????

Offline

#2 2007-01-07 14:03:08

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

Re: How would you build it.......

Wow, no responses so far. That is surprising! Well, after thinking about this a little more, the only real problem I see is the uploading of the photo. I have not looked to see if there is an anonymous uploader plugin for TXP, so if there is not then something would have to be built for that.

What do you guys think of the form input/article creation? If you used say zem_contact_reborn to create the form, could that data then automatically be used to create an article with the info in it?

Offline

#3 2007-01-07 21:55:09

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: How would you build it.......

How about sed_anon_file_upload?

I think the simplest way would be to:

  1. Post an article for a breed or location, however your sorting it
  2. Open comments for the article. Rename everything to “listing” or classifieds. Definitely moderate the comments (change the thanks text in MySQL). I think you could attach sed_anon_file_upload to the comments form. Hopefully.
    1. Of course, I don’t know how you could attach other input fields to the comment form (if it’d work). Creating a PHP and MySQL script to accept and display the data isn’t hard, but integrating it might be.

Offline

Board footer

Powered by FluxBB