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

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

0 Members and 2 Guests are viewing this topic.

Offline e-trader_2002

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: Signature image v2.22
« Reply #300 on: September 19, 2006, 07:49:24 PM »
Hi V@no,

off course I noticed that there is something like BBCode available in this forum and I gave it a few tries before posting my request for assistance. But still being a newbie I'm not familiar with that stuff. So even the link in your last post doesn't give me enough information to do the trick completely; only the grafic is displayed now but the link is still a separate text.
My signature now looks like this:

Code: [Select]
A hobby is a great way to spent time you actually don't have! :wink:
[URL]http://www.fruitsticker.de/4images/signature/tmp/signature.php?go=1]
[img]http://www.fruitsticker.de/4images/signature.php[/img][/URL]

I can't think of anything else to do about it and I wouldn't feel really offended, if you could post the full BBCode to displayed the complete grafic-link. :wink:

Thanks in advance

e-trader_2002
« Last Edit: September 19, 2006, 10:21:17 PM by e-trader_2002 »
A hobby is a great way to spent time you actually don't have! :wink:


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.22
« Reply #301 on: September 20, 2006, 12:45:55 AM »
You almost there ;)

[qcode]A hobby is a great way to spent time you actually don't have! :wink:
[url=http://www.fruitsticker.de/4images/signature/tmp/signature.php?go=1]
[
img]http://www.fruitsticker.de/4images/signature.php[/img][/url][/qcode]
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 e-trader_2002

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: Signature image v2.22
« Reply #302 on: September 20, 2006, 09:21:04 AM »
Hi V@no,

thank you, as you can see it's working now. :D And all necessary information was indeed provided by the link you gave. But maybe after a long day at the office I was to tired to see it.  :roll:

e-trader_2002
A hobby is a great way to spent time you actually don't have! :wink:


Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: Signature image v2.22
« Reply #303 on: September 23, 2006, 05:35:12 AM »
Hi everyone, didn't we have a lot of templates here? What happened to them, I hope someone could put some templates they are using for signature.png. I am looking for something with rocks or stones or mud, something like that.

Thank you very much,

last resort, i will try do one myself, but they always get distorted... :(

Please Vote for my site: Here

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.22
« Reply #304 on: September 23, 2006, 05:57:04 AM »
last resort, i will try do one myself, but they always get distorted... :(
make sure you save your png templates in 24bit ;)
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 hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: Signature image v2.22
« Reply #305 on: September 23, 2006, 04:39:35 PM »
I will try, thanks V@no! :)

Please Vote for my site: Here

Offline e-trader_2002

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: Signature image v2.22
« Reply #306 on: September 24, 2006, 08:17:44 AM »
Hi,

there is a way to dynamically display the 4images version of your site in signature.php. Dynamically means, you can do it without defining it as a constant in signature.php itself and it will change automatically if you upgrade your version of 4images. In order to use this, it may be necessary to increase the height of your signature#.png files in \signatures also. You may use a grafic editor of your choice to do this.

To do this insert the red code-fragtments into signature.php:

[qcode]
$lang_online = "Online: ";
$lang_comments = "Comments: ";
$lang_version = "4images Version: ";
// --------- End Config ----------
[/qcode]

[qcode]
$current_time = time();
if (!$time || (($current_time - $time) > $expire || ($current_time - $time) < 0) || $debug)
{
  $show = array();
  include(ROOT_PATH.'config.php');
  include(ROOT_PATH.'includes/constants.php');
  include(ROOT_PATH.'includes/db_mysql.php');
  define('MEDIA_PATH', ROOT_PATH.MEDIA_DIR);
  define('THUMB_PATH', ROOT_PATH.THUMB_DIR);
  define('MEDIA_TEMP_PATH', ROOT_PATH.MEDIA_TEMP_DIR);
  define('THUMB_TEMP_PATH', ROOT_PATH.THUMB_TEMP_DIR);
  define('TEMPLATE_PATH', ROOT_PATH.TEMPLATE_DIR."/".$template);
  define('ICON_PATH', ROOT_PATH.TEMPLATE_DIR."/".$template."/icons");
  include(ROOT_PATH.'includes/functions.php');
  $site_db = new Db($db_host, $db_user, $db_password, $db_name);
  $version = SCRIPT_VERSION;

// --- Random image -----
[/qcode]

[qcode]
  //array with data:
  //[0] - font type
  //[1] - offset
  //[2] - text
  //[3] - color (i.e. "text_color" will use $text_color variable)
  $stats = array(
                  array(array($fsize, $offset2+$tiny, $lang_images, "text_color"), array($fsize, $far, $show['total_images']." (".$show['total_new_images']." new)", "text_color")),
                  array(array($fsize, $offset2+$tiny, $lang_cat, "text_color"), array($fsize, $far, $show['total_categories'], "text_color")),
                  array(array($fsize, $offset2+$tiny, $lang_comments, "text_color"), array($fsize, $far, $show['comments'], "text_color")),
                  array(array($fsize, $offset2+$tiny, $lang_users, "text_color"), array($fsize, $far, $show['total_users'], "text_color"), array($fsize, $far+strlen($show['total_users'])*($fsize+4), " and ".$show['total_users_awaiting']." not activated", "text_color")),
                  array(array($fsize, $offset2+$tiny, $lang_online, "text_color"), array($fsize, $far, $total_online, "red"), array($fsize, $far+strlen($total_online)*($fsize+4), $online, "text_color")),
                  array(array($fsize, $offset2+$tiny, $lang_new_user, "text_color"), array($fsize, $far, $show['new_user'], "text_color")),
                  array(array($fsize, $offset2+$tiny, $lang_version, "text_color"), array($fsize, $far, $version, "text_color"))
  );
  if ($signature_template_random)
[/qcode]

You can see the result in my signature below.

e-trader_2002
« Last Edit: September 24, 2006, 08:48:09 AM by e-trader_2002 »
A hobby is a great way to spent time you actually don't have! :wink:


Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: Signature image v2.22
« Reply #307 on: September 30, 2006, 11:25:48 PM »
How can I make (xxx new) part of the images RED color..
I tried something like this (which of course does not work).

Code: [Select]
array(array($fsize, $offset2+$tiny, $lang_images, "text_color"), array($fsize, $far, $show['total_images'], "text_color"), array($fsize, $offser2_$tiny, "(".$show['total_new_images']." new)", "red")),

Please Vote for my site: Here

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.22
« Reply #308 on: October 01, 2006, 12:25:01 AM »
what is this?
$offser2_$tiny
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 hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: Signature image v2.22
« Reply #309 on: October 01, 2006, 05:31:35 AM »
offset, mistype. But i was wondering, i realized that I must seperate the XX and (xxx new) strings by two arrays.
Images:  XX  (xxx new)

So, instead of two arrays in that part, it will be three arrays, so that we can have seperate color for them two.

And when seperated, I assumed the two new arrays must follow the same syntax, with 4 in both of them.
I didn't know how to put the offset so I copied from the first one, because I didn't know if I could just put a pixel there.
Still didn't work. :(

Please Vote for my site: Here

Offline annam

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Signature image v2.22
« Reply #310 on: October 08, 2006, 05:34:46 PM »
Hi. Is it possible to change the signature.php in any way so that I can publish on the frontpage of my joomla site?
I just wanted the thumbnail to show, not the details of the forum :)
Could anyone here please give me some light?
Thank you!
we have a mod for that "[mod] random image" :?
All this time I´ve been trying to fix that mod on my Joomla site, but I can´t do it :(
Could anyone here please give me some hint?



Offline |Rene|

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Bauwagencrew
Re: Signature image v2.22
« Reply #311 on: November 23, 2006, 06:51:21 PM »
Hallo, ich habe Probleme beim Anzeigen der Signatur. Habe möglichkeiten 1 und 2 bereits getestet. Wenn ich die PHP direkt Adressiere wird die Signatur angezeigt. Leider kann ich in meinem Forum (iphpbb) scheinbar nur Bilddateien verwenden. Wenn ich dafür also Methode zwei teste bekomme ich nur das bekannte X. Auch das Auskommentieren der Header Funktionen bringt nichts.

Jemand eine Idee woran es noch liegen könnte?

Offline ccsakuweb

  • Sr. Member
  • ****
  • Posts: 498
  • Patri
    • View Profile
    • My Art
Re: Signature image v2.22
« Reply #312 on: November 30, 2006, 10:48:14 PM »
Hi! Great mod Vano ;)
but.. i think that my server don't support it because I'm only obtain the signature in php and the third step. http://www.paxykochan.net/myart/signature.php/sig.png but http://www.paxykochan.net/myart/signature.png?go=1 doesn't works.

I try first option but i don't see the signature.. and if i use the second option my all website will be white... because is an error..
However I will use this with a target , but the signature image don't change and the thumbnail don't change too, I don't understand it because I have in settings $random_image = 1; //show random image. And I only have a signature in the folder, but it isn't your signature.. allways is the same signature... -.-
:arrow: 4images Paid Mods: Links, Blog, Albums, Subdomains for users, Diferent templates for user profile, Related picture in details, Last pictures in details.
And the mod that you request me.   Demo: http://www.myart.es

A website dedicated to artist people who loves drawing, design, writing and more

Offline ELO

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://www.altautobilder.de
Re: Signature image v2.22
« Reply #313 on: February 03, 2007, 07:48:22 PM »
Hallo, ich habe Probleme beim Anzeigen der Signatur. Habe möglichkeiten 1 und 2 bereits getestet. Wenn ich die PHP direkt Adressiere wird die Signatur angezeigt. Leider kann ich in meinem Forum (iphpbb) scheinbar nur Bilddateien verwenden. Wenn ich dafür also Methode zwei teste bekomme ich nur das bekannte X. Auch das Auskommentieren der Header Funktionen bringt nichts.

Jemand eine Idee woran es noch liegen könnte?
Ich habe das selbe Problem (phpBBoard), gibt es schon eine Lösung dafür?
Hier geht es einwandfrei
Gruß
Michael


Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Signature image v2.22
« Reply #314 on: February 03, 2007, 08:00:03 PM »
kannst du den mod rewrite nutzen?