T O P I C R E V I E W |
scorpius |
Posted - 22 February 2008 : 17:48:13 Can anyone point me in the direction of where i might find this, assuming there is one out there somewhere of course.
PS Is this the correct forum to post in when looking for a mod you can't find?< |
10 L A T E S T R E P L I E S (Newest First) |
Shaggy |
Posted - 25 February 2008 : 05:59:46 My modlet was for v3.3.x based off another mod for the same version so it's ridiculously outdated. Here's the function I use on Woo.ie for determining the star sign, you can easily change it to output an image URL rather than a string of text. It needs the DOB passed to it as a date.function Zodiac(d)
arrZodiac1=array("Aquarius","Pisces","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn")
arrZodiac2=array("Water Bearer","Fish","Ram","Bull","Twins","Crab","Lion","Virgin","Balance","Scorpion","Archer","Goat")
arrZodiac3=array(21,20,21,21,22,22,23,24,23,24,23,22)
intZodiac=month(d)-1
if day(d)<arrZodiac3(intZodiac) then intZodiac=intZodiac-1
if intZodiac<0 then intZodiac=11
Zodiac=arrZodiac1(intZodiac)&" the "&arrZodiac2(intZodiac)
end function < |
scorpius |
Posted - 24 February 2008 : 16:35:25 thanks all.
yeah junior, t'is dates so could work how you suggest i think. I'll check out the code you did for MS and come back.
might be a little while though. I've started by constructing a list long book of mods we want running and doing the downloads etc, before activating. Saves running around doing the planning upfront i think.
Thnaks again.
< |
AnonJr |
Posted - 24 February 2008 : 12:59:15 Forgive my ignorance, but isn't your sign simply a function of your birth date? If that's the case, on topic.asp you could probably add select statement that pulled the appropriate icon and showed nothing if there was no birthday on record... You might want to look at the code I put together for someone wanting a "Member Since" bit in topic.asp.
If Shaggy can't find his code, I can help you put it together. Unfortunately I don't have time at the moment to do it myself...< |
pdrg |
Posted - 24 February 2008 : 09:55:56 As most sites capture date of birth on registration, the zodiac sign hence horoscope ought to be a doddle< |
scorpius |
Posted - 23 February 2008 : 18:29:24 Okay thanks. If shaggy still has the code would be appreciated.
If not, i guess the icons could be used to utilise another horsocope system. < |
MarkJH |
Posted - 23 February 2008 : 09:38:52 Shaggy did have some kind of Star Sign MOD available way back when. It appears that it uses the same images that you downloaded from his site, Scorpius.
Unfortunately, it would appear that the zip no longer works. Maybe Shaggy still has the code lying around somewhere.< |
scorpius |
Posted - 23 February 2008 : 04:28:32 Maybe its an idea for one then...
Or alternately, I've done horoscopes in one of my last sites so maybe a good tool/gimmick if users could click their star sign and get a daily, weekly or monthly horoscope.< |
HuwR |
Posted - 23 February 2008 : 03:41:56 I can't say that I have heard of such a mod, but that doesn't mean there isn't one< |
scorpius |
Posted - 22 February 2008 : 18:50:57 Thanks for moving post and info.
Okay, got zodiac images from shaggy's icon downloads.
So, was wondering if there is a mod out there anywhere that allows members to select and display their star sign on user info in posts.
HTH. < |
AnonJr |
Posted - 22 February 2008 : 18:46:38 Not sure... some more detail would be nice.
As to your PS, usually its best to post MOD ideas and requests over in MOD Add-On Forum (W/O Code)... at least that's what it says in the forum's description. I'll move it right after I post this.< |
|
|