Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Bugo on December 20, 2011, 04:11:46 PM

Title: Profile Starsigns
Post by: Bugo on December 20, 2011, 04:11:46 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=3272)

Displaying user zodiac signs under their avatars (members have to fill their birthdates).

This mod uses Onebit 4 Icons Pack (https://www.iconarchive.com/show/onebit-4-icons-by-icojam.html), that is licensed under a CC0 1.0 Universal (https://creativecommons.org/publicdomain/zero/1.0/)
Title: Re: Profile Starsigns
Post by: MaXiForum.cz on December 21, 2011, 07:35:03 AM
This is very nice mod man ;)
Title: Re: Profile Starsigns
Post by: Stef001 on April 12, 2012, 04:08:55 PM
SMF 2.0.2 | SimplePortal 2.3.5
Hello,

I get a fault in the faultlog.
Pas filter toe: Toon alleen de foutmeldingen van deze URL
http://www.xxxx.nl/index.php?/topic,671.msg5634/topicseen.html
8: Undefined offset: 12
Bestand: /home/xxxx/domains/xxxx.nl/public_html/Sources/Subs.php
Regel: 4457


The rule is

==>4457: $znak = (($zodiak['ot'][$i] <= $day) && ($zodiak['do'][$i] >= $day)) ? $zodiak['zn'][$i] : null;


Have someone a solution?

Thanks Stef.
Title: Re: Profile Starsigns
Post by: Bugo on April 12, 2012, 09:47:06 PM
Do you have $txt['zodiak_set'] in your Modification.{language}.php file? Can you paste it here?
Title: Re: Profile Starsigns
Post by: Stef001 on April 13, 2012, 02:32:53 AM
The Dutch version

// Profile Starsigns
$txt['zodiak_set'] = array('Waterman','Vissen','Ram','Stier','Tweelingen','Kreeft','Leeuw','Maagd','Weegschaal','Schorpioen','Boogschutter','Steenbok');


The Englisch version

// Profile Starsigns
$txt['zodiak_set'] = array('Aquarius','Pisces','Aries','Taurus','Gemini','Cancer','Leo','Virgo','Libra','Scorpio','Sagittarius','Capricorn','Capricorn');


Thanks for the help.
Title: Re: Profile Starsigns
Post by: Bugo on April 13, 2012, 05:31:09 AM
Replace the Dutch version with this:

// Profile Starsigns
$txt['zodiak_set'] = array('Waterman','Vissen','Ram','Stier','Tweelingen','Kreeft','Leeuw','Maagd','Weegschaal','Schorpioen','Boogschutter','Steenbok','Steenbok');
Title: Re: Profile Starsigns
Post by: Stef001 on April 13, 2012, 05:41:54 AM
Quote from: Bugo on April 13, 2012, 05:31:09 AM
Replace the Dutch version with this:

// Profile Starsigns
$txt['zodiak_set'] = array('Waterman','Vissen','Ram','Stier','Tweelingen','Kreeft','Leeuw','Maagd','Weegschaal','Schorpioen','Boogschutter','Steenbok','Steenbok');


Thanks, that`s the solution.
Twice "Steenbok".

Stef.
Title: Re: Profile Starsigns
Post by: daveb47 on December 01, 2019, 11:33:36 AM
Slight problem in that Starsigns are appearing twice.
Running Smf 2.0.15
Title: Re: Profile Starsigns
Post by: Bugo on December 02, 2019, 04:56:15 AM
It seems you have installed the mod twice. Try to remove extra lines from Display.template.php manually.
Title: Re: Profile Starsigns
Post by: daveb47 on December 02, 2019, 07:28:45 AM
Fixed,many thanks