Anonymous,

Please Login or Register
Download Nuke Evolution Xtreme today for a CMS you can enjoy using and sharing with your friends!
[ Download Now ]
Forum Index  ·  Search  ·  Usergroups  ·  Edit your profile  ·  Members  ·  Login, Check Messages
Arcade  ·  Ranks  ·  Staff  ·  Statistics  ·  Board Rules  ·  Forum FAQ  ·  Log in

Search for at
Evolution-Xtreme Advanced Search


+  
Latest Site News   Next 5 >>  
 Forum   Author   Replies   Last Post 
File Repository 1.0.0 Released Announcements! Lonestar 0 Tue Apr 26, 2016 6:44 am
Lonestar View latest post
Image Repository Released Announcements! Lonestar 1 Mon Oct 27, 2014 7:39 pm
Lonestar View latest post
So what happened to us? Announcements! SgtLegend 0 Tue May 06, 2014 12:32 am
SgtLegend View latest post
[PROGRESS] Nuke Evolution Xtreme 2.0.9e Announcements! SgtLegend 2 Sun May 27, 2012 6:25 pm
SgtLegend View latest post
European Cookie Law Announcements! SgtLegend 0 Sat May 26, 2012 7:33 am
SgtLegend View latest post
   
Recent Topics   Next 15 >>  
 Forum   Author   Replies   Last Post 
Evo staff looking for some volunteers. Community Announcements coRpSE 20 Thu Jul 02, 2015 9:19 am
Depresjon2 View latest post
Evo Xtreme 2.0.9D Updated for PHP 5.6 General Support coRpSE 121 Thu Mar 23, 2017 3:57 pm
casterdon View latest post
[ MOD ] - Honeypot V2.2 AntiBot Module Security coRpSE 106 Tue Nov 22, 2016 11:30 am
coRpSE View latest post
Possible new Admin area layout Comments and Suggestions Lonestar 18 Wed Sep 14, 2016 11:37 am
Blackou View latest post
jQuery update General Support Lonestar 2 Wed May 11, 2016 4:49 pm
Charles64 View latest post
Deutsche Sprachdatei - german language files German DT50R 7 Thu Jan 28, 2016 7:04 am
DT50R View latest post
[FIX] Correct Cookie Settings (Invalid Session Error) Quick fixes killigan 110 Fri Mar 20, 2015 1:06 pm
Macdaddy View latest post
head and body help General Support hercountrybuck 8 Tue Apr 04, 2017 2:08 pm
Sp0rAdiC View latest post
babstats nuke evo PHP 5.6 Modules pd35 4 Mon Mar 27, 2017 5:45 pm
Ragonese View latest post
Looking for coRpSE? He is gone till May. General Chat coRpSE 4 Sun Mar 26, 2017 6:50 pm
coRpSE View latest post
Think I got hit with malware somehow General Support bobdude 10 Sun Mar 26, 2017 6:44 pm
coRpSE View latest post
error log Bugs Redcougarxr7 31 Tue Mar 21, 2017 8:46 pm
coRpSE View latest post
I seem to be locked out of my website Smile General Support storm 4 Sat Mar 11, 2017 12:29 pm
coRpSE View latest post
Site gone off General Support GI_ 3 Fri Mar 03, 2017 11:21 am
Lonestar View latest post
Norwegian Language Multilingual Support dogbone 0 Wed Mar 01, 2017 10:43 pm
dogbone View latest post

Question about head code

 
Post new topic    Reply to topic    printer-friendly view   Thank Post    Evolution-Xtreme Forum Index -> General Support
View previous topic :: View next topic  
Author Message
hercountrybuck




Joined: May 30, 2016
Posts: 14

Reputation: 0.8
blank.png


Status: Offline
PostPosted: Wed Jan 25, 2017 7:26 pm Post subject: No icon Question about head code Reply with quote

 Where  can  i  find  the  <head>  code  to  add  a  script  into  it  out  of  curiosity  thanks  you.
Back to top
View user's profile Send private message Visit poster's website
coRpSE
Xtreme Developer
Xtreme Developer
Site Admin
Site Admin
Support Team
Support Team



