Raised This Month: $ Target: $400
 0% 

[ANY] Hidden MOTD URL opener


Post New Thread Reply   
 
Thread Tools Display Modes
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 01-30-2012 , 11:05   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #21

Quote:
Originally Posted by Dr. McKay View Post
AFAIK, the MOTD browser changed from IE-based to Webkit-based.
So how would I go about implenting sound on a webpage to be played when page is opened? E.g. motd
Nolongerinthegame is offline
Unreal1
AlliedModders Donor
Join Date: Dec 2010
Old 02-07-2012 , 18:05   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #22

<embed src="yourmusicfile" autostart="true" loop="false"
width="2" height="0">
</embed>
Unreal1 is offline
loranger
Senior Member
Join Date: Jun 2011
Old 02-13-2012 , 20:07   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #23

Quote:
Originally Posted by loranger View Post
is there a way to control the volume?

bump plz
loranger is offline
loranger
Senior Member
Join Date: Jun 2011
Old 02-15-2012 , 09:40   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #24

Quote:
Originally Posted by loranger View Post
is there a way to control the volume?
bump

Last edited by loranger; 02-15-2012 at 09:40.
loranger is offline
loranger
Senior Member
Join Date: Jun 2011
Old 02-15-2012 , 15:15   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #25

Quote:
Originally Posted by loranger View Post
is there a way to control the volume?

I guess im not clear enough,

If i want to play an http// but i want to mute it by default, how can i do that plz?

Last edited by loranger; 02-15-2012 at 15:17.
loranger is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-14-2012 , 16:38   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #26

loranger that is not with sourcemod, you will have to look it up on html pages etc.
shouldnt be that hard.

anyways, you dont have to include the http:// but if you do nothing goes wrong:
sm_openurl mitch "http://sourcemod.net/"
Mitchell is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 03-14-2012 , 16:51   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #27

Quote:
Originally Posted by Mitchell View Post
loranger that is not with sourcemod, you will have to look it up on html pages etc.
shouldnt be that hard.

anyways, you dont have to include the http:// but if you do nothing goes wrong:
sm_openurl mitch "http://sourcemod.net/"
It's always silently failed for me when I included the http://. Maybe because I didn't put it in quotes.
__________________
Dr. McKay is offline
Nikey646
Member
Join Date: Apr 2011
Old 03-25-2012 , 06:51   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #28

First of all @OP If you want this post removed, just ask me and i'll gladly remove it.

Here is a small .rar file that includes everything needed to be able to dynamicly play all your music from 1 location with 3 options that can be changed on the fly!

Download: http://data.unknownau.com/hu8X0S-u0XS8h.rar

How to Install:
First, extract onto your website (Making sure to note down your url eg: yoursite.com/musicplayer/)
Second, go into the index.php supplied and remove add the url you noted down to the $url varible at the top of the document. It should look something similar to $url = "yoursite.com/musicplayer/?id=";
Third: Upload some songs (That are not copyrighted.) into the supplied "music" folder

You will now have a flash player that does nothing and a list of all your .mp3 with a not so friendly text to them.

by default, the hyper linked text will have volume at 100, the text next to them will have the volume at 40

Options and how to use them
There are 3 options when using this script.
There is id (Song) vol (Volume) and loop.

Id: If using an hyper url supplied below the flash player, it is automatically set.
Vol: set's the volume of the flash player. (Def: 100)
Loop: Will the song loop. (Def: off)

EG, to set the song to 1.mp3, at 90% volume and to loop the url would look like "?id=1.mpg&vol=90&loop"

The text next to the url: This is simplely one thats copy and paste ready for you to go /hiddenurl @all *paste*

For any questions reguarding this script, please private message me, so this thread isnt highjacked
__________________
ğUnAUĞ UnknownAU ğUnAUĞ
A Proud Australian TFDodgeball Server!




Nikey646 is offline
Smarmy
Senior Member
Join Date: Mar 2012
Old 04-03-2012 , 12:36   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #29

How would one go about using this with another plugin such as Source Radio? So that when a station is chosen the MOTD doesn't pop up.
Smarmy is offline
Nikey646
Member
Join Date: Apr 2011
Old 04-04-2012 , 10:49   Re: [ANY] Hidden MOTD URL opener
Reply With Quote #30

Quote:
Originally Posted by Smarmy View Post
How would one go about using this with another plugin such as Source Radio? So that when a station is chosen the MOTD doesn't pop up.
Hmm, i originally thought that u didnt want this plugin to pop up when i read ur question.

go into source radio, and look for something similar to "ShowVGUIPanel(client, "info", setup, true);" it wont exactly be that, but it'll be close, change the 4 setting to false and the MoTD will never appear.
__________________
ğUnAUĞ UnknownAU ğUnAUĞ
A Proud Australian TFDodgeball Server!




Nikey646 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 19:13.


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