08-06-2006, 07:55 AM
Does anyone know how to forward your motd to a webpage?
Motd
|
08-06-2006, 07:55 AM
Does anyone know how to forward your motd to a webpage?
08-06-2006, 08:16 AM
I don't know if srcds support includes...
You can try something like [code]<script src="http://www.webhost.com/blah.html"></script> Or probably server side includes <!--#include file="http://www.webhost.com/blah.html" --> starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
08-06-2006, 08:33 AM
How about a simple meta, search w3schools.com for redirect in HTML
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS) Free to join, Live support! (When available) http://forums.srcds.com/viewtopic/5114
08-06-2006, 09:50 AM
or an IFrame would work too
08-06-2006, 09:51 AM
thanks for the suggestions cryotek, however neither worked, as for the link u sent me drocona, i have no idea wat any of it means, i'm not good with that type of stuff so...i still don't know how to do it.
08-06-2006, 11:31 AM
iframe is setup simular to script. pretty much identical.
http://www.w3schools.com/tags/tag_iframe.asp gives how to setup iframe example: <iframe src="http://www.webhost.com/file.html" width="100%" frameborder="0" scrolling="yes"></iframe> I belive you need the scrollbar, it'll add a second bar, unless you know the height of the page you wish to include. then you can make that height the height of the iframe so you won't have a second scrollbar. starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
08-06-2006, 04:47 PM
oh I'm sorry [rev]=Gen*=JediMasterAlex,
Here it is: Code: <meta http-equiv="refresh" content="0;url=http://yourwebsiteurl.com"> add that line somewhere between <head> and </head>. It will redirect to the page http://yourwebsiteurl.com immediatly. the number 0 means it will wait 0 seconds to redirect to the new page, you can make it delay by for example 10 secs by using 10 intead of 0 etc. etc.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS) Free to join, Live support! (When available) http://forums.srcds.com/viewtopic/5114
08-07-2006, 01:07 AM
Very simple, just put in the url of your webpage in the motd.txt file:
http://www.yoururl.com/motd.php Or: <frameset rows="100%,*" frameborder="NO" border="0" framespacing="0"> <frame name="main_frame" src="http://www.yoururl.com/motd.php"> </frameset>
08-07-2006, 03:55 AM
Thanks guys, but i still have a problem. Drocona and Hollanda, wat both of you said came out with a blank, black page in the motd. and i know the link i put in works. When i put the lines u gave me, i deleted everything else from the file first, was i supposed to leave some of the stuff in?
08-07-2006, 04:08 AM
you need the general HTML style in it
Code: <HTML> * This is optional, it's not needed but it looks good ** If you use the Meta put this line there *** If you use an I-Frame/Frame use that line and remove the <meta....>
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS) Free to join, Live support! (When available) http://forums.srcds.com/viewtopic/5114
08-23-2006, 01:09 AM
the link is revclan.moonfruit.com/serverrules this link does work, but i think it doesn't work because it's a flash site...do you think that's the reason? If so is there a different code that can make it work?
|
« Next Oldest | Next Newest »
|