Gender: Gender:Male
Joined: Dec 24, 2008
Age: 36
Posts: 1350
Location: Back of your mind!!!
Reputation: 185.8
votes: 10
usa.png


Status: Offline
Web Control Panel: 11.42.0 (build 23)
PostPosted: Wed Jan 25, 2017 9:20 pm Post subject: No icon Re: Question about head code Reply with quote

 Well,  if  your  going  to  add  JS,  or  css,  you  should  put  it  in  the  public_html/includes/javascript.php
 Everything  in  there  gets  called  in  the  head.
Back to top
View user's profile Send private message Visit poster's website
hercountrybuck




Joined: May 30, 2016
Posts: 14

Reputation: 0.8
blank.png


Status: Offline
PostPosted: Sun Jan 29, 2017 11:15 am Post subject: No icon Re: Question about head code Reply with quote

 okay  thank  you
Back to top
View user's profile Send private message Visit poster's website
Sponsor
phpstorm.jpg
hercountrybuck




Joined: May 30, 2016
Posts: 14

Reputation: 0.8
blank.png


Status: Offline
PostPosted: Sun Jan 29, 2017 11:53 am Post subject: No icon Re: Question about head code Reply with quote

 well  i  looked  but  no  luck  cause  it  is  for  freichat  backend  and  i  can  not  seem  to  find  <head>  part  in  the  javascript.php
Back to top
View user's profile Send private message Visit poster's website
Lonestar
Site Admin
Site Admin
Xtreme Developer
Xtreme Developer




Joined: Oct 09, 2008
Posts: 425

Reputation: 58.3
votes: 3
blank.png


Status: Offline
PostPosted: Sun Jan 29, 2017 12:49 pm Post subject: No icon Re: Question about head code Reply with quote

 You  just  add  the  script  to  javascript.php,  That  will  be  fine.
Back to top
View user's profile Send private message Send e-mail
hercountrybuck




Joined: May 30, 2016
Posts: 14

Reputation: 0.8
blank.png


Status: Offline
PostPosted: Sun Jan 29, 2017 12:50 pm Post subject: No icon Re: Question about head code Reply with quote

 okay  thank  you
Back to top
View user's profile Send private message Visit poster's website
Sponsor
phpstorm.jpg
hercountrybuck




Joined: May 30, 2016
Posts: 14

Reputation: 0.8
blank.png


Status: Offline
PostPosted: Sun Jan 29, 2017 3:55 pm Post subject: No icon Re: Question about head code Reply with quote

 I  have  tried  putting  it  in  javascript.php  but  when  i  save  the  edits  turns  the  whole  page  white  and  i  recieve  this..
 PHP  Parse  error:  syntax  error,  unexpected'<'in  /public_html/includes/javascript.php  on  line  422
 PHP  Parse  error:  syntax  error,  unexpected'<'in  /public_html/includes/javascript.php  on  line  422
 PHP  Parse  error:  syntax  error,  unexpected'<'in  /public_html/includes/javascript.php  on  line  132
 But  once  i  remove  the  code  the  page  goes  back  to  normal  for  freichat  so  now  i  am  100%  clueless  been  checking  it  out  i  looked  into  the  script  where  it  says  unecpted  '<'  part  but  it  is  all  coded  right  but  once  i  remove  the  code  i  placed  into  it  for  the  freichat  the  white  page  goes  away
Back to top
View user's profile Send private message Visit poster's website
Lonestar
Site Admin
Site Admin
Xtreme Developer
Xtreme Developer




Joined: Oct 09, 2008
Posts: 425

Reputation: 58.3
votes: 3
blank.png


Status: Offline
PostPosted: Sun Jan 29, 2017 6:32 pm Post subject: No icon Re: Question about head code Reply with quote

 attach  the   freichat  in  a  PM  to  me,  There  must  be  a  type  in  the  install  instructions.
Back to top
View user's profile Send private message Send e-mail
Sp0rAdiC



Gender: Gender:Male
Joined: Mar 31, 2014
Posts: 37

Reputation: 4.6
votes: 1
usa.png


Status: Offline
PostPosted: Sun Jan 29, 2017 7:53 pm Post subject: No icon Re: Question about head code Reply with quote

 I  played  around  with  freichat  and  this  is  how  I  had  it  setup
 
 
 
 
                                                 
PHP:                
if(is_user())

 
   $ses $userinfo['user_id']; //tell freichat the userid of the current user
    
setcookie("freichat_user""LOGGED_IN"time()+3600"/"); // *do not change -> freichat code
}else {
 
   $ses null//tell freichat that the current user is a guest
    
setcookie("freichat_user"nulltime()+3600"/"); // *do not change -> freichat code
 

if(!function_exists("freichatx_get_hash")){
function 
freichatx_get_hash($ses){

 
      if(is_file("/usr/www/alcoholika/public/modules/freichat/hardcode.php")){

 
              require "/usr/www/alcoholika/public/modules/freichat/hardcode.php";

 
              $temp_id  $ses $uid;

 
              return md5($temp_id);

 
      }else{
 
              echo "<script>alert('module freichatx says: hardcode.php file not
found!');</script>"
;
 
      }

 
      return 0;
}
               
Back to top
View user's profile Send private message Visit poster's website
Sponsor
phpstorm.jpg
coRpSE
Xtreme Developer
Xtreme Developer
Site Admin
Site Admin
Support Team
Support Team



Gender: Gender:Male
Joined: Dec 24, 2008
Age: 36
Posts: 1350
Location: Back of your mind!!!
Reputation: 185.8
votes: 10
usa.png


Status: Offline
Web Control Panel: 11.42.0 (build 23)
PostPosted: Mon Jan 30, 2017 5:43 pm Post subject: No icon Re: Question about head code Reply with quote

 I  have  mine  similar  to  Sp0rAdiC,  this  is  mine.
 
 
                                                 
PHP:                
// FREICHAT Script
global $userinfo;
if(
is_user())

    
$ses $userinfo['user_id']; //tell freichat the userid of the current user
    
setcookie("freichat_user""LOGGED_IN"time()+3600"/"); // *do not change -> freichat code
} else {
    
$ses null//tell freichat that the current user is a guest
    
setcookie("freichat_user"nulltime()+3600"/"); // *do not change -> freichat code


if(!
function_exists("freichatx_get_hash")){
function 
freichatx_get_hash($ses){

       if(
is_file("./freichat/hardcode.php")){
               require 
"./freichat/hardcode.php";
               
$temp_id =  $ses $uid;
               return 
md5($temp_id);
       }else{
               echo 
"<script>alert('module freichatx says: hardcode.php file not
found!');</script>"
;
       }
       return 
0;
   }
}
echo 
'<script></script>';
echo 
'<link>';
// END FREICHAT 
               

 
 The  path  ./freichat/hardcode.php  is  the  patch  it  is  to  my  root  of  my  site.  Since  I  have  it  in  a  folder  called  freichat  in  my  root  of  my  site,  I  just  call  on  it  using  ./freichat.  I  don't  know  what  folder  you  put  yours  in,  but  you  would  need  to  alter  the  paths  if  you  using  this  code,  or  just  send  me  your  javascript.php  file  and  the  folder  path  to  the  script.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Thank Post Evolution-Xtreme Forum Index ->  General Support All times are UTC - 5 Hours
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 script error? 7 DELETED 3493 Tue May 31, 2011 12:56 pm
tsac View latest post
No new posts Premature end of script 0 chiefg 1618 Tue Apr 19, 2011 2:47 pm
chiefg View latest post
This topic is locked: you cannot edit posts or make replies. Proxy detection script avalible?? 15 Thomas 5238 Wed Dec 22, 2010 4:13 pm
VicToMeyeZR View latest post
No new posts [Resolved] How to centre a script extra in a block? 2 Evil_Blue 1545 Mon Sep 27, 2010 4:10 pm
Evil_Blue View latest post
No new posts Hello i am new to your script and need some help 1 Maverick 1533 Mon Sep 20, 2010 11:32 pm
Daveran27703 View latest post
 




Powered by phpBB © 2001, 2006 phpBB Group
EvoXtreme Theme by SgtLegend ©
Forums ©