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

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

0 Members and 1 Guest are viewing this topic.

Offline benda

  • Pre-Newbie
  • Posts: 4
    • View Profile
    • BuntAufGrau.de
Re: Signature image v2.21
« Reply #120 on: July 14, 2005, 06:05:28 PM »
Ich hab in mein 4images phpBB integriert.
Ich würd gern in meiner Signature den letzten User und die Anzahl der User die grad online sind anzeigen lassen. Hab auch ein mod für phpBB Signature gefunden. http://www.phpbb.de/viewtopic.php?t=26079&highlight=signature+php
Leider ist mein php nicht so gut. Hab es probiert, aber leider nicht hin bekommen. Vielleicht hat ja noch jemand phpBB integriert der mehr von php versteht  :roll: und der es umschreiben könnt.

Würd mich freuen.

ps. werd es solang selbst weiter probieren....

Offline dontstay

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Signature image v2.21
« Reply #121 on: July 19, 2005, 04:32:59 AM »
Hello,

I'm trying to change the font for my image. I downloaded the converter to convert the font I wanted to use to GD, and uploaded them to my server, and in the signature.php file I specified what directory I had uploaded the fonts to, but the images generated are still using the default font. How would I go about changing the font to that of my own? Thank you so much for your help!

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 #122 on: July 19, 2005, 08:53:27 AM »
did u update these two lines?
Code: [Select]
$fonts_dir = ""; //directory with custom fonts WITH TRAILING SLASH! (leave blank if no fonts)
$fonts = array(); // an array with font names the first number is the number that u can use in $fsize variable, it must be sequenced! and first item must have number 6!
the $fonts array the correct structure?
Code: [Select]
$fonts = array(
               6  => "micross8px.gdf",
               7  => "micross9px.gdf",
               8  => "micross10px.gdf",
               9  => "micross12px.gdf"
);
and did u specify your new font in $fsize variable?
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 fiskedagboken

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Megapixeln
Re: Signature image v2.21
« Reply #123 on: July 19, 2005, 09:12:36 AM »
I tried to install this mod. Unfortunatly I got this message when I was trying to see my signature.php

<b>Warning</b>:  readfile(): SAFE MODE Restriction in effect.  The script whose uid is 21 is not allowed to access /tmp/signature.tmp owned by uid 81 in <b>/home/kunder/7166/megapixeln.net/4images/signature.php</b> on line <b>359</b><br />

I have tried to chmod the tmp directory to 777, but it did´nt help.

Is there something I can do to bypass the SAFE MODE in this mod ?

Offline dontstay

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Signature image v2.21
« Reply #124 on: July 20, 2005, 12:08:12 AM »
did u update these two lines?
Code: [Select]
$fonts_dir = ""; //directory with custom fonts WITH TRAILING SLASH! (leave blank if no fonts)
$fonts = array(); // an array with font names the first number is the number that u can use in $fsize variable, it must be sequenced! and first item must have number 6!
the $fonts array the correct structure?
Code: [Select]
$fonts = array(
               6  => "micross8px.gdf",
               7  => "micross9px.gdf",
               8  => "micross10px.gdf",
               9  => "micross12px.gdf"
);
and did u specify your new font in $fsize variable?

Yes; I did all of that, and the default fonts are still showing up for me.

This is what I have:

Code: [Select]
$fonts_dir = "/signatures/"; //directory with custom fonts WITH TRAILING SLASH! (leave blank if no fonts)
$fonts = array(); // an array with font names the first number is the number that u can use in $fsize variable, it must be sequenced! and first item must have number 6!
/*
//an example array:
$fonts = array(
               6  => "AntigoneBd.gdf",
               7  => "micross8px.gdf",
               8  => "micross9px.gdf",
               9  => "BeyondWonderland.gdf"
);
*/
$fsize = 1; //font type (1 - 5)

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 #125 on: July 20, 2005, 12:40:08 AM »
@fiskedagboken:
try manualy remove the tmp/signature.tmp file

Yes; I did all of that, and the default fonts are still showing up for me.

This is what I have:

Code: [Select]
$fonts_dir = "/signatures/"; //directory with custom fonts WITH TRAILING SLASH! (leave blank if no fonts)
$fonts = array(); // an array with font names the first number is the number that u can use in $fsize variable, it must be sequenced! and first item must have number 6!
/*
//an example array:
$fonts = array(
 6 => "AntigoneBd.gdf",
 7 => "micross8px.gdf",
 8 => "micross9px.gdf",
 9 => "BeyondWonderland.gdf"
);
*/
$fsize = 1; //font type (1 - 5)
your $fsize is still set to use build-in font ( 1 ). your new fonts are avalable with numbers starting with 6 and whatever is your last font number is. (in your case its 9)
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 fiskedagboken

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Megapixeln
Re: Signature image v2.21
« Reply #126 on: July 20, 2005, 08:21:24 AM »
Tnx V@no  for taking the time to answer me.
I have no signature.tmp file in my tmp map.
This is a link to my signature.php   http://www.megapixeln.net/4images/signature.php

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 #127 on: July 20, 2005, 02:26:34 PM »
Tnx V@no  for taking the time to answer me.
I have no signature.tmp file in my tmp map.
This is a link to my signature.php   http://www.megapixeln.net/4images/signature.php
ok, then create a folder where you account has access to and make it writible and update your signature.php
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 fiskedagboken

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Megapixeln
Re: Signature image v2.21
« Reply #128 on: July 20, 2005, 05:24:10 PM »
Tnx v@no




Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Signature image v2.21
« Reply #129 on: July 27, 2005, 01:58:27 PM »
Hello V@no
could you show me how to add the small country flag on the signature?
i would like to have them just below the
Onlie: xx members


sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: Signature image v2.21
« Reply #130 on: July 28, 2005, 11:43:57 PM »
Could somebody help me.
i have a windows server and apache.

i get these error messages:
Code: [Select]
Warning: imagecreatefrompng() [function.imagecreatefrompng]: './signatures/' is not a valid PNG file in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 284

Warning: imagesx(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 285

Warning: imagesy(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 286

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 287

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 288

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 290

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagestring(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 300

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 337

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 340

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 344

Warning: imagerectangle(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 345

Warning: imagepng(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 348

Warning: imagedestroy(): supplied argument is not a valid Image resource in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php:284) in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 354

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php:284) in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 355

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php:284) in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 356

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php:284) in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 357

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php:284) in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 358

Warning: readfile(/tmp/signature.tmp) [function.readfile]: failed to open stream: No such file or directory in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/signature.php on line 359

i think i have the wrong paths.

i dont have a /tmp folder.  do ihave to create one?

Ok. Problem is solved!!!  :D


Offline Gulper

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Signature image v2.21
« Reply #131 on: August 04, 2005, 03:08:16 PM »
Followed all steps exactly as described here.... but calling the script just brings up an empty page.... tested it on my modified version of 4images and also on a new and clean installation... both 4images version are 1.7.1.... Script and jpeg.gif are in root... signature.gif is in folder signatures.... maybe anyone knows why it is not working?

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 #132 on: August 04, 2005, 03:14:11 PM »
a link to the signature please?
and if u wish u can PM me with its source code.
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 bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: Signature image v2.21
« Reply #133 on: August 04, 2005, 10:51:16 PM »
I thiought it should be a signature.png in the signature folder.
not a .gif file.
perhaps that is the reason.

Offline ID25

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Signature image v2.21
« Reply #134 on: August 14, 2005, 05:18:50 PM »
V@no: maybe you can post your signature.php there?

there is clock and other features, looks good..