inherit
268588
0
Feb 1, 2024 16:20:42 GMT -8
wbdstaff
1
October 2023
wbdstaff
|
Post by wbdstaff on Oct 22, 2023 9:48:46 GMT -8
Hi! I'm looking to display what theme a user is using on the mini profile, but have not been able to figure out the correct $[xxx] in order to draw that information from each user's settings. Anyone know what should go there instead of 'user.theme.id'?
<tr><td style="padding: 2px; width: 80px;"> <div id="mf">theme: $[user.theme_id]</div>
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Oct 22, 2023 10:11:27 GMT -8
Hi! I'm looking to display what theme a user is using on the mini profile, but have not been able to figure out the correct $[xxx] in order to draw that information from each user's settings. Anyone know what should go there instead of 'user.theme.id'? <tr><td style="padding: 2px; width: 80px;"> <div id="mf">theme: $[user.theme_id]</div> So, for context, the only variables you can use on any given template * are the variables that appear in the variable tree on the right. If you look at the tree in the mini-profile template and expand "user", there are no variables for any theme elements. In short, that means you can't use variables to display the user's theme selection in the mini-profile. Luckily, someone already created a plugin to do this instead: www.proboards.com/library/plugins/item/1241Support thread for that plugin (reading the OP will help with some additional info): support.proboards.com/thread/574009/?You can then target whatever element it adds in via CSS and style it in the manner of your choosing. -- *Note: the Forum Wrapper template will accept any variable that appears in the tree on specific pages / page types, but will only display the information on those pages where it is valid.
|
|