Author Topic: Jan - "Post Comment" feature not working !!  (Read 4991 times)

0 Members and 1 Guest are viewing this topic.

Offline Ruben

  • Newbie
  • *
  • Posts: 28
    • View Profile
Jan - "Post Comment" feature not working !!
« on: June 24, 2002, 04:25:16 PM »
could you please check and tell me what I am doing wrong?

I am a registered member, in fact an admin, I was testing the commenting system by posting a comment for an image, I have Post Comment ENABLED on the image category....when I press the "Post Comment" button it reloads the page, but the comment is not shown !

What I am doing wrong?

http://www.wobpictures.com/index.php

Thanks !

-Ruben
-Ruben
World of Britney.com

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Jan - "Post Comment" feature not working !!
« Reply #1 on: June 24, 2002, 04:31:06 PM »
Hi,

i think somethings going wrong with your templates. The comments seems to be saved, because i can send the form only one time, the next time the spam message appears.
Check your templates, maybe you removed the {comments} tag...

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Ruben

  • Newbie
  • *
  • Posts: 28
    • View Profile
Jan - "Post Comment" feature not working !!
« Reply #2 on: June 24, 2002, 04:34:55 PM »
Ok, this is just part of my template for details.html :

<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="640" id="AutoNumber6">
    <tr>
      <td width="100%">
      <align="center">
      <div align="center">
        <center>
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber19">
          <tr>
            <td width="100%">
                        <table width="100%" border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
                    <tr>
                            <td class="head1" valign="top" colspan="2" bordercolorlight="#000000">{image_name}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_description}</b></td>
                            <td valign="top" class="row1">{image_description}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_keywords}</b></td>
                            <td valign="top" class="row2">{image_keywords}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_date}</b></td>
                            <td valign="top" class="row1">{image_date}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_hits}</b></td>
                            <td valign="top" class="row2">{image_hits}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_downloads}</b></td>
                            <td valign="top" class="row1">{image_downloads}</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row2"><b>{lang_rating}</b></td>
                            <td valign="top" class="row2">{image_rating} ({image_votes}
                              {lang_votes})</td>
                          </tr>
                          <tr>
                            <td valign="top" class="row1"><b>{lang_file_size}</b></td>
                            <td valign="top" class="row1">{image_file_size}</td>
                          </tr>
                    <tr>
                            <td valign="top" class="row2"><b>{lang_added_by}</b></td>
                            <td valign="top" class="row2">{user_name_link}</td>
                          </tr>
                    
                    <tr>
                            <td valign="top" class="row1"><b>{lang_image_test}</b></td>
                            <td valign="top" class="row1">{image_test}</td>
                          </tr>
                    <tr>
                            <td valign="top" class="row2"><b>{lang_image_test2}</b></td>
                            <td valign="top" class="row2">{image_test2}</td>
                          </tr>
                        </table>
                      </td>
          </tr>
        </table>
        </center>
      </div>
      <align="center">
      </td>
    </tr>
  </table>
  </center>
</div>
      <div align="center">
        <center>
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="640" id="AutoNumber27">
          <tr>
            <td>
            <p align="center"><br>
            {if iptc_info}<br>
            IPTC Info<br>
                  {endif iptc_info}
              <br>
            {if rate_form}</p>
            <div align="center">{rate_form}</div>
            <p align="center">{endif rate_form}
                  {if allow_comments}</p>
            <p align="center">{comment_form}
                  {endif allow_comments}</p>
            <div align="center">
              <center>
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="475" id="AutoNumber29">
                <tr>
                  <td width="267">
                  <p align="left">{if prev_image_name}{lang_prev_image}<br />
                              <b><a href="{prev_image_url}">{prev_image_name}</a></b>
                       <!-- <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a> -->
                       {endif prev_image_name} </td>
                  <td width="231">
                  <p align="right">{if next_image_name}{lang_next_image}<br />
                              <b><a href="{next_image_url}">{next_image_name}</a></b>
                       <!-- <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a> -->
                       {endif next_image_name}</td>
                  </tr>
                </table>
                </center>
              </div>
              <p><br>
&nbsp;</td>
            </tr>
          </table>
          </center>
        </div>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="640" id="AutoNumber18">
    <tr>
      <td>
      <p align="center">
      <img border="0" src="http://www.wobpictures.com/hrbreak.jpg" width="640" height="6"></td>
    </tr>
  </table>
  </center>
</div>


By the way, what is IPTC ?

Hope you can help me, thanks..

-Ruben
-Ruben
World of Britney.com

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Jan - "Post Comment" feature not working !!
« Reply #3 on: June 24, 2002, 04:43:00 PM »
The part with the {comments} tag is missing. Check the original template for the code between {if allow_comments} and {endif allow_comments}

IPTC:
You can save some informations with your image file, for example with Photoshop. This informations will be displayed. Example: http://demo.4homepages.de/details.php?image_id=54

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Ruben

  • Newbie
  • *
  • Posts: 28
    • View Profile
Jan - "Post Comment" feature not working !!
« Reply #4 on: June 24, 2002, 04:49:50 PM »
It works now, thanks, glad I caught you online ! I'm sorta working under time pressure here, hehe...

-Ruben
-Ruben
World of Britney.com