News:

Wondering if this will always be free?  See why free is better.

Main Menu

Main groups and post count groups.

Started by angrybanana5000, August 06, 2008, 12:06:23 PM

Previous topic - Next topic

angrybanana5000

How can I make the icons of the main group, (like the red stars for admin) and the icons for post count groups (the little yellow stars) both appear in topic view?
So it would look like this,

Top arrow are the red stars (I have it is an icon like here)
Bottom arrow is where I want the stars.

Rumbaar

As an administrator, can I hide my "newbie" status? - Do the opposite of this.  Then in the Display.template.php file move the location of the stars displayed to be below the avatar image call.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

angrybanana5000

I don't want the text I want the stars. So my post count groups have little blocks. I want the blocks and the badge to appear.

Rumbaar

Well if you reverse the you should get the post count group little blocks displayed.  This is for people with primary membergroups defined, all other should be already showing your post count blocks?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

angrybanana5000

They show for normal users in the post count group but not for members in non post count groups. I have hide OFF and it is like that.

Rumbaar

Ah I see what you mean now, sorry I had a different train of thought.  The primary membergroup override the 'stars' display.  So it's either one or the other.

This mod might help:
Stars and Badges
But then again I think it will only work for non Post Count group stars.

For what you want you'd probably have to create a new 'variable' from $message['member']['group_stars'] that always called the post count groups, so you could have the 'normal' membergroup stars and post count stars.

Load.php
'group_stars' => str_repeat('<img src="' . str_replace('$language', $context['user']['language'], isset($profile['stars'][1]) ? $settings['images_url'] . '/' . $profile['stars'][1] : '') . '" alt="*" border="0" />', empty($profile['stars'][0]) || empty($profile['stars'][1]) ? 0 : $profile['stars'][0]),
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

angrybanana5000

Ok I have that code you posted added to Load.php. Now what?

Rumbaar

Well that code is already in there, so I'm not sure the purpose of adding it again.  I was referring to the fact you'll need to edit a possible new entry to extract the Post Count images all the time.  Where as that code I'm sure changes the rank image based on membergroup access and Post Count groups.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: