Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 09:13 am EDT

Geeklog Forums

images Badges in Forum 2.7


Status: offline

koalasoft

Forum User
Full Member
Registered: 03/09/05
Posts: 242
Location:Mexico
I have installed Forum 2,7, but my badges customized does not work to me, a new group creates (team-site) and assigns to an east user group and within my config.php of plugins forum 2,7 I put the following thing...
Text Formatted Code

$CONF_FORUM['grouptags'] = array(
    'Root'      => 'siteadmin_badge.png',
    'Logged-in Users' => 'forum_user.png',
    'team-site' => 'team-site.png',
    'Group A'   => 'badge1.png',
    'Group B'   => 'badge2.png'
);
 

In Teoria it would have to appear badges customized but do not appear, I needed something but to do so that in customized forum my sees itself badges?

Grettings !! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Try removing the definition for the group 'Logged-in Users' as your team group members are also a member of the logged-in users group.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
You may want to look at customizing the function that is used by the forum to display the member image. I have done the same for a few site. The function forumPLG_getMemberBadge($uid) is in the plugins functions.inc file.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

grant

Forum User
Junior
Registered: 12/14/05
Posts: 21
Location:Iowa City, IA
I realize this is old but for future reference, put them in order you want them to appear...
Text Formatted Code

$CONF_FORUM['grouptags'] = array(
    'Root'      => 'siteadmin_badge.png',
    'Group A'   => 'badge1.png',
    'Group B'   => 'badge2.png',
    'Logged-in Users' => 'forum_user.png'
 


So if the user is in Group A and Group B it will display badge1, if the user is in group B it will display badge2 and if the user is a member of no groups it will display forum_user and so on.

Thanks,
Grant
 Quote

All times are EDT. The time is now 09:13 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content