Collapsable user info

NAZIA

New Member
On Request ::
Quote:
Originally Posted by KillaStaff
many thanks nazia :)

can you post the mod "collapsable posbit user info" for 3.7.x from the same coder

thx

(sorry for my english :s)
This mod is cast here by it DI - BBCode
.

Installation is simple:
Upload all files from a folder upload in a root of a forum and to import a product.

To add an option of a choice the user to collapse or not to collapse the information on the user, it is necessary for you:
1. In admincp to open User Profile Fields
2. Choose to Add New User Profile Field
3. Choose Multiple-Selection Checkbox
4. Then fill:
Title: to Turn off the information on the user?
Description: Check No if want that in the list of messages the information on the user not collapse.
Maximum of options: 1
Elements for the line: 1
Options: No
Personal field: Yes
Search in this field in the list of users is accessible: Yes
To display in mimberlist: No
Which page displays this option?: options: show thread
5. Into options of mod in field write the name of just created option (for example field5).

Troubleshooting
If to happen so, that together with the information of the user has collapse also its avatars (
smile.gif
) then open a template postbit_legacy, find $template_hook [postbit_userinfo_left] and move it below a condition



<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
DEMO

 
Top