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

Author Topic: Signature image v2.3  (Read 619490 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.20.2
« Reply #30 on: April 20, 2005, 02:52:33 AM »
replace
Code: [Select]
$not_in_cat = ""; with
Code: [Select]
$not_in_cat = "0";
P.S. I've updated the original code to v2.20.2
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 JimmyGee

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Signature image v2.20.2
« Reply #31 on: April 20, 2005, 05:02:55 PM »
I dont need to grant any permissions, permissions are fine. The hoster is no help. You are no help. I will abandon this little addon I think, too much hassle to set up.

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.20.2
« Reply #32 on: April 21, 2005, 12:30:43 AM »
I dont need to grant any permissions, permissions are fine. The hoster is no help. You are no help. I will abandon this little addon I think, too much hassle to set up.
I hate to be rude, but that's fine by me, please dont use it.
If a person would reather wait for help, instead of try solve it selves (that including googling) or just read the explanation for each setting in the file, then why would I need such trouble "on my sholders"?

*cough* $random_fast = 1; //if your mysql account doesn't have permission to create/delete temporary tables, set this to 0 *cough*
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 ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Signature image v2.20.2
« Reply #33 on: April 21, 2005, 02:53:41 AM »
Hi can we apply this software to this signature? http://software.redshift.je/?p=m&i=23

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.20.2
« Reply #34 on: April 21, 2005, 02:57:01 AM »
and the point of doing this is...?
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 ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Signature image v2.20.2
« Reply #35 on: April 21, 2005, 03:24:16 AM »
use other signatures ramdomly, like if you have other sites you can show the 4images signature and the others from the others sites ramdonly

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.20.2
« Reply #36 on: April 21, 2005, 03:32:00 AM »
did u actualy see what that script does?
it just simply show u a random image from img folder...
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 ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Signature image v2.20.2
« Reply #37 on: April 21, 2005, 04:25:25 AM »
oooh ok

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Signature image v2.20.2
« Reply #38 on: April 21, 2005, 09:23:11 AM »
I'm sorry, but what changed in v2.20.2?  :oops:

Just the $not_in_cat stuff?  :|
MAяTRIX


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.20.2
« Reply #39 on: April 21, 2005, 02:24:12 PM »
correct
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 suprdave71

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Heroic Images!
Re: Signature image v2.20.1
« Reply #40 on: April 26, 2005, 08:33:51 PM »
Quote
Fatal error: Cannot instantiate non-existent class: db in /homepages/5/d23272572/htdocs/erz/4images/signature.php on line 117
Bekomme das mit der Signature einfach nicht hin ! Habe alles nach Anleitung gemacht
Kann mir jemand helfen ?

Danke

Hey V@no --

I have this same error, and I also have the db_mysql.php file in my includes folder. Can you help me as well?

http://heroicimages.net/4images/signature.php

No problem emailing you the code if you need it...

Thanks,

Dave

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.20.2
« Reply #41 on: April 27, 2005, 12:41:11 AM »
Then both of u have same mistake: the ROOT_PATH
U must understand structure and the difference between relative and full paths.
relative path - is the path relatively to the executed file. It begins with a dot or two dots with a slash.
if its begins with one dot: ./ it means the directory where the executed file is
if it begins with two dots: ../ it measn a directory one level below the executed file

The full path is relative to the root of the file system. On unix based systems it starts with a forward slash ( / ) and on windows systems with a drive letter ( C:\ ) if u must use backslashes in the path ("windows server" systems), then u must use two backslashes ( C:\\path\\blah )

This mod has no preferenced for the type of path, u can use either full or relative path

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 suprdave71

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • Heroic Images!
Re: Signature image v2.20.2
« Reply #42 on: April 27, 2005, 05:03:30 AM »
Then both of u have same mistake: the ROOT_PATH

Thank you, V@no. I realized I had made things harder for myself by trying to update the Config section of your code. I just copied/pasted it back in as you had it & it works.

Sorry for my blunder but at least I learned a little something.  :oops:

Dave

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: Signature image v2.20.2
« Reply #43 on: May 05, 2005, 09:27:19 PM »
Hi,

i want to include the Status Indicator into my Signature.

I have put in this

Code: [Select]
$lang_yahoo = "<img src=\"http://osi.lostinspacehosting.com:81/yahoo/jensfunk\">";
and in the $stats = array( section i have put this in

Code: [Select]
array(array($fsize, $offset2+$tiny, $lang_yahoo, "text_color"))
But see my Signature, what is wrong???
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

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.20.2
« Reply #44 on: May 05, 2005, 10:03:42 PM »
u can try this:
replace
Code: [Select]
// --------- End Config ----------
with:
Code: [Select]
$statusimages = "/www/onlinestatusimgs/"; //the directory where online.gif offline.gif and unknown.gif images are.
$statusurl = "http://osi.lostinspacehosting.com:81/"; //the url of status indicator server. WITH TRAILING SLASH!
//list of messengers
$messengers = array(
  "icq" => "85389818",
  "aim"   => "JensF200x",
  "yahoo"   => "jensfunk"
);
// --------- End Config ----------

function online($id, $what)
{
  global $statusurl;
  $url = parse_url($statusurl);
  $header = "";
  if ($request = @fsockopen($url['host'], ((isset($url['port'])) ? $url['port'] : 80), $header, $header, 3))
  {
    fputs($request, "GET /$what/$id HTTP/1.0\r\nHost: ".$url['host']."\r\n\r\n");
    $header = fread($request, 200);
    fclose($request);
    if (strstr($header, "online"))
    {
      return true;
    }
    if (strstr($header, "unknown"))
    {
      return 2;
    }
    else
    {
      return false;
    }
  }
  return 2;
}

Then find:
Code: [Select]
  $function = "Image".$type;Insert above:
Code: [Select]
  $i = 0;
  $n = array_rand($messengers, count($messengers));
  $left = ($width/2) - (48*count($messengers)/2) - 14;
  foreach ($n as $key)
  {
    $status = online($messengers[$key], $key);
    $img = ($status) ? (($status === true) ? "online" : "unknown") : "offline";
    $st = imagecreatefromgif($statusimages.$key.$img.".gif");
    imagecopymerge($im, $st, ($left+$i), ($height-25), 0, 0, 48, 25, 100);
    $i += 48;
  }
edit the settings.
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)