Profile views, followers and following

amwproductions
@amwproductions
9 years ago
185 posts
Hello how i can set on the template that every account has this

Visit the image attached

views,following and followers

updated by @amwproductions: 09/17/15 01:28:21AM
amwproductions
@amwproductions
9 years ago
185 posts
One a idea?
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Not sure how to get the number following but for the other two you could try something like this.

        <div class="block mb20" style="border:1px solid #DEDEDE;">
            <div class="block_content">
                <div class="body_1">
                    <div class="profile_image mb10">
                        {if jrProfile_is_profile_owner($_profile_id)}
                            {jrCore_module_url module="jrProfile" assign="purl"}
                            {jrCore_lang skin=$_conf.jrCore_active_skin id="25" default="Change Image" assign="hover"}
                            <a href="{$_conf.jrCore_base_url}/{$purl}/settings/profile_id={$_profile_id}">{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$_profile_id size="xlarge" class="img_scale img_shadow" alt=$profile_name title=$hover width=false height=false}</a>
                            <div class="profile_hoverimage">
                                <span class="normal" style="font-weight:bold;color:#FFF;">{$hover}</span>&nbsp;{jrCore_item_update_button module="jrProfile" view="settings/profile_id=`$_profile_id`" profile_id=$_profile_id item_id=$_profile_id title="Update Profile"}
                            </div>
                        {else}
                            {jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$_profile_id size="xxlarge" class="img_scale img_shadow" alt=$profile_name width=false height=false}
                        {/if}
                    </div>
                    <div class="row">
                        <div class="col3" style="border-right:1px solid #DEDEDE; padding-left: 10px;">
                            {$_user.profile_view_count}<br>
                            Views
                        </div>
                        <div class="col3" style="border-right:1px solid #DEDEDE; padding-left: 10px;">
                            {$profile_jrFollower_item_count}<br>
                            Followers
                        </div>
                        <div class="col4 last" style="padding-left: 10px;">
                            <br>
                            Following
                        </div>
                    </div>
                </div>
            </div>
        </div>

updated by @garymoncrieff: 10/24/15 05:09:01AM
amwproductions
@amwproductions
9 years ago
185 posts
Hello profile views works exactly, the followers counts not exactly

Hmmmmmmm
amwproductions
@amwproductions
9 years ago
185 posts
gary.moncrieff:
Not sure how to get the number following but for the other two you could try something like this.

        <div class="block mb20" style="border:1px solid #DEDEDE;">
            <div class="block_content">
                <div class="body_1">
                    <div class="profile_image mb10">
                        {if jrProfile_is_profile_owner($_profile_id)}
                            {jrCore_module_url module="jrProfile" assign="purl"}
                            {jrCore_lang skin=$_conf.jrCore_active_skin id="25" default="Change Image" assign="hover"}
                            <a href="{$_conf.jrCore_base_url}/{$purl}/settings/profile_id={$_profile_id}">{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$_profile_id size="xlarge" class="img_scale img_shadow" alt=$profile_name title=$hover width=false height=false}</a>
                            <div class="profile_hoverimage">
                                <span class="normal" style="font-weight:bold;color:#FFF;">{$hover}</span>&nbsp;{jrCore_item_update_button module="jrProfile" view="settings/profile_id=`$_profile_id`" profile_id=$_profile_id item_id=$_profile_id title="Update Profile"}
                            </div>
                        {else}
                            {jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$_profile_id size="xxlarge" class="img_scale img_shadow" alt=$profile_name width=false height=false}
                        {/if}
                    </div>
                    <div class="row">
                        <div class="col3" style="border-right:1px solid #DEDEDE; padding-left: 10px;">
                            {$_user.profile_view_count}<br>
                            Views
                        </div>
                        <div class="col3" style="border-right:1px solid #DEDEDE; padding-left: 10px;">
                            {$profile_jrFollower_item_count}<br>
                            Followers
                        </div>
                        <div class="col4 last" style="padding-left: 10px;">
                            <br>
                            Following
                        </div>
                    </div>
                </div>
            </div>
        </div>

Hello looks good only the followers images not counts corectly and the following not counts upper than 10
Any idea how i change these settings
Thanks
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
{$profile_jrFollower_item_count} is the function to return the number of followers a profile hs so if it's only showing 10 there must be a bug in Jamroom.

try adding a {debug} in and see what the count is in debug window.
brian
@brian
9 years ago
10,148 posts
There's no bug in the follower count - it is working (I see it working here on jamroom.net).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
hello how i can change the item counts increase?

see www.r-m-n.com
brian
@brian
9 years ago
10,148 posts
amwproductions:
hello how i can change the item counts increase?

see www.r-m-n.com

I'm not sure what you're asking - are you asking how to manually increase the follower count?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
brian:
amwproductions:
hello how i can change the item counts increase?

see www.r-m-n.com

I'm not sure what you're asking - are you asking how to manually increase the follower count?

My code i have insert



{jrCore_get_count module="jrProfile" item_id=$_profile_id name="profile_view"}
Views


{jrCore_list module="jrUser" profile_id=$_profile_id template="following.tpl"}
Following


{$profile_jrFollower_item_count}
Followers


i would create that counts automatically followers and following
amwproductions
@amwproductions
9 years ago
185 posts
{if isset($_items)}
{foreach from=$_items item="item"}
{if $item.list_rank == 1}
{jrFollower_following_count user_id=$item._user_id}
{/if}
{/foreach}
{else}
0
{/if}

following.tpl
brian
@brian
9 years ago
10,148 posts
The Followers module automatically maintains the proper profile_jrFollower_item_count for you - it's not something you want to do manually as your manual change will get overwritten any time there is a change to followers.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
I have buyed the maestro template and mean here works! is bull shit notting works each here counts to 10 or max. 11? i hope @n8flex give me back the money because the code into the template not works is like the code that i have received free from Gary
amwproductions
@amwproductions
9 years ago
185 posts
brian:
The Followers module automatically maintains the proper profile_jrFollower_item_count for you - it's not something you want to do manually as your manual change will get overwritten any time there is a change to followers.

You not have like twitter or other social that counts followers, following etc.....
brian
@brian
9 years ago
10,148 posts
amwproductions:
brian:
The Followers module automatically maintains the proper profile_jrFollower_item_count for you - it's not something you want to do manually as your manual change will get overwritten any time there is a change to followers.

You not have like twitter or other social that counts followers, following etc.....

The JR followers module does not include follower counts from social networks - that information is not available via API. Sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
brian:
amwproductions:
brian:
The Followers module automatically maintains the proper profile_jrFollower_item_count for you - it's not something you want to do manually as your manual change will get overwritten any time there is a change to followers.

You not have like twitter or other social that counts followers, following etc.....

The JR followers module does not include follower counts from social networks - that information is not available via API. Sorry!

How i can set the settings into my template that`s count automatically? Have you any idea?
brian
@brian
9 years ago
10,148 posts
amwproductions:
brian:
amwproductions:
brian:
The Followers module automatically maintains the proper profile_jrFollower_item_count for you - it's not something you want to do manually as your manual change will get overwritten any time there is a change to followers.

You not have like twitter or other social that counts followers, following etc.....

The JR followers module does not include follower counts from social networks - that information is not available via API. Sorry!

How i can set the settings into my template that`s count automatically? Have you any idea?

Use:

$profile_jrFollower_item_count

That will be set to the number of followers the profile has. Note that that works in PROFILE templates (i.e. skins/SkinName/profile_*.tpl)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
brian:
amwproductions:
brian:
amwproductions:
brian:
The Followers module automatically maintains the proper profile_jrFollower_item_count for you - it's not something you want to do manually as your manual change will get overwritten any time there is a change to followers.

You not have like twitter or other social that counts followers, following etc.....

The JR followers module does not include follower counts from social networks - that information is not available via API. Sorry!

How i can set the settings into my template that`s count automatically? Have you any idea?

Use:

$profile_jrFollower_item_count

That will be set to the number of followers the profile has. Note that that works in PROFILE templates (i.e. skins/SkinName/profile_*.tpl)

i use this counts only 11 not more?
brian
@brian
9 years ago
10,148 posts
What template have you placed it in?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
brian:
What template have you placed it in?

i have Pro Jam Dark template
brian
@brian
9 years ago
10,148 posts
amwproductions:
brian:
What template have you placed it in?

i have Pro Jam Dark template

What is the name of the actual template file?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amwproductions
@amwproductions
9 years ago
185 posts
Actually skin=rockmetalnetwork clone of pro jam dark
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
He means which actual .tpl file ie profile_index, profile_footer etc
amwproductions
@amwproductions
9 years ago
185 posts
brian:
amwproductions:
brian:
What template have you placed it in?

i have Pro Jam Dark template

What is the name of the actual template file?

profile_footer.tpl i have changed the profile view, following etc....
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
amwproductions:and the following not counts upper than 10

amwproductions:i use this counts only 11 not more?

So it is going up then?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
amwproductions
@amwproductions
9 years ago
185 posts
Hello i search one that can fix my problem.......
amwproductions
@amwproductions
9 years ago
185 posts
gary.moncrieff:
{$profile_jrFollower_item_count} is the function to return the number of followers a profile hs so if it's only showing 10 there must be a bug in Jamroom.

try adding a {debug} in and see what the count is in debug window.

Hello in the debug the counting is the same

Tags