Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 04:35 am EST
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...
$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 !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
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 !!
**Cuando el Alumno esta listo, el Maestro Aparece **
::Geeklog support in Spanish::
16
13
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
Geeklog components by PortalParts -- www.portalparts.com
14
15
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...
$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
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
12
11
Quote
All times are EST. The time is now 04:35 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