Hi, why did the photo column dissapear in the new CB2.x in Community Buider -> User management?
My client used this a lot to see who added a photo and who did not.
Now i added it by changing this file: view.com_comprofiler.showusers.xml
I exchanged the "banned" column because we are not using that functionality. But since changing it the page is loading much slower.
This is what i changed it to:
Code:
<field name="avatar" type="checkmark" width="5%" align="center" label="Foto" allowordering="ascending,descending">
</field>
Did i do this correct? it does work. But is slow to load.
Original code:
Code:
<field name="banned" type="xml:user_banned" width="5%" align="center" label="Banned" onclick="toggle" class="self" method="toggleUserBan" responsivehiddenon="xsmall" allowordering="ascending,descending">
<attributes>
<attribute name="onclick">
<if name="" type="permission" permission="core.edit or core.edit.state">
<then>
<if name="id" nametype="user:int" operator="=" value="id" valuetype="param:int" type="condition">
<then>
<param name="" default="" type="string" />
</then>
<else>
<param name="" default="toggle" translate-default="no" type="string" />
</else>
</if>
</then>
<else>
<param name="" default="" type="string" />
</else>
</if>
</attribute>
</attributes>
</field>