Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 BF3 Stats
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 PHP Nuke Tools
 WhoIS Lookup
 Site Map
 Write a Review
 Image Repo
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Donation
This here is a combined total of what we need to keep us going each month.

0 %

Donate

End DateApr 01
Target$50.00
Below Target$50.00
CurrencyUSD

Donators This Month
DFG
DFG DFG DFG

 
 Search our Site
 
DFG DFG
DFG DFG DFG

 
Theme Management
 
DFG


DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 749
Comments: 0
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [1405] bots stopped!

DFG
DFG DFG DFG

     
DFG HeadShot Extreme :: View topic - HSX 2017 Halloween script


Search for at
HeadShot Extreme Advanced Search

HSX 2017 Halloween script
Post new topic   Reply to topic   printer-friendly view   Thank Post    HeadShot Extreme Forum Index -> PC & Codeing Talk
View previous topic :: View next topic  
Author Message
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.


Offline
  



  • » Show Info «


Status: coRpSE is offline
PostPosted: Thu Nov 23, 2017 12:12 pm Post subject: No icon HSX 2017 Halloween script Reply with quote

I promised that I would release this if I got request, and I have had a few so here it is. If you like to have this on your site for next year, just download the attached files and install it on your site and follow these instructions. First, here is a preview.


[Watch On YouTube]


Now, to install this script, it is very easy.
  1. Download the attached files and upload to your site keeping the folder path.

  2. Next, we need to do a bit of PHP coding.

    Open: public_html/includes/javascript.php

    Find:
    PHP:
    include_once(NUKE_INCLUDE_DIR.'styles.php');   


    Add After:
    PHP:
    //  ################### HALLOWEEN #####################    
          
    global $userinfo;
        
    $yourname 'coRpSE';
        
    $cookietime 15;                     //Time between popups, (in miniutes). Set to 0 for no time between message showing up on page refreshes
        
    $cookie_name 'halloween';           //Cookie Name
        
    $cookie_value 'true';
        
    $uname2 $userinfo['username'];     //Only used if you want to target specific people or only your self for testing purposes
        
    $afdate date("md");                //Check to see if today is Halloween
    //############################################################    
    //    if ((!isset($_COOKIE[$cookie_name]) && $afdate == '1031') ||  $uname2 == $yourname){      //Use this for testing.
        
    if (!isset($_COOKIE[$cookie_name]) && $afdate == '1031'){                                 //Use this when not testing
            
    echo "<link rel=\"stylesheet\" href=\"./includes/custom_files/halloween/css/hwscript.css\" type=\"text/css\">";
            echo 
    '<div class="foreground"></div>
            <div class="midground">
              <div class="tuna"></div>
            </div>'
    ;
            echo 
    '<audio autoplay loop>
      <source src="./includes/custom_files/halloween/song/tih_song.ogg" type="audio/ogg">
      <source src="./includes/custom_files/halloween/song/tih_song.mp3" type="audio/mpeg">
    Your browser does not support the audio element.
    </audio>'
    ;
            
    //create cookie
            
    setcookie($cookie_name$cookie_valuetime() + (60 $cookietime), "/" );
            
    //cookie created
        

    // ################### END HALLOWEEN ###################### 
     


  3. Save & Close


Now, let's take a closer look at that code that you just put into the javascript file.
Watch the following video because I explain it there.


[Watch On YouTube]


Enjoy...


Expand
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.


Offline
  



  • » Show Info «


Status: coRpSE is offline
PostPosted: Fri Dec 01, 2017 3:04 pm Post subject: No icon Re: HSX 2017 Halloween script Reply with quote

updated the first post, the PHP code got stropped of all the HTML.


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
PatPgtips

Blabbing Noob
Blabbing Noob





This user has donated to the clan.



  • » Show Info «


Status: PatPgtips is offline
PostPosted: Sun Dec 03, 2017 8:19 am Post subject: No icon Re: HSX 2017 Halloween script Reply with quote

thanks corpse

i have downloaded for next halloween
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Thank Post HeadShot Extreme Forum Index ->  PC & Codeing Talk All times are UTC - 7 Hours [DST enabled]
Page 1 of 1
 


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
This topic is locked: you cannot edit posts or make replies. Sticky: [HS] / [HSX] Clan Rules 0 coRpSE 2232 Mon Jan 16, 2012 9:01 pm
coRpSE View latest post
No new posts Downloading Forum News Block File 3 MAGNET 269 Tue Mar 06, 2018 9:23 pm
coRpSE View latest post
No new posts FILE REPOSITORY Error Message and Other Problems 8 Ghostwarrior 790 Sun Oct 22, 2017 4:00 pm
Ghostwarrior View latest post
No new posts Heads up HSX your tank may lose or gain in Economics 0 Sephiroth 992 Mon Mar 19, 2012 3:07 pm
Sephiroth View latest post
No new posts [HSX] Arty Scope 5 coRpSE 1652 Fri Mar 16, 2012 6:31 pm
coRpSE View latest post
 




Powered By: phpBB © 2001 - 2008 phpBB Group
SimpleBlack V2 By: killigan
© DarkForge Graphics 2008 - 2009 All Rights Reserved

Googlepage: GooglePullerPage
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme