CZLink To Us-Don't have my_header.php

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZLink To Us-Don't have my_header.php
SgtMassacre
CZ Newbie
 Codezwiz Site Donator
SgtMassacre has been a member for over 18 year's 18 Year Member
usa.gif wisconsin.gif
Occupation: Computer Technician-Police Officer
Gender: Male
Website:
Status: Offline
Joined: May 16, 2006
0.00 posts per day
Posts: 20
Points: 1,805
   
Hello, I am using the CZLink To Us Site Links & Resources. I have all in place with the exception of the /includes/my_header.php. I don't have this file in my includes folder. Is there something else or is there something else I need to be looking for to get this working?

I am running PNC/Platinum 7.6 on a Hacked Xtrato-Veil Theme.

Thanks

John



Back to top Reply with quote
#2   re: CZLink To Us-Don't have my_header.php
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
Here's what you can do to fix this situation.

Step 1

Create a file with the following code in it and save it as my_header.php. Upload this file into your includes/ directory.

<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

/*
   This file is to customize whatever stuff you need to include in your site
   when the header loads. This can be used for third party banners, custom
   javascript, popup windows, etc. With this file you don't need to edit
   system code each time you upgrade to a new version. Just remember, in case
   you add code here to not overwrite this file when updating!
   Whatever you put here will be between <head> and </head> tags.
*/



   
?>


Step 2

#
#-----[ OPEN ]------------------------------------------
#

header.php

#
#----[ FIND ]------------------------------------------
#

head();
include("includes/counter.php");

#
#-----[ AFTER ADD ]------------------------------------------
#

include("includes/my_header.php");

#
#-----[ SAVE ALL FILES/CLOSE ]------------------------------------------
#
# EoM


You can now install the module as it instructs you to do.



_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#3   re: CZLink To Us-Don't have my_header.php
SgtMassacre
CZ Newbie
 Codezwiz Site Donator
SgtMassacre has been a member for over 18 year's 18 Year Member
usa.gif wisconsin.gif
Occupation: Computer Technician-Police Officer
Gender: Male
Website:
Status: Offline
Joined: May 16, 2006
0.00 posts per day
Posts: 20
Points: 1,805
   
Excuse my ignorance, but where do I put the information in Step 2. In the same file or other?

Thanks,

John



Back to top Reply with quote
#4   re: CZLink To Us-Don't have my_header.php
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
I think you need to read the directions on step 2 again.

You should open header.php is the part I think you missed.



Back to top Reply with quote
#5   re: CZLink To Us-Don't have my_header.php
SgtMassacre
CZ Newbie
 Codezwiz Site Donator
SgtMassacre has been a member for over 18 year's 18 Year Member
usa.gif wisconsin.gif
Occupation: Computer Technician-Police Officer
Gender: Male
Website:
Status: Offline
Joined: May 16, 2006
0.00 posts per day
Posts: 20
Points: 1,805
   
Duh, LOL been a long day of looking at php code. Thanks for waking me up. LOL.



Back to top Reply with quote
#6   re: CZLink To Us-Don't have my_header.php
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
No Problem, we have all been there I can promise you that.



Back to top Reply with quote
#7   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Or you can just add into the custom_header.php or your header.php. It doesnt really matter its just to call the js file for the opacity filter.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: CZLink To Us-Don't have my_header.php
SgtMassacre
CZ Newbie
 Codezwiz Site Donator
SgtMassacre has been a member for over 18 year's 18 Year Member
usa.gif wisconsin.gif
Occupation: Computer Technician-Police Officer
Gender: Male
Website:
Status: Offline
Joined: May 16, 2006
0.00 posts per day
Posts: 20
Points: 1,805
   
Kewl, thanks for the info Telli. I will be working on this tonight. Haven't had much time with the nice weather.



Back to top Reply with quote
#9   re: CZLink To Us-Don't have my_header.php
chubb
CZ Newbie
 Codezwiz Site Donator
chubb has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Mar 03, 2008
0.00 posts per day
Posts: 8
Points: 1,250
   
Worked for me ,
Just the block strectched over and its not good.

Any fix for this? icon_biggrin.gif




Back to top Reply with quote
#10   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Hard for me to see whats happening can you leave the link to the site or PM it to me so I can see the whole block and the HTML.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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