seperate comment form for pages ? [WP]

Discussion in 'Blogging' started by devilkitty, Jan 20, 2009.

  1. #1
    Hey fellow Dp'ers,

    I have a site where i need to provide a seperate comment form for pages as compared to posts.

    So when people access a post comment form they get the usual name,website,email,comment.

    But on the pages i'd like:

    Name
    Email
    Date Visited
    Positives
    Negatives



    I have absolutely no idea how to go about this and hoping my fellow DP'ers could help out.

    I figure some kind of PHP statement would sort out the forms, something along the lines of:

    PHP
    if page
    display page_comment.php
    Else
    comment.php
    PHP:
    (Or however it's coded properly)

    But how would i add the custom fields to the page comment form so that it easily reflects what other people thought about the service provided etc.

    I'm hoping the outcome can look something like the following:


    Name: Bob <-- (public)

    Email: <--(hidden from search engines etc)

    Date Visited : 1/1/09 - 10/01/09 <-- (public)

    Positive: It rocked <-- (public)

    Negative: It sucked <-- (public)​

    The user would have the chance to fill out both the positives and the negatives. If possible i'd like to have the ability to place an image where the psitive and negative would be.

    Anybody able to help out on this please ?

    Thanks
    Dan
     
    devilkitty, Jan 20, 2009 IP
  2. MunnaMobile

    MunnaMobile Banned

    Messages:
    234
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you need to modify single.php of your WP template, just show comments on the same page. and put a link to the comment form.
     
    MunnaMobile, Jan 20, 2009 IP
  3. devilkitty

    devilkitty Peon

    Messages:
    303
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply,

    but lets say i am stupid...... I mean seriously stupid!!!(Like i think that my arm is my leg)

    I modify single.php and put a link to the comment form, how does that help add custom fields? How does that achieve what i am looking for?

    I want comments on posts to be the same as usual with the same options.
    But on the Pages, i want a separate comments file. Somewhere where users can add their positives and negatives. I would like this to be stored in the DB if possible. If it can;t be stored, i'd like it to be available on every comment thats on a page. (Imagine that pages are for customer reviews, and posts are for anyone in the world to comment on.)

    If i need to explain it more do let me know.

    Thanks
    Dan
     
    devilkitty, Jan 20, 2009 IP