RPG Sheet Template - Reference Specific Fields
4 posters
Page 1 of 1
RPG Sheet Template - Reference Specific Fields
Technical Details
Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : https://testpeperoni.forumotion.com/u1rpg
Description of problem
- Code:
<dl>
<dt><label>{rpg_fields.F_NAME} :</label></dt>
<dd>{rpg_fields.F_VALUE_NEW}</dd>
</dl>
I'm looking to be able to display information from any of the custom variables individually. Like their username within a body of text, or a character stat.
Under the profile templates for the RPG-Sheet I'd like to be able to list fields in different divs rather than have them listed together. Is there a variety of something like {rpg_fields.F_VALUE_NEW} that lets me target my individual custom field IDs?
I'm thinking something along the lines of this as an example:
{rpg_fields_left.F_first-name}
{rpg_fields_left.F_001}
- Code:
<div class="name">{Character name}</div>
<div class="age">{Character age}</div>
Hopefully I've over rather than under explained. I wasn't sure how to phrase it.
Re: RPG Sheet Template - Reference Specific Fields
You have to put a RPG feature so we can see it from here
Re: RPG Sheet Template - Reference Specific Fields
Thank you for responding.
Not entirely sure what you mean though? Sorry :S. The RPG sheet is on and partly filled for my admin profile.
It's not an issue with something I currently have set up, it's something I'd like to be able to do but don't know how to tackle it. So there's nothing on the website to reference.
I'm assuming all custom fields store some kind of ID but I don't know how to find or reference that ID. Custom profile and RPG sheet custom fields alike. In any kind of template setup I'd like to be able to reference those IDs individually so I can have the custom input from users displayed.
Something like
NAME: {rpg_fields.F_VALUE_Charactername}
or {if rpg_fields.F_VALUE_Charactername = bob}{displaythistext}
The default template includes this segment to list all custom fields row by row:
And I've tried experimenting with variations of:
But I don't have enough understanding to get it functional. I spent most of the evening digging through existing threads and couldn't find similar to help me along.
https://testpeperoni.forumotion.com/u1rpg
Not entirely sure what you mean though? Sorry :S. The RPG sheet is on and partly filled for my admin profile.
It's not an issue with something I currently have set up, it's something I'd like to be able to do but don't know how to tackle it. So there's nothing on the website to reference.
I'm assuming all custom fields store some kind of ID but I don't know how to find or reference that ID. Custom profile and RPG sheet custom fields alike. In any kind of template setup I'd like to be able to reference those IDs individually so I can have the custom input from users displayed.
Something like
NAME: {rpg_fields.F_VALUE_Charactername}
or {if rpg_fields.F_VALUE_Charactername = bob}{displaythistext}
The default template includes this segment to list all custom fields row by row:
- Code:
<dl>
<dt><label>{rpg_fields.F_NAME} :</label></dt>
<dd>{rpg_fields.F_VALUE_NEW}</dd>
</dl>
And I've tried experimenting with variations of:
- Code:
<dl>
<dt><label>{rpg_fields.F_charactername} :</label></dt>
<dd>{rpg_fields.F_VALUE_NEW}</dd>
</dl>
But I don't have enough understanding to get it functional. I spent most of the evening digging through existing threads and couldn't find similar to help me along.
https://testpeperoni.forumotion.com/u1rpg
Re: RPG Sheet Template - Reference Specific Fields
All profile fields have the same ID.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: RPG Sheet Template - Reference Specific Fields
You're wanting something like this?
Guest
- Code:
{USERNAME}
Guest
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
HIIVEBug likes this post
Re: RPG Sheet Template - Reference Specific Fields
Yeah. {Username}{Rank}{Characterage} etc. I was hoping all custom fields had a unique tag like this I could call whenever I needed.
Re: RPG Sheet Template - Reference Specific Fields
HIIVEBug wrote:Yeah. {Username}{Rank}{Characterage} etc. I was hoping all custom fields had a unique tag like this I could call whenever I needed.
Good afternoon!
If you understand backend coding, this task is possible by using scripts to obtain the data from the specific page where the info is located and then posting where you want the data to display, like using AJAX for example.
SarkZKalie likes this post
Similar topics
» Change Font Color of Character Sheet Text Fields
» Unable to remove posts or change fields in the roleplay sheet
» Specific groups for specific forums?
» How do I make someone or a specific group in charge of a specific forum/category?
» how do i block a specific sub-forum from a specific user?
» Unable to remove posts or change fields in the roleplay sheet
» Specific groups for specific forums?
» How do I make someone or a specific group in charge of a specific forum/category?
» how do i block a specific sub-forum from a specific user?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum