Number of buddies on member profile
Register
Dear Guest, Welcome to our forums. Please take a second to register our forum! In a few simple steps you will be able to enjoy all the features of our fine community!

Lobos
05-02-2021, 10:01 AM
#1
The following code shows the stat number of how many buddies a user has on member profile
Plugin required - Template Conditionals

Add this in member_profile template
Code:
<span class="friendlistsinprofilenum"><if $memprofile['buddylist'] > 0 then><?=count(explode(',', $memprofile['buddylist']))?><else>0</if> <i class="fas fa-users"></i> Freinds</span>

global.css

Code:
.friendlistsinprofilenum{position: relative;top: -30px;background-color: #1786be;color: #fff;padding: 3px 10px;border-radius: 5px;}

Preview
Quote:
[Image: XB26vyC.png]
Signature
reusers.to
forum.robloxscripts.com