Author Topic: [MOD] eCard Counter / Postkartenzähler  (Read 136169 times)

0 Members and 1 Guest are viewing this topic.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #30 on: June 29, 2006, 02:04:04 AM »
@ amordeo

hast du Punkt 8.1 abgearbeitet ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline amordeo

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #31 on: June 29, 2006, 10:12:06 AM »
hallo
ja habe ich:

Code: [Select]
<td class="head1" valign="top" colspan="5">{lang_top_image_postcards}</td>
</tr>
<tr>
  <td valign="top" class="row1" align="center"><b>1</b></td>
  <td valign="top" class="row1">{image_postcards_thumb_1}</td>
  <td valign="top" class="row1">{image_postcards_1}</td>
  <td valign="top" class="row1">{image_postcards_user_1}</td>
  <td valign="top" class="row1">{image_postcards_cat_1}</td>
  <td valign="top" class="row1" nowrap>{image_postcards_number_1}</td>
</tr>
<tr>
  <td valign="top" class="row2" align="center"><b>2</b></td>
  <td valign="top" class="row2">{image_postcards_thumb_2}</td>
  <td valign="top" class="row2">{image_postcards_2}</td>
  <td valign="top" class="row2">{image_postcards_user_2}</td>
  <td valign="top" class="row2">{image_postcards_cat_2}</td>
  <td valign="top" class="row2" nowrap>{image_postcards_number_2}</td>
</tr>
<tr>
  <td valign="top" class="row1" align="center"><b>3</b></td>
  <td valign="top" class="row1">{image_postcards_thumb_3}</td>
  <td valign="top" class="row1">{image_postcards_3}</td>
  <td valign="top" class="row1">{image_postcards_user_3}</td>
  <td valign="top" class="row1">{image_postcards_cat_3}</td>
  <td valign="top" class="row1" nowrap>{image_postcards_number_3}</td>
</tr>
<tr>
  <td valign="top" class="row2" align="center"><b>4</b></td>
  <td valign="top" class="row2">{image_postcards_thumb_4}</td>
  <td valign="top" class="row2">{image_postcards_4}</td>
  <td valign="top" class="row2">{image_postcards_user_4}</td>
  <td valign="top" class="row2">{image_postcards_cat_4}</td>
  <td valign="top" class="row2" nowrap>{image_postcards_number_4}</td>
</tr>
<tr>
  <td valign="top" class="row1" align="center"><b>5</b></td>
  <td valign="top" class="row1">{image_postcards_thumb_5}</td>
  <td valign="top" class="row1">{image_postcards_5}</td>
  <td valign="top" class="row1">{image_postcards_user_5}</td>
  <td valign="top" class="row1">{image_postcards_cat_5}</td>
  <td valign="top" class="row1" nowrap>{image_postcards_number_5}</td>
</tr>
<tr>
  <td valign="top" class="row2" align="center"><b>6</b></td>
  <td valign="top" class="row2">{image_postcards_thumb_6}</td>
  <td valign="top" class="row2">{image_postcards_6}</td>
  <td valign="top" class="row2">{image_postcards_user_6}</td>
  <td valign="top" class="row2">{image_postcards_cat_6}</td>
  <td valign="top" class="row2" nowrap>{image_postcards_number_6}</td>
</tr>
<tr>
  <td valign="top" class="row1" align="center"><b>7</b></td>
  <td valign="top" class="row1">{image_postcards_thumb_7}</td>
  <td valign="top" class="row1">{image_postcards_7}</td>
  <td valign="top" class="row1">{image_postcards_user_7}</td>
  <td valign="top" class="row1">{image_postcards_cat_7}</td>
  <td valign="top" class="row1" nowrap>{image_postcards_number_7}</td>
</tr>
<tr>
  <td valign="top" class="row2" align="center"><b>8</b></td>
  <td valign="top" class="row2">{image_postcards_thumb_8}</td>
  <td valign="top" class="row2">{image_postcards_8}</td>
  <td valign="top" class="row2">{image_postcards_user_8}</td>
  <td valign="top" class="row2">{image_postcards_cat_8}</td>
  <td valign="top" class="row2" nowrap>{image_postcards_number_8}</td>
</tr>
<tr>
  <td valign="top" class="row1" align="center"><b>9</b></td>
  <td valign="top" class="row1">{image_postcards_thumb_9}</td>
  <td valign="top" class="row1">{image_postcards_9}</td>
  <td valign="top" class="row1">{image_postcards_user_9}</td>
  <td valign="top" class="row1">{image_postcards_cat_9}</td>
  <td valign="top" class="row1" nowrap>{image_postcards_number_9}</td>
</tr>
<tr>
  <td valign="top" class="row2" align="center"><b>10</b></td>
  <td valign="top" class="row2">{image_postcards_thumb_10}</td>
  <td valign="top" class="row2">{image_postcards_10}</td>
  <td valign="top" class="row2">{image_postcards_user_10}</td>
  <td valign="top" class="row2">{image_postcards_cat_10}</td>
  <td valign="top" class="row2" nowrap>{image_postcards_number_10}</td>
