Using MOTD with php website, scroll issues

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
User avatar
Hatz
This is my homepage
This is my homepage
Posts: 84
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Jan 18, 2007 5:07 pm
Contact:

Using MOTD with php website, scroll issues

Post by Hatz »

I recently cleaned up my motd a bit once i got my forums. I originally had it so players typed rules and an angelfire.com page came up with the rules. Worked well, scrolled.

I just changed it so that it brings users now to:

http://snkclan.nuclearfallout.net/forum ... c.php?t=16


It comes up in the motd, with scroll bars too, but it wont let anyone scroll. It is stuck at the top of my forum page. Can i not have it because my forum is php? Anyone know how to fix this? Tried searching around, it seems all the problems people had were with html websites.


Anyone know the problem? Is it possible to have your forums come up in motd?
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

The web browser (in this case, Internet Explorer, since that's what the game uses to show the MOTD) shouldn't care whether it's generated from a PHP script or not, actually, since the final output that it reads is still HTML.

What method are you using to bring users to that page? By that I mean, did you simply put that URL in your motd.txt, or are you using some sort of frame?
User avatar
Hatz
This is my homepage
This is my homepage
Posts: 84
Joined: Thu Jan 18, 2007 5:07 pm
Contact:

Post by Hatz »

just the url, nothing else
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

Hmm.

It's possible that your page uses some function that an embedded IE window doesn't support, I suppose. I'll go see if I can find what's going on.
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

It looks like you changed it to something else, so I wasn't able to test this.

But, as I was connecting to your server, I noticed that you weren't using sv_downloadurl, and as a result it was taking me forever to download the resources. And, anyone who was playing was also likely seeing lag from those uploads. So I went ahead and used the "File sync" button on your Website tab to set you up for much faster transfers.
User avatar
Hatz
This is my homepage
This is my homepage
Posts: 84
Joined: Thu Jan 18, 2007 5:07 pm
Contact:

Post by Hatz »

i appreciate that man, what does that do exactly the sync thing and sv_downloadurl 1?
User avatar
Hatz
This is my homepage
This is my homepage
Posts: 84
Joined: Thu Jan 18, 2007 5:07 pm
Contact:

Post by Hatz »

Edge100x wrote:It looks like you changed it to something else, so I wasn't able to test this.

But, as I was connecting to your server, I noticed that you weren't using sv_downloadurl, and as a result it was taking me forever to download the resources. And, anyone who was playing was also likely seeing lag from those uploads. So I went ahead and used the "File sync" button on your Website tab to set you up for much faster transfers.
Also, edge if you want to test it i left one of the motd i have to the forum to test.

Go in game and type "tournaments" and u will be sent to the tournaments motd (tournaments.txt in my server ftp)

Before i tried just inputting the url and it did nothing.

Just now i changed it and entered this code that some1 suggested, but this didnt work either:


Code: Select all


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">

<head>
<style type="text/css">
body {
background-color : #000000;
margin : 0;
color : #000000;
}
a {
background-color : #000000;
margin : 0;
color : #000000;
}

</style>
</head>

<body class="main">

<meta http-equiv="REFRESH" content="0;URL=http://snkclan.nuclearfallout.net/forums/viewforum.php?f=21">
<a href="http://snkclan.nuclearfallout.net/forums/viewforum.php?f=21">Loading MOTD page please wait a few
seconds</a>

</body>

</html> 
User avatar
Hatz
This is my homepage
This is my homepage
Posts: 84
Joined: Thu Jan 18, 2007 5:07 pm
Contact:

Post by Hatz »

bump, any new ideas before i give up?
SNK-KLAN.NET - CS Denver - Realistic Mods - Fast DL - Believe It...

•Realistic Mods to help promote a more real cs!
•Forums are at http://www.snk-klan.net
•IP of the server is 72.5.102.41:27015
•19 slot server.
•HLTV
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Post by Edge100x »

I just took a look, and I'm sort of stumped. I'm not sure what would cause that. Have you tested without plugins to see if any of your scrolling messages are interfering, or anything like that?
User avatar
Hatz
This is my homepage
This is my homepage
Posts: 84
Joined: Thu Jan 18, 2007 5:07 pm
Contact:

Post by Hatz »

no, but im not sure why they would. It didnt do that for my angelfire pages, just my forums. You never heard of this problem?
SNK-KLAN.NET - CS Denver - Realistic Mods - Fast DL - Believe It...

•Realistic Mods to help promote a more real cs!
•Forums are at http://www.snk-klan.net
•IP of the server is 72.5.102.41:27015
•19 slot server.
•HLTV
Post Reply