Advertisement:

Author Topic: Star display for non-post groups  (Read 6620 times)

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Star display for non-post groups
« on: April 21, 2004, 04:53:35 AM »
If it's there and I'm missing it, apologies, but it seems as though when a user is assigned a non-post based group, their group based stars no longer display. If that's the case, I'm sure there's a way to change this in the Display theme so that the post group stars display as well, and am hoping someone who's already changed this or knows how to change this could post the code and save me some time please? TIA. :)
SMF since 2004 <3

Offline Acf

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,967
  • Gender: Male
  • 101101010112
Re: Star display for non-post groups
« Reply #1 on: April 21, 2004, 09:52:12 AM »
http://www.awebsite.nl/forum/index.php?action=membergroups
yourgroup modify
and then you can set there stars
Number of star images:   5....   
Star image filename: where you got the image...
(starting off theme URL/images, you can use $language for the language of the user.)
« Last Edit: July 13, 2007, 05:34:39 PM by Aliencowfarm »
Sigh...

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Star display for non-post groups
« Reply #2 on: April 21, 2004, 10:00:43 AM »
I understand that you can set stars for the non-post group, but I don't want to do that, I want to display the post group stars, for instance, I'm in the Charter Member group, but my Jr Member star rank is displayed. Currently on my forum, my special group has no stars displayed at all. :-\
SMF since 2004 <3

Offline Acf

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,967
  • Gender: Male
  • 101101010112
Re: Star display for non-post groups
« Reply #3 on: April 21, 2004, 10:02:58 AM »
You mean you wand the post group stars to overrule the group stars?
Sigh...

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,627
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Re: Star display for non-post groups
« Reply #4 on: April 21, 2004, 10:03:51 AM »
Put post group as primary, other secondary ?
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Star display for non-post groups
« Reply #5 on: April 21, 2004, 10:45:56 AM »
But then it won't display the special group, as in "Charter Member" here, I need that too. ::)
SMF since 2004 <3

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,627
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Re: Star display for non-post groups
« Reply #6 on: April 21, 2004, 10:51:09 AM »
But then it won't display the special group, as in "Charter Member" here, I need that too. ::)
You are right. I tested this, if secondary group hasnt stars, then post group star are showing. It should work. Just set 0 to non-post group and set that as primary group.
« Last Edit: April 21, 2004, 10:52:58 AM by Owdy »
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Star display for non-post groups
« Reply #7 on: April 21, 2004, 01:45:33 PM »
My special group doesn't have any stars, I need the post group stars, lol. Sorry if it's confusing.

What you suggest, is what I already have.  "Charter Members" as primary group, no stars display at all like they do on this site. ???

Looking at the Display template, I can't see the way around it, but I don't know what the variables might be.

Code: [Select]
echo '
', $message['member']['group'], '<br />';

// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
echo '
', $message['member']['post_group'], '<br />
', $message['member']['group_stars'], '<br />';

Looks as though the group stars are from the primary group only.
SMF since 2004 <3

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Star display for non-post groups
« Reply #8 on: April 21, 2004, 03:11:44 PM »
I'm not sure, it should work as long as you have the number of stars and star image set to nothing.

-[Unknown]

Offline ms_ukyankee

  • Full Member
  • ***
  • Posts: 531
  • Gender: Female
Re: Star display for non-post groups
« Reply #9 on: April 21, 2004, 03:26:27 PM »
Okay, maybe this is a bug, or if not, it's a weird random feature. :P

[Unknown], you said "set to nothing", I know the Primary Group stars was defaulted at "0", I went and cleared the box, then saved. Magically the stars then appeared, but if you go back and look at the Primary (non-post) Group settings, it says "0" for the number of stars.

At least that worked, but it's still weird. ;) Thank you.
SMF since 2004 <3

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Star display for non-post groups
« Reply #10 on: April 21, 2004, 04:06:06 PM »
Oh, that was a bug... and one I think I've fixed in Beta 5.

-[Unknown]