• Signature image v2.3 5 0 5 1
Currently:  

Author Topic: Signature image v2.3  (Read 619608 times)

0 Members and 1 Guest are viewing this topic.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Signature image v2.21
« Reply #225 on: February 03, 2006, 10:59:37 AM »
@ ivan

... um diesen bug zu umgehen (bis eine Lösung gefunden ist) kannst du folgendes machen ...
... nimm dein Lieblings-Thumbnail -> wandele es ins gif-Format um -> benenne es 404.gif -> kopiere es nach /templates/<dein_template>/icons/ -> mache eine Sicherung von deiner alten 404.gif ...
... oder du definierst dein $noimage mit deinem Lieblings-Thumbnail ...
... nun wirst du "file not found" nicht mehr in deiner Signatur sehen ...
... dafür vielleicht öfter dein Lieblings-Thumbnail ... und niemanden fällt es auf ...
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 V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.21
« Reply #226 on: February 03, 2006, 02:33:38 PM »
and do you have any remote files (thumbnails/media files)?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Signature image v2.21
« Reply #227 on: February 03, 2006, 06:55:04 PM »
@ ivan

... bei mir kam das auch vor ...
... doch wie ich das Problem gelöst habe ... weist du ja nun ...  :wink:
... ich nehme an, dass der random-Auswahlvorgang nach einer bestimmten Zeit abgebrochen wird ...
... und das passiert abhängig von der Bilderzahl, der Serverlast oder ...
... und dann wird eben "file not found" eingefügt ...
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 Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Signature image v2.21
« Reply #228 on: February 14, 2006, 12:31:52 PM »
NUn muss ich wohl doch auch einen Beitrag schreiben, da anscheinend ich der einzige bin, der nunr JPGs in seiner Galerie hat.

Die Signature usw. funktioniert alles prima soweit. Nur wird immer das jpeg.gi als Thumbnail angezeigt, da ihc keine jpeg-Bilder habe. Ich habe nur JPG-Bilder und keine JPEG-Bilder. Also habe ich mal alles im Script von JPEG auf JPG umgewandelt und bekomme aber nun plötzlich folgende Meldung:

DB Error: Bad SQL Query: CREATE TEMPORARY TABLE tab_883866 TYPE = HEAP SELECT i.image_id, i.cat_id FROM 4images_images i LEFT JOIN 4images_categories c ON c.cat_id = i.cat_id WHERE i.image_active = 1 AND c.auth_viewcat = 0 AND i.cat_id NOT IN (20) ORDER BY RAND() LIMIT 1
Access denied for user: 'web517@localhost' to database 'usr_web517_1'

DB Error: Bad SQL Query: SELECT t.image_id, t.cat_id, i.user_id, i.image_name, i.image_media_file, i.image_thumb_file FROM tab_883866 AS t LEFT JOIN 4images_images AS i ON i.image_id=t.image_id
Table 'usr_web517_1.tab_883866' doesn't exist

DB Error: Bad SQL Query: DROP TABLE tab_883866
Unknown table 'tab_883866'

Fatal error: Call to undefined function: imagejpg() in /var/www/web517/html/THEPICTUREWORLD/signature.php on line 348


Was ist nun das Problem? Sobald er quasi ein Bild nun endlich findet, macht es terror...

Habe daraufhin dann im Script das random-fast auf 0 mal gesetzt und habe nun nur noch diese Fehlermeldung:
Fatal error: Call to undefined function: imagecreatefromjpg() in /var/www/web517/html/THEPICTUREWORLD/signature.php on line 338

Aber nun weiss ich nicht mehr weiter...


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.21
« Reply #229 on: February 15, 2006, 06:06:12 AM »
DB Error: Bad SQL Query: CREATE TEMPORARY TABLE tab_883866 TYPE = HEAP SELECT i.image_id, i.cat_id FROM 4images_images i LEFT JOIN 4images_categories c ON c.cat_id = i.cat_id WHERE i.image_active = 1 AND c.auth_viewcat = 0 AND i.cat_id NOT IN (20) ORDER BY RAND() LIMIT 1
Access denied for user: 'web517@localhost' to database 'usr_web517_1'
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Signature image v2.21
« Reply #230 on: February 15, 2006, 09:40:06 AM »
Sorry for my English.

This is no my problem! I have make "random-fast to 0" on the signature.php.

And now i have this Problem:
Fatal error: Call to undefined function: imagecreatefromjpg() in /var/www/web517/html/THEPICTUREWORLD/signature.php on line 338

Look for my Problem:
http://www.thepictureworld.de/signature.php

