Raised This Month: $ Target: $400
 0% 

YouTube help MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-29-2009 , 03:13   YouTube help MOTD
Reply With Quote #1

Hi i think plugin that when you type /youtube to show you the MOTD with the site but it show only small part of it can you make that to show it normal
I believe i has to be like that
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "YouTube"
#define VERSION "1.0"
#define AUTHOR "GmTx"


public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /youtube""cmdYouTube")
}

public 
cmdYouTube(id)
{
    static 
MotdChars[1536], iLen
    
    iLen 
formatex(MotdChars[iLen], (charsmax(MotdChars)) - iLen"<html>"
    
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars)) - iLen"<body bgcolor=#000000>")
    
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars)) - iLen"<center>http://www.youtube.com/</center>")
    
    
iLen += formatex(MotdChars[iLen], (charsmax(MotdChars)) - iLen"</body></html>")
    
    
show_motd(idMotdChars"YouTube"


Last edited by GmTx; 09-29-2009 at 03:17.
GmTx is offline
Send a message via Skype™ to GmTx
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-29-2009 , 03:50   Re: YouTube help MOTD
Reply With Quote #2

YouTube is probably scripted correctly (includes DOCTYPE declaration). If this DOCTYPE declaration exists you cannot scroll through the site in an MOTD.

Although, an iframe might work, you will have to try that.
__________________
fysiks is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 09-29-2009 , 04:31   Re: YouTube help MOTD
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
YouTube is probably scripted correctly (includes DOCTYPE declaration). If this DOCTYPE declaration exists you cannot scroll through the site in an MOTD.

Although, an iframe might work, you will have to try that.
anywhere by new steamupdate stands that this is fixed & you can scroll oO if you dont belive ill search for this & paste it for you
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 09-29-2009 , 04:48   Re: YouTube help MOTD
Reply With Quote #4

here you go :

http://forums.alliedmods.net/showpos...3&postcount=15

http://www.steampowered.com/platform...hp?skin=0&id=0

Steam Client
Fixed issue with scroll bars on HTML pages not showing after javascript DOM modification changed page height
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-29-2009 , 05:10   Re: YouTube help MOTD
Reply With Quote #5

Thanks
GmTx is offline
Send a message via Skype™ to GmTx
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-29-2009 , 13:51   Re: YouTube help MOTD
Reply With Quote #6

Quote:
Originally Posted by One View Post
here you go :

http://forums.alliedmods.net/showpos...3&postcount=15

http://www.steampowered.com/platform...hp?skin=0&id=0

Steam Client
Fixed issue with scroll bars on HTML pages not showing after javascript DOM modification changed page height
That is a Steam Client update, not a game update. The MOTD is not part of Steam. I'f I'm wrong let me know and I will go test it.
__________________
fysiks is offline
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-29-2009 , 13:55   Re: YouTube help MOTD
Reply With Quote #7

I work on this plugin with .ini file in configs like
Ecamle:
/youtube = http://youtube.com
/vbox = http://vbox7.com
Like this do you understand
GmTx is offline
Send a message via Skype™ to GmTx
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-29-2009 , 14:29   Re: YouTube help MOTD
Reply With Quote #8

That has nothing to do with your question.
__________________
fysiks is offline
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-29-2009 , 14:30   Re: YouTube help MOTD
Reply With Quote #9

I`know but i just say
GmTx is offline
Send a message via Skype™ to GmTx
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 09-29-2009 , 15:00   Re: YouTube help MOTD
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post
That is a Steam Client update, not a game update. The MOTD is not part of Steam. I'f I'm wrong let me know and I will go test it.
gmm. yea i think you'r right. i searched again for more info about this update & you right.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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 19:41.


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