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.

48 %

Donate

End DateJul 01
Target$50.00
Below Target$26.03
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 779
Comments: 0
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [1464] 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.

coRpSE
Currently Offline
Last Seen Online:
11 hrs, 59 mins ago

Most Played:
This week: 13.1hrs.
Total played: 1,074hrs.


  
Must be married.



  • » Show Info «


Status: coRpSE is offline
Post Posted: 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.

coRpSE
Currently Offline
Last Seen Online:
11 hrs, 59 mins ago

Most Played:
This week: 13.1hrs.
Total played: 1,074hrs.


  
Must be married.



  • » Show Info «


Status: coRpSE is offline
Post Posted: 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
Post Posted: 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 
No new posts Announcement: Name Change 4 Sephiroth 2004 Wed Mar 19, 2014 3:38 pm
Spartacus1968 View latest post
No new posts First new PUBG vehicle announced. 0 coRpSE 213 Fri Sep 22, 2017 8:44 am
coRpSE View latest post
No new posts first ever World of Tanks clan tournament! 2 Biteme 2277 Mon Apr 04, 2016 11:47 pm
PLISKEN View latest post
No new posts Few new site changes 1 coRpSE 849 Mon Jan 11, 2016 10:58 am
0079 View latest post
No new posts My First Impressions of Windows 10 0 coRpSE 705 Fri Aug 07, 2015 5:25 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