SRCDS Steam group


Motd
#1
Does anyone know how to forward your motd to a webpage?
Reply
#2
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" -->
[Image: userbar_wow.jpg]
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.
Reply
#3
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
Reply
#4
or an IFrame would work too
Reply
#5
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.
Reply
#6
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.
[Image: userbar_wow.jpg]
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.
Reply
#7
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
Reply
#8
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>
[Image: banner.gif]

Reply
#9
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?
Reply
#10
you need the general HTML style in it

Code:
<HTML>
<HEAD>
<TITLE> sometitlehere </TITLE>*
<meta http-equiv="refresh" content="0;url=http://yourwebsiteurl.com">**
</HEAD>
<BODY>
<frameset rows="100%,*" frameborder="NO" border="0" framespacing="0">
<frame name="main_frame" src="http://www.yoururl.com/motd.php">
</frameset>***
</BODY>
</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
Reply
#11
What is your link?
[Image: banner.gif]

Reply
#12
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?
Reply
#13
http://www.mani-admin-plugin.com/index.php?option=com_content&task=view&id=28&Itemid=25
[Image: linkinboxtf0.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)