Page 2 of 2 FirstFirst 12
Results 17 to 32 of 32

Thread: Just joined the Hexus team...

  1. #17
    You're god damn right Barry's Avatar
    Join Date
    Jul 2003
    Posts
    1,484
    Thanks
    70
    Thanked
    75 times in 59 posts
    • Barry's system
      • Motherboard:
      • Gigabyte Z270M-D3H
      • CPU:
      • Intel i7 7700
      • Memory:
      • 16GB (2x8GB) Avexir 2400
      • Storage:
      • Samsung 860 256GB SSD, Sandisk Ultra 3D 500GB, LG BR Writer
      • Graphics card(s):
      • Evga GeForce GTX Titan X 12GB
      • PSU:
      • Corsair RM750I
      • Case:
      • Fractal Design Focus G
      • Operating System:
      • Windows 10 Professional
      • Monitor(s):
      • 28" Acer UHD 4K2K
      • Internet:
      • Sky Fibre
    Seen too many teams brake up in seti
    Someone left a note on a piece of cake in the fridge that said, "Do not eat!". I ate the cake and left a note saying, "Yuck, who the hell eats paper ?

  2. #18
    cat /dev/null streetster's Avatar
    Join Date
    Jul 2003
    Location
    London
    Posts
    4,138
    Thanks
    119
    Thanked
    100 times in 82 posts
    • streetster's system
      • Motherboard:
      • Asus P7P55D-E
      • CPU:
      • Intel i5 750 2.67 @ 4.0Ghz
      • Memory:
      • 4GB Corsair XMS DDR3
      • Storage:
      • 2x1TB Drives [RAID0]
      • Graphics card(s):
      • 2xSapphire HD 4870 512MB CrossFireX
      • PSU:
      • Corsair HX520W
      • Case:
      • Coolermaster Black Widow
      • Operating System:
      • Windows 7 x64
      • Monitor(s):
      • DELL U2311
      • Internet:
      • Virgin 50Mb
    quackers - i take it that in order to have a sig like yours (the OCuk sig scripty thingy) you have to be part of the OCuk team - it doesnt make it clear, but i couldnt get the bastard thing working no matter how hard i tried are there any alternatives other than the OCuk image one, because i havent managed to find any...

    mark

  3. #19
    You're god damn right Barry's Avatar
    Join Date
    Jul 2003
    Posts
    1,484
    Thanks
    70
    Thanked
    75 times in 59 posts
    • Barry's system
      • Motherboard:
      • Gigabyte Z270M-D3H
      • CPU:
      • Intel i7 7700
      • Memory:
      • 16GB (2x8GB) Avexir 2400
      • Storage:
      • Samsung 860 256GB SSD, Sandisk Ultra 3D 500GB, LG BR Writer
      • Graphics card(s):
      • Evga GeForce GTX Titan X 12GB
      • PSU:
      • Corsair RM750I
      • Case:
      • Fractal Design Focus G
      • Operating System:
      • Windows 10 Professional
      • Monitor(s):
      • 28" Acer UHD 4K2K
      • Internet:
      • Sky Fibre
    Quote Originally Posted by streetster
    quackers - i take it that in order to have a sig like yours (the OCuk sig scripty thingy) you have to be part of the OCuk team - it doesnt make it clear, but i couldnt get the bastard thing working no matter how hard i tried are there any alternatives other than the OCuk image one, because i havent managed to find any...

    mark
    his is the same as mine

    if you want I could host it for you (I already host 30 odd for TPR)

    Just send me the image you want used, seti email address and text you want before/after the WU count
    Someone left a note on a piece of cake in the fridge that said, "Do not eat!". I ate the cake and left a note saying, "Yuck, who the hell eats paper ?

  4. #20
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps
    I too would like to know how to do it (would wanna host it myself). Where did you learn to do it then?

  5. #21
    You're god damn right Barry's Avatar
    Join Date
    Jul 2003
    Posts
    1,484
    Thanks
    70
    Thanked
    75 times in 59 posts
    • Barry's system
      • Motherboard:
      • Gigabyte Z270M-D3H
      • CPU:
      • Intel i7 7700
      • Memory:
      • 16GB (2x8GB) Avexir 2400
      • Storage:
      • Samsung 860 256GB SSD, Sandisk Ultra 3D 500GB, LG BR Writer
      • Graphics card(s):
      • Evga GeForce GTX Titan X 12GB
      • PSU:
      • Corsair RM750I
      • Case:
      • Fractal Design Focus G
      • Operating System:
      • Windows 10 Professional
      • Monitor(s):
      • 28" Acer UHD 4K2K
      • Internet:
      • Sky Fibre
    Need GD installed on your server to run it.

    PHP Code:
    <?php



    //Setup Variables For Sig
       
    $UserEmail="seti email address ";
       
    $PreText="pretest";
       
    $PostText="posttest";
       
    $TextRed=255;
       
    $TextGreen=255;
       
    $TextBlue=255;
       
    $FontSize=15;
       
    $TextX=60;
       
    $TextY=40;
       
    $ImageURL="path to image";
       
    $UpdatePeriod=900//Maximum frequency in seconds at which the script will poll Berkeley

    //Setup Variables For Webspace - Must be absolute paths
       
    $LocalFile="WUTotal.dat";
       
    $FontFile="discognate.ttf";


       if(!
    file_exists($LocalFile) or !FileMTime($LocalFile) or time()-FileMTime($LocalFile)>$UpdatePeriod)
       {

        
    //Get Total Number Of WUs from personal stats page at Berkeley
        
    $fp =@fopen ("http://setiathome.ssl.berkeley.edu/fcgi-bin/fcgi?email=" $UserEmail "&cmd=user_stats_new""r");
        if (
    $fp)
        {
         while (!
    feof($fp))
         {
          
    $WebPage.=fgets($fp,200);
         }
         
    fclose($fp);

         if (
    strpos($WebPage,"No user with that name was found")==0)
         {
          
    $TotalStart=strpos($WebPage,"Results Received");
          
    $StartPos=strpos($WebPage,"<td>",$TotalStart)+4;
          
    $EndPos=strpos($WebPage,"</td>",$StartPos);
           
    $WUs=ltrim(rtrim(substr($WebPage,$StartPos,$EndPos
    -$StartPos)));
         }
         else
         {
          
    $WUs="User not found.";
         }

         
    //Update Local File With Total
         
    $Output fopen ($LocalFile"a");
         
    ftruncate ($Output0);
         
    fseek($Output,0);
         
    fwrite($Output$WUs);
         
    fclose($Output);
        }
       }

       
    //Read Total from Local File
       
    $Local=@fopen ($LocalFile"r");
       
    $WUs=fgets($Local,200);
       
    fclose($Local);


       
    //Build Text String
       
    $Text=$PreText "\r\n" $WUs " " $PostText;

      
    //Create Image
       
    $size ImageTTFBbox ($FontSize0$FontFile $Text);

       
    $im_x=abs($size[4]-$size[0]);
       
    $im_y=abs($size[5]-$size[1]);

       if (
    substr($ImageURL,strlen($ImageURL)-3,3)=="jpg")
       {
        
    //Create a Sig image based on a JPEG
        
    Header("Content-type: image/jpeg");
        
    Header("Expires: " gmdate("D, d M Y H:i:s"time() + 900) . " GMT");
        
    $im_size GetImageSize ($ImageURL);
        
    $imageWidth $im_size[0];
        
    $imageHeight $im_size[1];
        
    $im ImageCreateFromJPEG($ImageURL);
        
    $text_color imagecolorclosest ($im$TextRed$TextGreen$TextBlue);
        if (
    $TextX+$im_x>$imageWidth){$TextX=$imageWidth-$im_x-2;}
        if (
    $TextY>$imageHeight){$TextY=$imageHeight-2;}
        
    imagettftext ($im$FontSize0$TextX$TextY$text_color$FontFile$Text);
        
    ImageJpeg ($im);
        
    ImageDestroy ($im);
       }
       elseif (
    substr($ImageURL,strlen($ImageURL)-3,3)=="png")
       {
        
    //Create a Sig image based on a PNG
        
    Header("Content-type: image/png");
        
    Header("Expires: " gmdate("D, d M Y H:i:s"time() + 900) . " GMT");
        
    $im_size GetImageSize ($ImageURL);
        
    $imageWidth $im_size[0];
        
    $imageHeight $im_size[1];
        
    $im ImageCreateFromPNG($ImageURL);
        
    $text_color imagecolorclosest ($im$TextRed$TextGreen$TextBlue);
        if (
    $TextX+$im_x>$imageWidth){$TextX=$imageWidth-$im_x-2;}
        if (
    $TextY>$imageHeight){$TextY=$imageHeight-2;}
        
    imagettftext ($im$FontSize0$TextX$TextY$text_color$FontFile$Text);
        
    ImagePNG ($im);
        
    ImageDestroy ($im);
       }
    ?>
    Someone left a note on a piece of cake in the fridge that said, "Do not eat!". I ate the cake and left a note saying, "Yuck, who the hell eats paper ?

  6. #22
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps
    Hmm... maybe not then!

  7. #23
    cat /dev/null streetster's Avatar
    Join Date
    Jul 2003
    Location
    London
    Posts
    4,138
    Thanks
    119
    Thanked
    100 times in 82 posts
    • streetster's system
      • Motherboard:
      • Asus P7P55D-E
      • CPU:
      • Intel i5 750 2.67 @ 4.0Ghz
      • Memory:
      • 4GB Corsair XMS DDR3
      • Storage:
      • 2x1TB Drives [RAID0]
      • Graphics card(s):
      • 2xSapphire HD 4870 512MB CrossFireX
      • PSU:
      • Corsair HX520W
      • Case:
      • Coolermaster Black Widow
      • Operating System:
      • Windows 7 x64
      • Monitor(s):
      • DELL U2311
      • Internet:
      • Virgin 50Mb
    whats GD?

    might have a butchers when i get home, i've got PHP installed, but thats about it... is it just a copy and paste job of all that code into a file called like 'seti.php' ?

    mark

    edit - found http://php.weblogs.com/GD i guess thats it then
    Last edited by streetster; 02-03-2004 at 10:07 AM.

  8. #24
    cat /dev/null streetster's Avatar
    Join Date
    Jul 2003
    Location
    London
    Posts
    4,138
    Thanks
    119
    Thanked
    100 times in 82 posts
    • streetster's system
      • Motherboard:
      • Asus P7P55D-E
      • CPU:
      • Intel i5 750 2.67 @ 4.0Ghz
      • Memory:
      • 4GB Corsair XMS DDR3
      • Storage:
      • 2x1TB Drives [RAID0]
      • Graphics card(s):
      • 2xSapphire HD 4870 512MB CrossFireX
      • PSU:
      • Corsair HX520W
      • Case:
      • Coolermaster Black Widow
      • Operating System:
      • Windows 7 x64
      • Monitor(s):
      • DELL U2311
      • Internet:
      • Virgin 50Mb
    cheers barry, got it all sorted even without being able to code php, managed to work out what was going on (well a bit anyhow),

    basically Big Al, download php 4.3.3 (7.15mb) which includes all the GD stuff, then copy and paste all that code barry put into notepad and save into a file like 'seti.php', edit the bit at the top - ie

    Code:
    //Setup Variables For Sig 
       $UserEmail="big_al@hotmail.com"; 
       $PreText="work units completed :"; 
       $PostText="something here maybe"; 
       $TextRed=255; 
       $TextGreen=255; 
       $TextBlue=255; 
       $FontSize=15; 
       $TextX=60; 
       $TextY=40; 
       $ImageURL="http://www.bigal.com/woop.jpg";
    that bit, and you might want to change the 'font' bit to something like tahoma (the default one didnt work for me..) and you are sorted

    mark
    Last edited by streetster; 02-03-2004 at 10:38 PM.

  9. #25
    quackers
    Guest
    im glad you got it working streetster, im not sure exactly how the php in my sig works.

  10. #26
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps
    I'll give it a go! Cheers.

  11. #27
    You're god damn right Barry's Avatar
    Join Date
    Jul 2003
    Posts
    1,484
    Thanks
    70
    Thanked
    75 times in 59 posts
    • Barry's system
      • Motherboard:
      • Gigabyte Z270M-D3H
      • CPU:
      • Intel i7 7700
      • Memory:
      • 16GB (2x8GB) Avexir 2400
      • Storage:
      • Samsung 860 256GB SSD, Sandisk Ultra 3D 500GB, LG BR Writer
      • Graphics card(s):
      • Evga GeForce GTX Titan X 12GB
      • PSU:
      • Corsair RM750I
      • Case:
      • Fractal Design Focus G
      • Operating System:
      • Windows 10 Professional
      • Monitor(s):
      • 28" Acer UHD 4K2K
      • Internet:
      • Sky Fibre
    Quote Originally Posted by quackers
    im glad you got it working streetster, im not sure exactly how the php in my sig works.
    It's the same php code, Just modified by buff on OCUK to allow a frontend
    Someone left a note on a piece of cake in the fridge that said, "Do not eat!". I ate the cake and left a note saying, "Yuck, who the hell eats paper ?

  12. #28
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps
    Well, I downloaded that php thing... well... I'll leave it alone this time...

  13. #29
    cat /dev/null streetster's Avatar
    Join Date
    Jul 2003
    Location
    London
    Posts
    4,138
    Thanks
    119
    Thanked
    100 times in 82 posts
    • streetster's system
      • Motherboard:
      • Asus P7P55D-E
      • CPU:
      • Intel i5 750 2.67 @ 4.0Ghz
      • Memory:
      • 4GB Corsair XMS DDR3
      • Storage:
      • 2x1TB Drives [RAID0]
      • Graphics card(s):
      • 2xSapphire HD 4870 512MB CrossFireX
      • PSU:
      • Corsair HX520W
      • Case:
      • Coolermaster Black Widow
      • Operating System:
      • Windows 7 x64
      • Monitor(s):
      • DELL U2311
      • Internet:
      • Virgin 50Mb
    big al - do you have an apache server running, cos you basically need a webserver running and then this php thingy on top of it...

    mark

  14. #30
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps
    An Apache is an assault helicoptor right?

    As I said, I think I'll leave it alone...

    I don't have a server, I have a domain name but no hoster at the moment (can't afford anything) so am using geocities/uploadit to store my stuff.

  15. #31
    You're god damn right Barry's Avatar
    Join Date
    Jul 2003
    Posts
    1,484
    Thanks
    70
    Thanked
    75 times in 59 posts
    • Barry's system
      • Motherboard:
      • Gigabyte Z270M-D3H
      • CPU:
      • Intel i7 7700
      • Memory:
      • 16GB (2x8GB) Avexir 2400
      • Storage:
      • Samsung 860 256GB SSD, Sandisk Ultra 3D 500GB, LG BR Writer
      • Graphics card(s):
      • Evga GeForce GTX Titan X 12GB
      • PSU:
      • Corsair RM750I
      • Case:
      • Fractal Design Focus G
      • Operating System:
      • Windows 10 Professional
      • Monitor(s):
      • 28" Acer UHD 4K2K
      • Internet:
      • Sky Fibre
    Quote Originally Posted by Barry
    If you want I could host it for you (I already host 30 odd for TPR)

    Just send me the image you want used, seti email address and text you want before/after the WU count
    Someone left a note on a piece of cake in the fridge that said, "Do not eat!". I ate the cake and left a note saying, "Yuck, who the hell eats paper ?

  16. #32
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps
    Ok, thanks. I guess I'll have to figure out a decent sig piccy now!

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Joined Team Hexus
    By AndyL in forum Software
    Replies: 7
    Last Post: 28-11-2003, 10:49 PM
  2. Joined Team Hexus Seti
    By Stylez in forum Software
    Replies: 1
    Last Post: 01-11-2003, 02:40 AM
  3. Hexus Seti Team
    By kaillum in forum Software
    Replies: 22
    Last Post: 03-10-2003, 07:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •