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

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

0 Members and 1 Guest are viewing this topic.

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 #195 on: November 24, 2005, 11:44:22 PM »
You can list the categories IDs that you dont want to see thumbnails from:
Code: [Select]
$not_in_cat = "0"; //list of categories which should not be included for random image, separated by coma (i.e. "1,2,3,7") "0" - means disabled
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 maikew

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • MW PhotoWorks & Templates
Re: Signature image v2.21
« Reply #196 on: November 25, 2005, 11:49:15 AM »
sorry for this mistake V@no you're right. :oops:

Offline Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: Signature image v2.21
« Reply #197 on: November 27, 2005, 08:03:17 PM »
I am trying to use this feature.

Is there any other nice looking image ".png" that can be used for signature.

Anywebsite that provide few ??  Or if any of you like to share some other images.

I need something in Dark Gray or Redish Brown
I m not a  Programmer.
          But
I m a Good Learner.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Signature image v2.21
« Reply #198 on: November 27, 2005, 08:35:48 PM »
When you are a "Good Learner" ... than it is not a great thing to make your own png (with PS or something else ...) ...  :wink:
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 GooSe_1977

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Signature image v2.21
« Reply #199 on: November 28, 2005, 08:25:42 PM »
hmm, ich bekomm "Die Grafik "http://www.bastian-dammers.de/images/4images/signature.php" kann nicht angezeigt werden, weil sie Fehler enthält."

hab den Text von der ersten seite kopiert und hochgeladen, den ordner für das .png erstellt und eins von den vorlagen genommen ........

Offline Darkness2001

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • photo-galerie-online
Re: Signature image v2.21
« Reply #200 on: November 29, 2005, 10:44:57 AM »
Hallo,

verry nice MOD  :D

Greez Darkness  :mrgreen:

Offline GooSe_1977

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Signature image v2.21
« Reply #201 on: November 29, 2005, 11:17:04 AM »
jetzt kommt einfach gar nichts mehr  :?:

Code: [Select]
// ------- Config -----------
$random_image = 1; //show random image
$random_fast = 0; //if your mysql account doesn't have permission to create/delete temporary tables, set this to 0
$debug = 0; //turning this on, will ignore expiration time, meaning every request will create a new image. change this to 0 before u publish your signature!
$expire = 20; //seconds before image will be expired and recompilled with new random image and information (lower this will encrease server load!)
$type = "png"; //image type: png or jpeg
$quality = "50"; //image quality when used jpeg
define('ROOT_PATH', './images/4images/'); //path to your 4images root dir with trailing slash! must be ralative ( ./ or ../ or combination of these) and NOT full internet or local (http://example/4images/ or /www/blah/4images/)
$signature_template_dir = "./signatures/"; //directory with signature template images WITH TRAILING SLASH!!!
$signature_template = "signature.png"; //default signature template image filename
$signature_template_random = 0; //use random template image? (0 = no | 1 = yes)
$path = "/tmp/"; // WRITEBLE dir (chmod 777), where compilled image will be stored (does not requere access from web)
$tmpfname = $path."signature.tmp"; // filename for the compilled image (extension does not metter)
$tmptname = $path."signature.id"; // filename for the file where some extra info will be stored in (image id)
$template = "default"; //name of the template which icons will be used, if thumbnail not found
$sitename = "Statistics for my site"; //signature header
$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 or larger!
/*

so sieht meine config aus, hab ich das was falsch ?

Offline Kyo

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Signature image v2.21
« Reply #202 on: December 03, 2005, 08:18:30 PM »
Code: [Select]
<b>Warning</b>:  readfile() has been disabled for security reasons in <b>/home/foto/public_html/signature.php</b> on line <b>359</b><br />

where is the problem? :roll:

Offline GooSe_1977

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Signature image v2.21
« Reply #203 on: December 03, 2005, 10:38:49 PM »
I don't undersatand what youre trying to tell me  :roll:

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 #204 on: December 03, 2005, 10:47:51 PM »
Try replace
Code: [Select]
readfile($tmpfname); with one of the following:
Code: [Select]
echo file_get_contents($tmpfname);or
Code: [Select]
echo implode('', file($tmpfname));
If still doesnt work, contact your hoster and ask them to allow use readfile() function.



@GooSe_1977:
If you cant get error logs, nobody would be able to help you.
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 DrknMnky

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Signature image v2.21
« Reply #205 on: December 28, 2005, 05:44:22 AM »
 :oops: Im having a problem with
Code: [Select]
$peruser = ($peruser && isset($_GET['user']) && intval($_GET['user'])) ? intval($_GET['user']) : "";

Didn't even look over it im so tired I cant even see straight :(

Just trying to finish this (Big head ache) lol

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 #206 on: December 28, 2005, 08:19:22 AM »
is there a question in your message?
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 DrknMnky

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Signature image v2.21
« Reply #207 on: December 28, 2005, 08:37:01 AM »
Parse error: parse error, unexpected T_STRING in /mysite/signature.php on line 66


... coding error? :?:

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 #208 on: December 28, 2005, 09:45:19 AM »
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 DrknMnky

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Signature image v2.21
« Reply #209 on: December 28, 2005, 09:49:47 AM »
Well lol 8O How do i fix it? :mrgreen: