PDA

View Full Version : Need Code for this Template


GSMCare
03-02-2014, 03:20 AM
Hi i need codes for this template,what code should i use to make not show the "Mutal Friend 0 (https://vborg.vbsupport.ru/showthread.php?t=182279&highlight=new+post)" for those members who've nothing yet friend in their profile,
i mean hide this txt for 0 friend. but if their a friend it will show on postbit.

https://vborg.vbsupport.ru/external/2014/03/41.jpg

https://vborg.vbsupport.ru/external/2014/03/42.jpg


anyway here is the code
<if condition="$post['userid']"><div>Friends: (<b><a href="member.php?u=$post[userid]">$post[friendcount]</a></b>)</div></if>


and here where i got this template: https://vborg.vbsupport.ru/showthread.php?t=182279&highlight=new+post

Max Taxable
03-02-2014, 09:27 AM
and here where i got this template: https://vborg.vbsupport.ru/showthread.php?t=182279&highlight=new+postAnd.... That is where you need to ask for the help with the Mod, in the thread where it was posted and where you downloaded it from.

The developer was on as recently as Feb. 26, he/she can probably help you either in the thread or via private message..

My first thought is a additional <if> conditional, where something like <if condition= $post[friendcount]=0> we don't display the bit.