</tr>

habe auch noch die top10 von lightbox eingefügt, aber auch da, das gleiche problem. benutze übrigens 1.7.2

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #32 on: June 29, 2006, 11:00:10 AM »
@ amordeo

... soweit schein alles i.O. zu sein ...
... die top.php ist soweit ich sehe von Vers.1.7 bis 1.7.2 identisch, es kann also nicht an der Version liegen ...
... hast du den Postcard-Code in der top.php vor ...
Code: [Select]
$site_template->register_vars($register_array);
... eingefügt, d.h. diese Codezeile folgt unmittelbar dahinter ... ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline amordeo

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #33 on: June 29, 2006, 12:14:03 PM »
ja genau das war das problem, danke

Offline myr2904

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #34 on: July 07, 2006, 05:42:09 PM »
How can i add this mod on the home page??? pls help me

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #35 on: July 07, 2006, 09:25:01 PM »
... what is your problem ... ?
... please read the installation instruction -> http://www.4homepages.de/forum/index.php?topic=10439.msg51881#msg51881
... and implement everything step by step ...
... thats all ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline myr2904

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #36 on: July 07, 2006, 09:32:08 PM »
... what is your problem ... ?
... please read the installation instruction -> http://www.4homepages.de/forum/index.php?topic=10439.msg51881#msg51881
... and implement everything step by step ...
... thats all ...
It's not working for home page ... index.php ....  it's working only for top.php :(

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #37 on: July 07, 2006, 09:40:42 PM »
It's not working for home page ... index.php .... 

... you are right ... !
... it is working on detail-pages ...
... see at : Files to change are : ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline myr2904

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #38 on: July 07, 2006, 09:43:20 PM »
I want like this but top order by number of card sent

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #39 on: July 11, 2006, 09:57:39 AM »
@ myr2904

... it is all described here : http://www.4homepages.de/forum/index.php?topic=10439.msg51881#msg51881 ...
... Step 8. Top 10 - Additive ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #40 on: July 28, 2006, 02:39:11 PM »
... ich glaube dein Verständnis von diesem Counter ist nicht ganz richtig ...  :wink: ... der Counter "Neue Postkarten" zeigt alle Postkarten an, die gespeichert sind und die nicht älter als "neu" sind. Eigentlich analog "Neue Bilder"... . Kommt also im Laufe der "neu"-Zeit eine Postkarte hinzu, so zählt der Counter die Karte dazu. Läuft für eine Karte die "neu"-Zeit ab, so wird sie vom Counter nicht mehr angezeigt. Der Counter vergleicht nur das Datum der Karten mit der "neu"-Zeit und zählt dann alle relevaten Karten, die halt "neu" sind, zusammen. Der Counter wird also nicht immer automatisch auf "Null" zurückgestellt, wenn zwischenzeitlich wieder Karten dazugekommen sind ! Wenn du dem Counter nicht traus, dann vergleiche die Daten doch mal per MyPhpAdmin bzw. Postkarten-Plugin ...

"neu" -> $new_cutoff -> Neu Einstellung im ACP

PS. dein Counter steht gerade auf -> 3
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Silversand

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #41 on: August 17, 2006, 07:43:57 PM »
Hallo, super MOD! Danke dafür. Aber heute scheine ich bisschen zäh zu sein, daher eine dumme Frage:

Was mache ich mit dem SQL Code das unter Punkt 7.1 aufgelistet wird?

Danke schon mal für die Antwort.  :oops:

SIlver

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #42 on: August 17, 2006, 07:58:27 PM »
... eigentlich ist es ja schon unter Pkt. 7 beschrieben ...
... dieser Code dient als Erweiterung der dort mit Links angegeben Statistik-MODs ...
... mit ihm werden 1. alle versendeten Postkarten bzw. 2. alle versendeten Postkarten der letzten z.B. 10 Tage angezeigt ...
... du kannst den Code aber auch ohne die Statistik-MODs verwenden ...
... z.B. in die index.php einfügen und in der home.html die entsprechenden Tags verwenden ...

PS. ... aber ich sehe gerade Pkt. 7.1 war zweimal gelistet ... hab es geändert ... natürlich in Pkt.7.2 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Silversand

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #43 on: August 17, 2006, 08:21:20 PM »
super, danke dir! das mit der index ist eigentlich genau was ich suche.  :D

Offline Forty

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] eCard Counter / Postkartenzähler
« Reply #44 on: September 18, 2006, 04:03:33 PM »
in die top eingebaut und nun bekomme ich fehlerhafte sql.

ich benutze 1.7.3 vielleicht hat sich ja was geändert.

Code: [Select]
DB Error: Bad SQL Query: SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_postcards, c.cat_name, u.user_name, i.image_thumb_file, i.image_media_file FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND i.cat_id = c.cat_id ORDER BY i.image_postcards DESC, i.image_name ASC LIMIT 10
Unknown column 'i.user_id' in 'on clause'

link zur galerie: http://www.geranet.de/forty/4images/top.php