Add three personal icons in the post author - aster - 2013-10-26
Original Post: http://mybbarena.it/showthread.php?tid=102
In this tutorial we will see how to set up three icons (chosen by the user) in the post Author.
The effect will be as follows:
Start!
- Go pca (Admin Control Panel)->Configuration->Custom Profile Fields.
- Click Add custom user field and set the following page like this:
In the event that you should not see well:
Title: Post Image 1
Short Description: Add a image in your message
Field Type: Textbox
Maximum Length: 0
Field Length: 0
Selectable Options? Empty
Display Order: 4
Required? No
Editable by user? Yes
Hide on profile? Yes
Minimum post count? If you want to put a minimum post for use the field
- Repeat the same thing two more times by changing 'Display order: 4' 5 and 6.
- Now go in Theme/Template-->Template-->Your Template-->Post Bit templates-->postbit_classic
- Add between {$post['useravatar']}<br> and {$post['user_details']}
<img src="{$post['fid4']}" style="max-height: 40px; max-width: 40px;margin-left: 5px;">
<img src="{$post['fid5']}" style="max-height: 40px; max-width: 40px;margin-left: 5px;">
<img src="{$post['fid6']}" style="max-height: 40px; max-width: 40px;margin-left: 5px;"></br>
- Now users will have to navigate in their Control Panel-->Edit Profileand add their image link at fields Post Image, like this:
|