Raised This Month: $ Target: $400
 0% 

[REQ] Daily Random babe pic for MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 11-13-2008 , 16:49   [REQ] Daily Random babe pic for MOTD
Reply With Quote #1

I just added a hot babe pic to my MOTD but then got to thinking about how nice it would be to have a plugin that would read hyperlinks from a text file and add them to the MOTD, Showing a random hot babe pic of the day to whomever connects. I have all my pics, 31 of them (Hot but decent-LOL)

All we need is the plugin that would do this. I just thought i would put this out there because who doesn't like seeing some hot chickie just before they blow some guys head off.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
koss_4life
BANNED
Join Date: Jun 2008
Location: Heaven
Old 11-13-2008 , 17:32   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #2

Why dont you use a .gif pic (with animations ) so you dont need a plugin at all?
koss_4life is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 11-13-2008 , 23:16   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #3

Quote:
Originally Posted by koss_4life View Post
Why dont you use a .gif pic (with animations ) so you dont need a plugin at all?
It won't work I just tried it. it won't animate but maybe once and then it freezes.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 11-14-2008 , 16:24   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #4

just find javascript what will select random picture and no need plugin to do that
__________________
xPaw is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 11-15-2008 , 14:56   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #5

Quote:
Originally Posted by xPaw View Post
just find javascript what will select random picture and no need plugin to do that
So something like this ?
Code:
<script language="JavaScript">
<!--

function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="img1.gif"
  myimages[2]="img2.gif"
  myimages[3]="img3.gif"

  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="http://www.yourpiclink.com"
  imagelinks[2]="http://www.yourpiclink.org"
  imagelinks[3]="http://www.yourpiclink.net"

  var ry=Math.floor(Math.random()*myimages.length)

  if (ry==0)
     ry=1
     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
}

  random_imglink()
//-->
</script>
This should work even if your serving your MOTD from a web server and not the game server. Thanks for reminding XPaw. I don't do enough searching.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
koss_4life
BANNED
Join Date: Jun 2008
Location: Heaven
Old 11-15-2008 , 18:17   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #6

hmm does it really work with Java? (For MOTD I mean) , cause I tested this one but it didnt show up any pictures at all!

I have the right links for the pictures!
koss_4life is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 11-15-2008 , 23:09   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #7

Quote:
Originally Posted by koss_4life View Post
hmm does it really work with Java? (For MOTD I mean) , cause I tested this one but it didnt show up any pictures at all!

I have the right links for the pictures!
I'm having trouble getting this too work so I'll keep messing with it and see if i can get it to work. In the mean time maybe someone who knows java and HLDS can voice their thoughts.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 11-15-2008 , 23:55   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #8

try using

iframe in you motd...

using iframe will allow your motd to get the info from another website and show it on your motd.

E.X.
Code:
<iframe src="http://myspace.com" width="100%" height="250" frameborder="0" marginwidth="1" marginheight="1" scrolling="yes"></iframe>
Code:
<iframe src=http://myspace.com
changes the webpage it is showing

and wow this is a really off-topic thread.
__________________


Last edited by Reaper2331; 11-16-2008 at 00:17.
Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 11-16-2008 , 02:59   Re: [REQ] Daily Random babe pic for MOTD
Reply With Quote #9

Quote:
Originally Posted by Reaper2331 View Post
try using

iframe in you motd...

using iframe will allow your motd to get the info from another website and show it on your motd.

E.X.
Code:
<iframe src="http://myspace.com" width="100%" height="250" frameborder="0" marginwidth="1" marginheight="1" scrolling="yes"></iframe>
Code:
<iframe src=http://myspace.com
changes the webpage it is showing

and wow this is a really off-topic thread.
I have always served my MOTD that way. it's still is not working. Oh well.
Thanks.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD 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 15:16.


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