MyBB Community Forums

Full Version: Usergroup Legend - Make groups clickable
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anyway to do this?

Link to plugin - http://community.mybb.com/mods.php?action=view&pid=642
(2016-08-01, 07:03 PM)Testko Wrote: [ -> ]Anyway to do this?

Link to plugin - http://community.mybb.com/mods.php?action=view&pid=642

Clickable to what ?
You can make usergroups clickable without plugin. But if you need to create separate pages for the description of group you need to create new page which explains about groups.
(2016-08-02, 01:26 PM)WallBB Wrote: [ -> ]You can make usergroups clickable without plugin. But if you need to create separate pages for the description of group you need to create new page which explains about groups.

New page with all groups etc is a way to go.

$groups = array('3','4');
$ucache = $cache->read('usergroups');
foreach ($groups AS $group)
{
$usergroup['image'] = '<img src="'.$ucache[ $group ]['image'].'" />';
}
(2016-08-02, 06:32 PM)Sazze Wrote: [ -> ]
(2016-08-02, 01:26 PM)WallBB Wrote: [ -> ]You can make usergroups clickable without plugin. But if you need to create separate pages for the description of group you need to create new page which explains about groups.

New page with all groups etc is a way to go.

$groups = array('3','4');
$ucache = $cache->read('usergroups');
foreach ($groups AS $group)
{
$usergroup['image'] = '<img src="'.$ucache[ $group ]['image'].'" />';
}

How to make that new page?