I have only JPG-Files in my Gallery and NO JPEG-Files!
if i make in the signature.php of JPEG, is the script running and i see ONLY the JPEG.GIF. But if i make in the script to JPG i see this code:
Fatal error: Call to undefined function: imagecreatefromjpg() in /var/www/web517/html/THEPICTUREWORLD/signature.php on line 338

Deutsch:
Das ist ja nicht mehr mein Problem! Habe in der signature.php das "random-fast = 0" nun gesetzt. Jetzt habe ich nur noch dieses Problem:
Fatal error: Call to undefined function: imagecreatefromjpg() in /var/www/web517/html/THEPICTUREWORLD/signature.php on line 338

Also nochmal. ich habe keine JPEG-Files sondern nur JPG-Files in meiner Galerie. Lasse ich im Script es auf JPEG funktioniert das Script aber zeigt mir nur die JPEG.GIF an, da ich ja keine Bilder in diesem Format habe. Ändere ich das Script auf JPG, so bekomme ich diese Fehlermeldung. Warum???

Hier könnt ihr mein momentanes Problem sehen:
http://www.thepictureworld.de/signature.php


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.21
« Reply #231 on: February 15, 2006, 09:41:49 AM »
Are you sure that your host has GD enabled? if not (which is seems like it), you can not use this script...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Signature image v2.21
« Reply #232 on: February 15, 2006, 09:51:50 AM »
Yes. my GD ist enabled.

Look:
http://www.thepictureworld.de/phpinfo.php


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.21
« Reply #233 on: February 15, 2006, 02:35:25 PM »
Ok, how about you test any scripts with the original code provided with only configuration changes and then when you make sure its working properly you start modifying it for your needs? Otherwise you modify something you are not supposed to, break the sript and then trying to get support ;)
Hope you understand what I'm trying to say.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline izone

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Signature image v2.21
« Reply #234 on: February 15, 2006, 03:09:37 PM »
Chicco

Your sig. works fine for me!

Offline Chicco

  • Full Member
  • ***
  • Posts: 211
    • View Profile
    • The Picture World
Re: Signature image v2.21
« Reply #235 on: February 15, 2006, 03:18:21 PM »
Yes. I have make all new. New Script, new PNG-Template.....
But.....When I had already already used the original Script yesterday, it did not go! Now already! :roll: 8O

Sorry! :lol: :wink:

Deutsch:
Ich habe nun alles nochmal neu gemacht. Neues PHP-Datei und neue PNG-Template. Und nun funktioniert es plötzlich!!! Dabei war es gestern eigentlich genauso. Alles genau so gemacht wie im Forum es drin steht bzw. wie ich es heute auch gemacht habe! Aber da ging es nicht! Könnte kot....!!! ;-)

Es tut mir leid, das ich nun so manchen genervt habe! Trotzdem vielen Dank für Eure Hilfe!

Sorry
« Last Edit: February 15, 2006, 04:12:03 PM by Chicco »


Wissen ist MACHT! Nix zu wissen macht aber auch nix! ;-)

Gruß
Ch¿cco

Offline egozent

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Re: Signature image v2.21
« Reply #236 on: February 22, 2006, 04:06:08 PM »
Wie kann ich das Ganze auf Deutsch anzeigen lassen?
Ich habe zwar in der signature.php die Punkte "Bilder", "Mitglieder", usw. bereits umbenannt,
doch dahinter steht dann "new", "not activated", usw. Diese Punkte konnte ich nicht finden.

Offline egozent

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Re: Signature image v2.21
« Reply #237 on: February 24, 2006, 02:04:19 PM »
Erst einmal danke für die Hilfe.
Allerdings gibt es ein kleines Problem:
1 Gast    -    2 Gäste
Wie kann ich den Code umbauen,
daß es so angezeigt wird.
Denn bisher können bei Plural
nur Buchstaben angehängt werden.

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Signature image v2.21
« Reply #238 on: February 25, 2006, 06:50:18 PM »
Die Zeile als solche ist ja schon die Lösung ;)

ändere die Zeile einfach so:
Code: [Select]
$online = " ( ".$show['reg_online'].(($show['reg_online'] > 1 || !$show['reg_online'])? "Mitglieder" : "Mitglied")." und ".$show['guests_online'].(($show['guests_online'] > 1 || !$show['guests_online'])? "Gäste" : "Gast").")";
Funzt es?
MAяTRIX


Offline egozent

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Re: Signature image v2.21
« Reply #239 on: February 25, 2006, 08:14:22 PM »
Hm, hab's bei mir mal eingebaut.
Allerdings kann ich nicht sagen, ob es geht,
da momentan nur ich auf der Seite bin.. :wink:
Bin leider in PHP nicht so fit. Aber mir war klar,
daß es wohl kein ohne Akt sein dürfte.