Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Additional Usergroup Images
#1
Not Solved
i want a plugin that Additional Usergroup Images in JUST in the profile not the postbib is there and plugin that does that the picture shows how i would like it


Attached Files Thumbnail(s)
   
[Image: SIG.gif]
#2
Not Solved
http://mods.mybb.com/view/additional-usergroup-images

Once you activate the plugin, open ./inc/plugins/aui.php and find;
function aui_post($post)
{
	global $templates, $theme, $xfire, $memprofile, $mybb, $db, $auigi, $gi, $aui, $memprofile;
	$gids = $post['additionalgroups'];
	$gids = explode(",",$gids);
	$gi = "";
	foreach($gids as $gid)
	{
	$getaui=$db->query("SELECT image FROM ".TABLE_PREFIX."usergroups WHERE gid='".$gid."'");
	$getaui=$db->fetch_array($getaui);
	$aui = $getaui['image'];
	if($aui != "")
	{
	if($mybb->user['classicpostbit'] == 1)
	{
	$post['groupimage'] = $post['groupimage']."<img src='$aui'><br />";
	}
	else
	{
	$post['groupimage'] = $post['groupimage']."<br /><img src='$aui'>";
	}
	}	
	}
	
}
and Change it into;
/*
function aui_post($post)
{
	global $templates, $theme, $xfire, $memprofile, $mybb, $db, $auigi, $gi, $aui, $memprofile;
	$gids = $post['additionalgroups'];
	$gids = explode(",",$gids);
	$gi = "";
	foreach($gids as $gid)
	{
	$getaui=$db->query("SELECT image FROM ".TABLE_PREFIX."usergroups WHERE gid='".$gid."'");
	$getaui=$db->fetch_array($getaui);
	$aui = $getaui['image'];
	if($aui != "")
	{
	if($mybb->user['classicpostbit'] == 1)
	{
	$post['groupimage'] = $post['groupimage']."<img src='$aui'><br />";
	}
	else
	{
	$post['groupimage'] = $post['groupimage']."<br /><img src='$aui'>";
	}
	}	
	}
	
}
*/
#3
Not Solved
how do i change it?
[Image: SIG.gif]


Forum Jump:


Users browsing this thread: 1 Guest(s)