Author Topic: Picture of the month  (Read 151609 times)

0 Members and 1 Guest are viewing this topic.

Offline nika2000

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: Picture of the month
« Reply #45 on: August 02, 2005, 03:09:21 PM »

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Picture of the month
« Reply #46 on: August 02, 2005, 07:06:45 PM »
nika2000
da scheint sonst noch etwas nicht zu stimmen - ich kann immer wieder abstimmen! eigentlich sollte ich nach dem ersten mal für bis ende Monat gesperrt sein!

gruss
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline om6acw

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • My Animal's World
Re: Picture of the month
« Reply #47 on: August 03, 2005, 05:15:11 AM »
great mod, thank you!!!
Ondrej

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Picture of the month
« Reply #48 on: August 06, 2005, 12:11:46 PM »
HI,

i love this mod !!

Only one problem: The script dont select pictures from the gallery automatically.
When i select the pics by hand in the database all works fine with the voting.

database    : MySQL 3.23.55
PHP Version: 4.3.11

Can anyone help me?

http://www.malediven-bilder.de/potm.php


Der Mod ist geil.
Einziges Problem, das ich nun habe:
Das Script wählt nicht automatisch Bilder aus der Datenbank aus.
Wenn ich diese per Hand aus der Datenbank auswähle, klappt alles wunderbar mit dem Voting usw.

Hat jemand eine Idee oder kann mir weiterhelfen?

http://www.malediven-bilder.de/potm.php

Gruß
Kurt

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Picture of the month
« Reply #49 on: August 08, 2005, 06:10:22 PM »
Hi nochmals,

hat denn keiner eine Idee ??
no idea about my problem ??

 :cry:

Kurt

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: Picture of the month
« Reply #50 on: August 11, 2005, 08:42:43 PM »
einzelne categorie:
nach:
Code: [Select]
$sql = "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_thumb_file, i.image_media_file, i.image_thumb_file, i.image_rating, i.image_votes, i.image_comments, c.cat_name, u.user_name, i.image_downloads, i.image_hits, i.image_potm, i.image_potm_date, i.image_potm_votes
        FROM ".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c, ".USERS_TABLE." u
        WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id AND i.user_id = u.user_id $cat_match_sql ".$sql_datum."

das einfügen:
Code: [Select]
AND i.cat_id IN (x)x=deine id für deine categorie

Offline kindian

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Re: Picture of the month
« Reply #51 on: August 11, 2005, 09:45:05 PM »
When i select the pics by hand in the database all works fine with the voting.

How did you do that? I mean "by hand", I need to do that but havent found the solution....  :(

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Picture of the month
« Reply #52 on: September 03, 2005, 05:44:03 PM »
please vote für a picture  8) http://www.foto-kocher.com/potm.php  :wink:
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: Picture of the month
« Reply #53 on: September 08, 2005, 06:06:14 PM »
one simply question :

this show me this

Admin
: Beseech
: Male users
Comments: 3


how can i put before ":" Username and Category ??

Admin
Username : Beseech
Category  : Male users
Comments: 3


??? any ideias ?


Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Picture of the month
« Reply #54 on: September 08, 2005, 06:36:21 PM »
Did you check your language/main.php?

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: Picture of the month
« Reply #55 on: September 08, 2005, 07:06:57 PM »
Code: [Select]
//-----------------------------------------------------
//--- Photo of the month ------------------------------
//----------------------------------------------------- 
$lang['potm_link'] = "Photo of the month";
$lang['potm_title'] = "Vote for photo of the month";
$lang['potm'] = "potm";
$lang['potm_vote'] = "Vote";
$lang['potm_votes'] = "Votes:";
$lang['potm_lastwinners'] = "Winners of the last months";
$lang['potm_vote_menu'] = "Back to vote";
$lang['potm_winner'] = "Winner of the month";
$lang['potm_top_title'] = "Leading photos";
$lang['potm_winners_title'] = "Winners of the last months";
$lang['potm_no_permission'] = "You have already voted. You can vote only once a month.";
$lang['potm_locv'] = "Leading photos of current vote";
$lang['top_user'] = "User";
$lang['top_category'] = "Category";
$lang['month_array'] = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

but on potm page show only " : "  !!!!


Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Picture of the month
« Reply #56 on: September 08, 2005, 08:01:43 PM »
When you can not find the problem, you can write the text directly into the potm.html file.
Matthias

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: Picture of the month
« Reply #57 on: September 08, 2005, 08:07:23 PM »
i will try ;)

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Picture of the month
« Reply #58 on: September 08, 2005, 08:12:32 PM »
Sorry the text ist in the potm.php not potm.html
Matthias

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: Picture of the month
« Reply #59 on: September 08, 2005, 08:56:38 PM »
and what i need change of added ?