• Welcome to Simple Machines Community Forum. Please login or sign up.
December 04, 2021, 12:45:24 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Profile Starsigns

Started by Bugo, December 20, 2011, 04:11:46 PM

Previous topic - Next topic

Bugo

Link to Mod

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

This work is licensed under a CC BY-NC-SA

MaXiForum.cz


Stef001

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.
SMF 2.0.2 | SimplePortal 2.3.5

Bugo

Do you have $txt['zodiak_set'] in your Modification.{language}.php file? Can you paste it here?

Stef001

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.
SMF 2.0.2 | SimplePortal 2.3.5

Bugo

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');

Stef001

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.
SMF 2.0.2 | SimplePortal 2.3.5

daveb47

December 01, 2019, 11:33:36 AM #7 Last Edit: December 01, 2019, 12:13:32 PM by daveb47
Slight problem in that Starsigns are appearing twice.
Running Smf 2.0.15
https://daveb47.co.uk

A Slinky is like Jeremy CorbynWinehouse,Weird looking,Not really of any use to anybody.
But its really funny when it falls down the stairs!!:D:D

Bugo

It seems you have installed the mod twice. Try to remove extra lines from Display.template.php manually.

daveb47

https://daveb47.co.uk

A Slinky is like Jeremy CorbynWinehouse,Weird looking,Not really of any use to anybody.
But its really funny when it falls down the stairs!!:D:D

Advertisement: