Raised This Month: $ Target: $400
 0% 

View Web Page


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hell
Junior Member
Join Date: Aug 2005
Old 07-17-2006 , 20:59   View Web Page
Reply With Quote #1

Is there a plugin to view a webpage on the welcome screen thing whislt in game that would open with a webpage displayed when you type somthing like 'viewsite'.

I was planning to make it so when u view the webpage, the webpage its self has a song or streaming sound to listen to whilst gaming.

If not could someone please make this or guide me to were i can find it. Thanks
Hell is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 07-17-2006 , 22:29   Re: View Web Page
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=1594
http://forums.alliedmods.net/showthread.php?t=17708
__________________
Janet Jackson is offline
Hell
Junior Member
Join Date: Aug 2005
Old 07-18-2006 , 15:47   Re: View Web Page
Reply With Quote #3

nah they both have elements of what i want but not fully.

The first link would be ok if u could just set the link and change the say command
Hell is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 07-18-2006 , 16:27   Re: View Web Page
Reply With Quote #4

http://forums.alliedmods.net/showthread.php?t=10090

You can set the link by replacing 'motd.txt' with a different file. Also you can easily change the say command.
__________________
Janet Jackson is offline
Hell
Junior Member
Join Date: Aug 2005
Old 07-18-2006 , 17:11   Re: View Web Page
Reply With Quote #5

i need it to link to a web page though on my clan site

Last edited by Hell; 07-18-2006 at 17:16.
Hell is offline
Hell
Junior Member
Join Date: Aug 2005
Old 07-18-2006 , 17:17   Re: View Web Page
Reply With Quote #6

i supose i could make a html motd with a link but is there no way to do it directly
Hell is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 07-18-2006 , 19:04   Re: View Web Page
Reply With Quote #7

Creating whatever.txt with this content will work :
HTML Code:
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://thesite/you/want/to/link/to.html">
</head>
<body>
Loading page...
</body>
</html>
__________________
Janet Jackson is offline
Hell
Junior Member
Join Date: Aug 2005
Old 07-18-2006 , 19:28   Re: View Web Page
Reply With Quote #8

but then it might anoy people who join the server and dont want that






I was wondering on how to refresh the page with a new link anyway so thank you for that.

1 last thing. Do you put this in the motd.txt file or do you make a motd.html files and delete the motd.txt ?
Hell is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 07-18-2006 , 19:34   Re: View Web Page
Reply With Quote #9

Quote:
but then it might anoy people who join the server and dont want that
You're not getting my point.
Quote:
Originally Posted by me
You can set the link by replacing 'motd.txt' with a different file. Also you can easily change the say command.
So, edit the plugin, replace 'motd.txt' with 'whatever.txt', create a file named whatever.txt in your mod folder and use the HTML code above as its content.
__________________
Janet Jackson is offline
Hell
Junior Member
Join Date: Aug 2005
Old 07-18-2006 , 21:14   Re: View Web Page
Reply With Quote #10

lol ok
Hell is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode