Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - davy_74

Pages: [1] 2 3
1
Hi filks

I need some help. I always show two random images. I need after voting to keep the one with the biggest rating and change the one with smaller rating for a new random pic. Somebody can help me?

Cheers

David

2
Discussion & Troubleshooting / checkimages
« on: December 27, 2007, 04:38:45 PM »
Hi guys

I'm working on checkimages "Check new images" and I wonder Why we have to select a category before check for new images? Why if you don't select a category you get a "No new images found" when you know you already did an upload. I you have several new images in several categories it would be a mess going around.

If I select a category, that's fine, but what if I want to see all my new images without selecting a category How can we fix that?

Cheers

Davy

3
Discussion & Troubleshooting / Need help
« on: December 27, 2007, 04:17:15 PM »
Hi guys

I ned a little help. I have two random images in my page, when I vote one of them I want to keep the one with higher votes and replace the one with less points.

How can I do that?

Cheer

David

4
Discussion & Troubleshooting / Can't vote images with 0 rating and 0 votes
« on: December 26, 2007, 10:55:49 PM »
Hi guys

I'm having a weird trouble. Some images that shows 0 points in rating and 0 votes,  show me the message Sorry, you've already rated for this image once recently. How is this possible if they have 0 votes and 0 rating. In fact, 0 is not a valid value for voting, so if you vote once, you could't get 0 rating.

Weird eh?

Some ideas? My code of rating_form.html is as follow:

<table  border="0">
  <tr>
    <td><form method="post" action="{parent}">
  <table border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td class="head1">
        <table border="0" cellspacing="0" cellpadding="3" class="row1">
          <tr>
            <td valign="bottom">
              <select name="rating" class="select">
                <option value=""> -- Select and Vote -- </option>

                <option value="10">10</option>
                <option value="9">9</option>
                <option value="8">8</option>
                <option value="7">7</option>
                <option value="6">6</option>
                <option value="5">5</option>
                <option value="4">4</option>
                <option value="3">3</option>
                <option value="2">2</option>
                <option value="1">1</option>
              </select>
            </td>
            <td>
              <input type="hidden" name="action" value="rateimage" />
              <input type="hidden" name="id" value="{image_id}" />
              <input type="submit" value="{rate}" class="button" name="submit" />
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>
</td>
    <td width="50"></td>
    <td>

<FORM>
                        <div align="center">
                          <INPUT name="Submit" type="submit" class="button" value="Return" action="index.php">
                        </div>
                      </FORM>  </td>
  </tr>
</table>


Cheers

David


5
Discussion & Troubleshooting / Image identifier
« on: December 26, 2007, 04:33:12 PM »
Hi folks

I have a little question.
How can I show the number (image_id) before the name of the image everywhere I show a picture?

Cheers

Davy

6
Discussion & Troubleshooting / [MOD] Votes saved in DB problem (option A)
« on: December 26, 2007, 03:52:22 PM »
Hey guys

I already installed the [MOD] Votes saved in DB. I use Option A. I use a table called "voted" to store the image_id, the user_id, vote, and user_IP. The problem is when I delete an image or an entire category, it's ok. 4images delete the records in the images table, but doesn't delete the record in the voted table. How can we repair this?

Cheers

David

7
Discussion & Troubleshooting / thumbnail problem
« on: December 24, 2007, 06:58:41 PM »
Hi folks

All my thumbnails are 200 pixels, but I need  {random_image} visualize the thumbnails 100 pixels wide. How can I do that?

Cheers

David

8
Discussion & Troubleshooting / User Profile in a new windows
« on: December 24, 2007, 06:12:22 PM »
Hi folks

Merry Christmas for all of you, and my best wishes for the new comming year!!!



I have a question ... a dumb one. In details, in the table where appears the data of the selected picture you are viewing at full resolution, there is a link to the owner's profile of the picture. I want that link opens in the parent window, because my details page open in a new browser. I need to add
target="_parent" to this code, but it doesn't work. Somebody can help me? 

 $user_name_link = "<a href=\"".$site_sess->url($user_profile_link)."\">".$user_name."</a>";


Cheers

Davy

9
Discussion & Troubleshooting / Disallowing rate form if already voted
« on: December 21, 2007, 04:40:44 PM »
Hi guys

I need some help. If somebody click a picture already voted for himself I want to show it in details in a normal 4images way, but disallow or not show the rate form and show this message instead:

You've already rated for this image once recently.

Cheers

Davy

10
Discussion & Troubleshooting / Deleting Categories and Subcategories
« on: December 20, 2007, 06:00:03 PM »
Hi folks

In ACP, when I want to modify categories and subcategories, how can I see the number of images stored in each category and subcategory? I want to avoid deleting categories that contains some images.

The same in the category combo box, I want to visualize the umber of images.

Cheers

Davy

11
Discussion & Troubleshooting / 4images log
« on: December 20, 2007, 03:13:52 PM »
Hi folks

Does 4images has a log? There is a way to keep log of all errors in order to know what it's going on? For example when you can not see captcha image sometimes, and some other you can.

Cheers

David

12
Discussion & Troubleshooting / about captcha
« on: December 20, 2007, 02:41:36 PM »
Hi folks

I have a problem. Everytime I want to register a user sometimes I see captcha image  and sometimes not. Sometimes I have to click on the image several times until the image appears. I tried and it seems to be randomly. I see captcha images with all the available backgrounds. What is going on? I can't understand that. I checked the file permisions and everythig is ok. Some ideas please? Maybe V@no or Nicky or some other gurus  :D

Cheers

Davy

13
Discussion & Troubleshooting / Rating Value
« on: December 18, 2007, 11:01:50 PM »
Hi folks

How can I show the rating value of every image in my index page, just like 4images show the owner of the image and the comments number.

Another question is how can I add a button or a link in details.php that takes me to the index.php with a reload?

Cheers and thanks in advance.

Davy

14
Discussion & Troubleshooting / sometimes I cannot see captcha image
« on: December 18, 2007, 10:21:46 PM »
Hi folks

I have a problem. Everytime I want to register a user sometimes I see captcha image  and sometimes not. Sometimes I have to click on the image several times until the image appears. I tried and it seems to be randomly. I see captcha images with all the available backgrounds. What is going on? I can't understand that. I checked the file permisions and everythig is ok. Some ideas please?

Cheers

Davy

15
Discussion & Troubleshooting / Vote ina new window
« on: December 18, 2007, 10:07:09 PM »
Hi folks

Maybe somebody knows some MODs to do this.

I have two random images in my index page instead of new images. Normal behaivour of 4images is clicking on an image opens detalis.php. I want that clicking on an image opens details in a new window (like javascript) and after that voting or not, when you close that window, the main window reloads so that way, will show diferent images.

Some ideas?

Thanks in advance

David

Pages: [1] 2 3