Author |
Message |
Nash
Regular


Joined: Jan 10, 2006
Posts: 93
|
Posted:
Mon May 15, 2006 10:50 am |
|
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 |
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon May 15, 2006 1:43 pm |
|
Help us understand why this is an RN76v2.02.02 issue  |
|
|
|
 |
Nash

|
Posted:
Mon May 15, 2006 2:22 pm |
|
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.
 |
|
|
|
 |
Nash

|
Posted:
Mon May 15, 2006 6:17 pm |
|
Can I move this thing? Do I have acces to that |
|
|
|
 |
Raven

|
Posted:
Mon May 15, 2006 10:16 pm |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Tue May 16, 2006 7:15 am |
|
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...
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... |
|
|
|
 |
Nash

|
Posted:
Tue May 16, 2006 7:52 am |
|
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

|
Posted:
Tue May 16, 2006 8:00 am |
|
well im sure if you put in the stylesheet of nuke it will take the same design... |
|
|
|
 |
Nash

|
Posted:
Tue May 16, 2006 8:42 am |
|
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

|
Posted:
Tue May 16, 2006 8:53 am |
|
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

|
Posted:
Tue May 16, 2006 9:01 am |
|
so you see....
its not so hard...  |
|
|
|
 |
Nash

|
Posted:
Tue May 16, 2006 10:11 am |
|
|
|
 |
Raven

|
Posted:
Tue May 16, 2006 10:27 am |
|
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.
http://www.php.net/manual/en/language.types.string.php#language |
|
|
|
 |
Nash

|
Posted:
Tue May 16, 2006 11:01 am |
|
thanks always nice to learn something new |
|
|
|
 |
|