2017-03-10, 12:56 AM
Okay so a lot of people use plugins to have multiple group images appear on the postbit, lets say you are an administrator and you've made a developer group just so you can have two userbars. This tutorial will show a quicker way in which you can add multiple images to the postbit without the need for having two user groups. All you need is a plugin which in effect, a lot of people already use.
Okay so to start off you will want to have PHP in Templates, if you do not have the plugin you can download it here.
Now log in to the Admin Control Panel and navigate to your theme and postbit/postbit_classic.
AdminCP > Templates & Style > Templates > your-template > Postbit Templates > postbit or postbit_classic
Now in that template locate the following;
Add the following under it;
[attachment=38529]
Okay so to start off you will want to have PHP in Templates, if you do not have the plugin you can download it here.
Now log in to the Admin Control Panel and navigate to your theme and postbit/postbit_classic.
AdminCP > Templates & Style > Templates > your-template > Postbit Templates > postbit or postbit_classic
Now in that template locate the following;
{$post['groupimage']}
Add the following under it;
<if $post['uid'] == 1 then><img src="IMAGE"></if>
- The number one (1) is the user ID you want to use.
- Replace the word IMAGE with the link to the userbar.
[attachment=38529]