Raised This Month: $ Target: $400
 0% 

Question: MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xaider
Senior Member
Join Date: Jan 2009
Location: Russia, Ryazan
Old 08-02-2009 , 03:45   Question: MOTD
Reply With Quote #1

How can I show MOTD for certain client. I mean 'motd.txt' on server.
ShowMOTDPanel(client,"lalala","motd.txt",MOTD PANEL_TYPE_FILE) opens CLIENT's file in a plain text. Other types opens a blank window.
Does MOTDPANEL_TYPE_URL + Web-server + symlink to motd.txt is the only metod to show MOTD for user, or not?
__________________
Life don't forgive weaknesses..
xaider is offline
Send a message via ICQ to xaider Send a message via Skype™ to xaider
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 08-02-2009 , 05:14   Re: Question: MOTD
Reply With Quote #2

PHP Code:
ShowMOTDPanel(client,"lalala","motd",MOTDPANEL_TYPE_INDEX
The message is cached in a stringtable named "InfoPanel" under the index "motd". See this post if you feel like fiddling with the contents of the motd. The snippet behind that link is primarily used to cache entirely new messages but you get the idea.
__________________
plop
p3tsin is offline
xaider
Senior Member
Join Date: Jan 2009
Location: Russia, Ryazan
Old 08-02-2009 , 07:11   Re: Question: MOTD
Reply With Quote #3

Thank you
__________________
Life don't forgive weaknesses..
xaider is offline
Send a message via ICQ to xaider Send a message via Skype™ to xaider
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 23:10.


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