+ Reply to Thread
Results 1 to 10 of 10

Thread: [REQ][500] FOr another comment box (You'll see why below)

  1. #1
    Wizet's Avatar
    Wizet is offline x10 Elder Wizet is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Brooklyn, New York.
    Posts
    644

    [REQ][500] FOr another comment box (You'll see why below)

    Well this time I needed another comment box because a few later the comment box that xPlozion gave me was not the one I needed. You see xPlozions comment box was based entirely on the MySQL which gave it the same comments on all of the page that I gave the php script to. But this time I am looking for a comment box that still depends on MySQL but must be different for each page that it is placed on.

  2. #2
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: [REQ][500] FOr another comment box (You'll see why below)

    Quote Originally Posted by Wizet View Post
    Well this time I needed another comment box because a few later the comment box that xPlozion gave me was not the one I needed. You see xPlozions comment box was based entirely on the MySQL which gave it the same comments on all of the page that I gave the php script to. But this time I am looking for a comment box that still depends on MySQL but must be different for each page that it is placed on.
    Not quite sure what you are asking here...

    Could you let us know what was in XPlozion's comment box?

    What do you mean by "gave it the same comments on all of tha page that I gave the php script to"

    If you want a comment insert script, the script will be the same but looking at your last note, you might be looking for a different way for it to be echo'd on each different page...

    Could you please clarify?

  3. #3
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: [REQ][500] FOr another comment box (You'll see why below)


  4. #4
    Wizet's Avatar
    Wizet is offline x10 Elder Wizet is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Brooklyn, New York.
    Posts
    644

    Re: [REQ][500] FOr another comment box (You'll see why below)

    Well in xPlozion's script the script would duplicate the comments on different pages because they were linked to one database.

  5. #5
    javajenius's Avatar
    javajenius is offline x10 Lieutenant javajenius is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    258

    Re: [REQ][500] FOr another comment box (You'll see why below)

    I dont know if you will find a mysql powered comment box that works on different pages, but here is the next best thing:

    http://grestul.com/

    It works with mysql, but unfortunately if you want to create more then one comment box, your going to have to install the comment box again(using up 1 mysql database for each one)

    I dont understand why you cant just use a simple flat-file based comment box, but oh well.

    By the way, the next version of grestul supports multiple comment boxes on one mysql database. I'm sure you can ask for an early release on their forums.

  6. #6
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: [REQ][500] FOr another comment box (You'll see why below)

    OK - this is weird and getting more confusing...

    Do you

    a) want one type of comment insert script that works on various pages.

    b) want different types of comment insert script that works on various pages but enters the data to the same DB

    c) want the results from the comments to show differently on different pages

    I am not in favour of using 3rd party pieces of code as they make customisation complex.

    When you say that Xplozions script "duplicates the comments on different pages", it must be taking the results from one RS and inserting them again.... this doesn't make sense. This why I thought you meant the way in which the results are showing.

  7. #7
    edu2004eu is offline x10 Sophmore edu2004eu is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    128

    Re: [REQ][500] FOr another comment box (You'll see why below)

    Wizet, you can change the comment box from xPlozion so that you get what you want.

  8. #8
    Wizet's Avatar
    Wizet is offline x10 Elder Wizet is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Brooklyn, New York.
    Posts
    644

    Re: [REQ][500] FOr another comment box (You'll see why below)

    Quote Originally Posted by edu2004eu View Post
    Wizet, you can change the comment box from xPlozion so that you get what you want.
    PHP very bad =(
    Quote Originally Posted by freecrm View Post
    OK - this is weird and getting more confusing...

    Do you

    a) want one type of comment insert script that works on various pages.

    b) want different types of comment insert script that works on various pages but enters the data to the same DB

    c) want the results from the comments to show differently on different pages

    I am not in favour of using 3rd party pieces of code as they make customisation complex.

    When you say that Xplozions script "duplicates the comments on different pages", it must be taking the results from one RS and inserting them again.... this doesn't make sense. This why I thought you meant the way in which the results are showing.
    a) no idea what you mean
    b and c) are almost the same and that is what I want.

  9. #9
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: [REQ][500] FOr another comment box (You'll see why below)

    Quote Originally Posted by Wizet View Post
    a) no idea what you mean
    b and c) are almost the same and that is what I want.
    OK - b and c are very different.

    b) an insert script uses a MySQL insert statement that puts data into the database - i.e. when a user physically enters text into a form field and the php puts that into a table.

    For instance
    <body>
    <form>
    <input name="datecreatedfield" type="hidden" id="datecreatedfield" value="<?php echo time();?>" />
    <input name="commentfield" type="text" id="commentfield" />
    <input type="submit" name="button" id="button" value="Submit" />
    </form>
    </body>

    blah blah...

    MySQL statement "INSERT INTO COMMENTTABLE (DATECREATED, COMMENT) VALUES ($_POST['datecreatedfield'], $_POST['commentfield'])"

    c) a result script returns value from the database (e.g. in the form of a recordset that can then be displayed on your page using "echo"

    For instance

    MySQL statement "SELECT DATECREATED, COMMENT, FROM COMMENTTABLE
    ORDER BY DATECREATED"

    <?php
    echo $row_recordsetcomments['DATECREATED'];
    echo $row_recordsetcomments['COMMENT'];
    ?>

    A "comment" box is a very generic statement that could describe either.


    You can have different forms for inserting into the database (i.e. looks different but does the same function) or different tables (repeating or otherwise) to show those inserted comments after they have been entered.

    I have lots of versions of both on my site. - Take a look and let me know which page you think is like the one that you want. (Log in with "Demo" as username and "Password" as password.)

    Without fully understanding what you want, I can't help you.

  10. #10
    edu2004eu is offline x10 Sophmore edu2004eu is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    128

    Re: [REQ][500] FOr another comment box (You'll see why below)

    If you will give me access to the files and the database I can change it for you.

+ Reply to Thread

Similar Threads

  1. How do you create a Comment Box? Script help please
    By pandaxx in forum Programming Help
    Replies: 10
    Last Post: 08-19-2008, 02:15 AM
  2. Leave a Comment and get credits
    By gomco in forum The Marketplace
    Replies: 0
    Last Post: 07-13-2008, 05:48 AM
  3. up to 80 credits for posting a comment on my blog.
    By jjwinter in forum The Marketplace
    Replies: 9
    Last Post: 06-20-2008, 10:21 AM
  4. Two designs - Please criticise and comment
    By Cubeform in forum Graphics & Webdesign
    Replies: 6
    Last Post: 10-02-2007, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers