Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
Nash
Regular
Regular


Joined: Jan 10, 2006
Posts: 93

PostPosted: Mon May 15, 2006 10:50 am Reply with quote

I recently modified my forum (not in phpNuke) to have the same header as that in my phpNuke site.

Forum - Only registered users can see links on this board! Get registered or login!
Main Site - Only registered users can see links on this board! Get registered or login!

The strange thing is that when I load up the forum the text for the surf reports under "The Loop" comes in as Times New Roman for a split second while the page is loading. It is almost as if the style is being applied after the page loads. Anyone know why this happens?

_________________
--- Nash
--- RN 7.6 v 2.02
--- GTNG installed
--- IPB forum installed and modded for Nuke 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Mon May 15, 2006 1:43 pm Reply with quote

Help us understand why this is an RN76v2.02.02 issue Smile
 
View user's profile Send private message
Nash
PostPosted: Mon May 15, 2006 2:22 pm Reply with quote

Because clearly RN76v2.02.02 is the cause of this problem and all problems in PHP and the Internet in general.

I suppooooooooose if you want to get all techinical I should move it to some generic nuke topic or probably just general html questions.

Laughing
 
Nash
PostPosted: Mon May 15, 2006 6:17 pm Reply with quote

Can I move this thing? Do I have acces to that
 
Raven
PostPosted: Mon May 15, 2006 10:16 pm Reply with quote

No, you don't.
 
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue May 16, 2006 7:15 am Reply with quote

nash better check your stuff...
your funny....you just messed up things...
if you look at your board area you see that your page starts with a table... Sad
and somewhere in the middle we see the starting tags.
and at the bottom you do have </bo dy> and the </ht ml>
thats far from correct..
Im sure you like to edit....

but make sure the top is taken care of cause its terrible now..
to use the same design as your nuke include the nuke css on top...
 
View user's profile Send private message
Nash
PostPosted: Tue May 16, 2006 7:52 am Reply with quote

yeah working in the invision format is much different than in the nuke format. they use a combination of php and html template files and it is confusing coming from the phpnuke format.

Thanks for pointing that out.
 
hitwalker
PostPosted: Tue May 16, 2006 8:00 am Reply with quote

well im sure if you put in the stylesheet of nuke it will take the same design...
 
Nash
PostPosted: Tue May 16, 2006 8:42 am Reply with quote

well if only I put the stylesheet of nuke in I'm going to lose the more robust style sheet that is from Invision Power Board. What I did already do is put the relevant sections of the nuke sheet into the IPB style sheet. I think you hit the nail on the head though before when you pointed out that for whatever reason the header is coming in above the body tags. I think the style info is therefor getting pulled in after it displays the header, which is effing things up.
 
Nash
PostPosted: Tue May 16, 2006 8:53 am Reply with quote

Voila. Fixed. Thanks again. The IPB uses the

return >>>EOF

EOF;

method for outputting from functions. I had never seen this before and didn't really understand it. Seems to make sense now - just returns everything from EOF to EOF; I would guess.
 
hitwalker
PostPosted: Tue May 16, 2006 9:01 am Reply with quote

so you see....
its not so hard... Smile
 
Nash
PostPosted: Tue May 16, 2006 10:11 am Reply with quote

not bad at all
 
Raven
PostPosted: Tue May 16, 2006 10:27 am Reply with quote

Nash wrote:
Voila. Fixed. Thanks again. The IPB uses the

return >>>EOF

EOF;

method for outputting from functions. I had never seen this before and didn't really understand it. Seems to make sense now - just returns everything from EOF to EOF; I would guess.

It's called HEREDOC syntax.
Only registered users can see links on this board! Get registered or login!
 
Nash
PostPosted: Tue May 16, 2006 11:01 am Reply with quote

thanks always nice to learn something new
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©