Advertisement:

Author Topic: Profile Starsigns  (Read 3736 times)

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,648
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Profile Starsigns
« on: December 20, 2011, 04:11:46 PM »
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

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiF√≥rum
Re: Profile Starsigns
« Reply #1 on: December 21, 2011, 07:35:03 AM »
This is very nice mod man ;)

Offline Stef001

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
Re: Profile Starsigns
« Reply #2 on: April 12, 2012, 04:08:55 PM »
SMF 2.0.2 | SimplePortal 2.3.5
Hello,

I get a fault in the faultlog.
Code: [Select]
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
Code: [Select]
==>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

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,648
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Profile Starsigns
« Reply #3 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?

Offline Stef001

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
Re: Profile Starsigns
« Reply #4 on: April 13, 2012, 02:32:53 AM »
The Dutch version

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

The Englisch version

Code: [Select]
// 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

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,648
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Profile Starsigns
« Reply #5 on: April 13, 2012, 05:31:09 AM »
Replace the Dutch version with this:
Code: [Select]
// Profile Starsigns
$txt['zodiak_set'] = array('Waterman','Vissen','Ram','Stier','Tweelingen','Kreeft','Leeuw','Maagd','Weegschaal','Schorpioen','Boogschutter','Steenbok','Steenbok');

Offline Stef001

  • Jr. Member
  • **
  • Posts: 257
  • Gender: Male
Re: Profile Starsigns
« Reply #6 on: April 13, 2012, 05:41:54 AM »
Replace the Dutch version with this:
Code: [Select]
// 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

Offline daveb47

  • Jr. Member
  • **
  • Posts: 134
  • Gender: Male
    • Daveb47's Den
Re: Profile Starsigns
« Reply #7 on: December 01, 2019, 11:33:36 AM »
Slight problem in that Starsigns are appearing twice.
Running Smf 2.0.15
« Last Edit: December 01, 2019, 12:13:32 PM by 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

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,648
  • Gender: Male
    • dragomano on GitHub
    • Support me on Ko-fi
Re: Profile Starsigns
« Reply #8 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.

Offline daveb47

  • Jr. Member
  • **
  • Posts: 134
  • Gender: Male
    • Daveb47's Den
Re: Profile Starsigns
« Reply #9 on: December 02, 2019, 07:28:45 AM »
Fixed,many thanks
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