Raised This Month: $ Target: $400
 0% 

motd + iframe


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-29-2009 , 10:41   motd + iframe
Reply With Quote #1

Ive thinked of how to pass though motd limits (maybe someone got better idea )

So its like you are formatting motd like normal one, after it saving it into file

PHP Code:
    new szFile fopen"addons\amxmodx\motd.html""w" );
    
    if( 
szFile ) {
        
fputsszFileszFormattedMotd );
        
fcloseszFile );
    } 
Then open iframe from that addons\amxmodx\motd.html, but i dont think its possible to open html file on server and show to client O_o

Edit: i also had idea to upload motd.html to own ftp and iframe from it
Edit2: I lulz at this idea but.. maybe there some 'uber compressors' what can gerenate some random <script> wich will make less chars
__________________

Last edited by xPaw; 05-29-2009 at 10:47.
xPaw is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 05-29-2009 , 10:53   Re: motd + iframe
Reply With Quote #2

ive tryed to write over 2000 chars to a file and then show that, but no cigar. just the reliable channel overflow. Not possible i'd say.

- Cheers
__________________
Dr.G is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 05-29-2009 , 12:42   Re: motd + iframe
Reply With Quote #3

I try something like that with TOP15 of KZ and the only result was a over flood in the server. And a Nice CPU Work xD
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-29-2009 , 13:03   Re: motd + iframe
Reply With Quote #4

Do you guys know what an iframe is in html?
It allows you to take the HTML code from another file and use it in the frame that you created.
Therefore, you wouldn't even get close to the MOTD character limit.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-29-2009 , 18:24   Re: motd + iframe
Reply With Quote #5

I thought this was solved/old news . . ?

I use meta refresh because with iframe you get [nearly] useless scrollbars.
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-29-2009 , 18:27   Re: motd + iframe
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
I use meta refresh because with iframe you get [nearly] useless scrollbars.
You can remove those.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-29-2009 , 18:29   Re: motd + iframe
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
You can remove those.
But you can't scroll then . If you use meta refresh it will use the built-in scroll bars. iframe uses IE scroll bars that don't scroll with drag or mouse wheel (but work if you use the arrows old school style).
__________________
fysiks 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 13:54.


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