News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Display Additional Membergroups on Profile

Started by live627, January 09, 2007, 10:16:18 PM

Previous topic - Next topic

live627

Find    foreach ($context['member']['list_additional_groups'] as $list_additional_group) and replace with    if (isset($context['member']['list_additional_groups']))
   foreach ($context['member']['list_additional_groups'] as $list_additional_group)

C4G-TK

I just tried that, cleared the forum cache and still get the same error, just down a line which is now

==>125:        foreach ($context['member']['list_additional_groups'] as $list_additional_group)

-img removed-

live627

Change line 124 to

if (!empty($context['member']['list_additional_groups']))

C4G-TK

Thank you!!

Worked great!  Back to no errors on the site!  Woohoo!

-img removed-

live627

Yay! Now if I can find time to update the official package...

Yngwiedis

Can i ask something please ?

Is there any way you will make this mod compatible with Ultimate Profile ;

Thank you very very much.
AmityHost.com - The Affordable Host

H3lioz

Excuse me, but could you make so the rank would been in the position 1: spot without the 1: and stuff and the rank picture(s) on the rank name side? i will donate 20$ if you can.

live627

So it would be Position: Membergroup Image ?


live627

PM sent. Hopefully it's what you're after.

H3lioz

Not really how i wanted it : ( i want like this http://prntscr.com/2j6wy and the one u sent me was like this http://i55.tinypic.com/rgz9eu.png

live627

I noticed that and silently updated it a few minutes ago. Could you try again using the same link?

H3lioz


live627

Oh I just remembered that it's cached. Can you clear the forum cache?

H3lioz

How? Sorry ive used smf for along time but ive never done that.

live627

I updated it again. Could you try it?

To clear the cache go to Admin > Maintenance > Forum Maintenance > Empty the file cache

H3lioz


live627

Hmm, the images were aligned nicely when I tested it. I wonder if it's still cached wrongly. It is an hour cache, so maybe it'll correct itself in an hour.

H3lioz

Weird.. But lets give it an hour.. : D And if it works ill pay you today if i get my money today or else it will be tommorow (:

H3lioz


Advertisement: