solved wondering about the user data with profile info, template (follow me skin)

alt=
@hamadqr
2 years ago
28 posts
Hi there.
I am wondering:
When I need to use profile info, like:
"
profile_name
"
I can get the result,
But, when i need to use for example:
"
user_group
"
I can't get any data inside this template:
profile_info.tpl
currently using jrFollowMe-release-1.2.13's skin.
Any suggestion for how to link the profile_info.tpl file to get info about users , not just profiles?
Because i wanna show the user_group result inside the profile info.

Thank you!



--
Kind regards, Hamad.

updated by @hamadqr: 08/01/22 02:34:44PM
michael
@michael
2 years ago
7,740 posts
This is the doc you're after

Docs: {debug}
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1477/debug

It explains how to use the {debug} function to get a popup of all the variables available to you in the template. Put that in and you'll see whats available.
alt=
@hamadqr
2 years ago
28 posts
Hi,
@michael
Thanks for your reply.
I already checked that, and followed the docs.
But inside the page i can see for example:
user_group => "master"
so let me change the question to make it more clear:
is the user data can be show inside the profile info?
If yes, why i can't do that, I followed the tutorial that you share it above, also in this topic:
The Gender Feature
I'm confused, maybe i am doing something wrong?
i am still trying to add other variables from users to profile.
I used profile_name, and it's working.
it's seems just profile data can be use in profile info?


--
Kind regards, Hamad.
alt=
@hamadqr
2 years ago
28 posts
please let me know if something isn't clear, so i can make it clear if possible.
I would like to share screensshots, but i am a blind, so forgive me , i can't do that.
But i am active to answer of your questions about it if you have.


--
Kind regards, Hamad.
michael
@michael
2 years ago
7,740 posts
if you want 'user_group' its probably within the $_user array so to use it you'd put {$_user['user_group']}.
alt=
@hamadqr
2 years ago
28 posts
oh correct, thanks a lot of this help


--
Kind regards, Hamad.

Tags