News:

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

Main Menu

Display Additional Membergroups on Profile

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

Previous topic - Next topic

live627

Can I have a link to see for myself? Also, which browser do you use?

live627

Actually I meant a link to where a profile page is on your site


live627


H3lioz


live627

Ah I put the deny directive back but didn't remove it in time :/ sorry about that


H3lioz


H3lioz


Yngwiedis

Can you provide a link to the mod you find ?
AmityHost.com - The Affordable Host


Yngwiedis

I know the "Star and Badges" mod.
Is not exactly the same but thank you anyway...
AmityHost.com - The Affordable Host

GJSchaller

Hello! A while back (2007 - have I been doing this that long?) - I'd mentioned a request to display the user's additional groups on their posts as well as in their profile.  (The idea behind this is that when an expert / authority on a board posts, their member groups will reflect that.  We group our organization into teams, and different team members have authority over different boards, which we want to reflect when they post, automatically).

Any chance this can be added for 2.0.1?

Here's some custom code used for 1.1.X: http://www.simplemachines.org/community/index.php?topic=226827.msg1676636%23msg1676636
Geoffrey J. Schaller
Knight Realms - Technical Officer
http://www.knightrealms.com/

hcfwesker

#133
http://custom.simplemachines.org/mods/index.php?mod=1110

Stars & Badges mod does this.

Look at the 3rd pic in the demo pics.  Lets you order how additional groups appear by groupID

Or the Multiple stars MOd  http://www.simplemachines.org/community/index.php?topic=453194.0

GJSchaller

Excellent, thank you!  I'll give it a try.
Geoffrey J. Schaller
Knight Realms - Technical Officer
http://www.knightrealms.com/

muhrass

thanks, is it possible to select this membergroup during the registration, for smf 2.0?

GlitchPC

No problems on install...

However, following error in Admin Error Log keeps popping up:

8: Undefined index: list_additional_groups
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/Load.php
Line: 1253

live627


Kindred

hmmm.... so, I see that people had problems with the undefined index, ages ago...

but I couldn't find an actual fix.


SITE/index.php?topic=13.0
8: Undefined index: list_additional_groups
File: /my/directories/Sources/Load.php
Line: 1446


Anyone?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

spottedhog

Here is a fix that works for me:

Find:

// What a monstrous array...
$memberContext[$user] = array(


Add Before:

if(empty($profile['list_additional_groups'])) $profile['list_additional_groups'] = '';

Also, if one wishes to NOT use the word "Position", I changed "$txt['position']" to: $txt['additional_groups_name'] and added that entry into the Modifications.english.php file.

Advertisement: