• Celebrating One Year of Revival!

    Come and join us in celebrating one year of GW's revival as GWF, share in some statistics and help us push towards the next twenty years! CLICK HERE

    We're also looking for suggestions for another community event we can put together that we can all enjoy! Come and give us some suggestions HERE
  • Our second year of the NFL Pick 'Em is open to join now. You can join directly here and get involved in the weekly threads over in the Picks forum.

Very Important Text-Based D&D discussion

Dungeon Master

Blind Guardian
I’m not sure how to add the Kutshort image to my profile

Alright.

INSTRUCTIONS FOR ADDING YOUR IMAGE TO YOUR PROFILE.

If I posted something you're using (or if down the road someone attaches their own character image on a post somewhere), easiest way is to just right click and copy image link. If you're on mobile, generally press-and-hold on the image gives the same option to copy the URL.

1703392438508.png

You'll copy the full URL like 'https://gwforums.com/attachments/1000003787-png.5092/'.

Go to your profile and click under Account Details.
1703392590543.png

Scroll to the Character Image field and paste the URL in there, then delete everything except the chunk as shown in the description. So of that URL of 'https://gwforums.com/attachments/1000003787-png.5092/' you want to just keep '1000003787-png.5092'.

1703392677832.png

Save your changes, and the attached image should show under your "more" information.

Character Sheet is the same, except you're just taking the number from the end of the 'https://www.dndbeyond.com/characters/115155185' link and entering that into the custom field.
 
Alright.

INSTRUCTIONS FOR ADDING YOUR IMAGE TO YOUR PROFILE.

If I posted something you're using (or if down the road someone attaches their own character image on a post somewhere), easiest way is to just right click and copy image link. If you're on mobile, generally press-and-hold on the image gives the same option to copy the URL.

View attachment 5204

You'll copy the full URL like 'https://gwforums.com/attachments/1000003787-png.5092/'.

Go to your profile and click under Account Details.
View attachment 5205

Scroll to the Character Image field and paste the URL in there, then delete everything except the chunk as shown in the description. So of that URL of 'https://gwforums.com/attachments/1000003787-png.5092/' you want to just keep '1000003787-png.5092'.

View attachment 5206

Save your changes, and the attached image should show under your "more" information.

Character Sheet is the same, except you're just taking the number from the end of the 'https://www.dndbeyond.com/characters/115155185' link and entering that into the custom field.
It worked, thanks!
 

Dungeon Master

Blind Guardian
Perfect! If that works long term, awesome, if not we can look at any other ideas, including ftp to make sure we have something that'll work.

Hey, just a random thought which may or may not be easy to make happen; Would it be possible to take that DDCharName custom field, and for this D&D forum only, use the {$value} to replace the username on a post? Might give a little more immersion if everyone's posting as their character.
 

Dungeon Master

Blind Guardian
Damn, these stat rolls do come out crazy high. I don't know what Vash's intent is for the power scaling in these, so it might be the case that we'll have to redo these somewhat, but I think we can cross that bridge once we get to it.

1703397420327.png
 

Dungeon Master

Blind Guardian
I just fear it's going to make any beginning campaigns feel like you've turned on godmode. Not a lot is probably going to kill you when you've got bonus modifiers to everything. Sure Vash could just up the difficulty to counter it, but even from a meta-game standpoint with a bunch of new players, it's going to be a weird introduction to it if your first quest out of the Tavern is to go kill a dragon.

🤷‍♂️
 
I just fear it's going to make any beginning campaigns feel like you've turned on godmode. Not a lot is probably going to kill you when you've got bonus modifiers to everything. Sure Vash could just up the difficulty to counter it, but even from a meta-game standpoint with a bunch of new players, it's going to be a weird introduction to it if your first quest out of the Tavern is to go kill a dragon.

🤷‍♂️
america ferrera dragon GIF
 

Crystal

Formerly Apollo
Hey, just a random thought which may or may not be easy to make happen; Would it be possible to take that DDCharName custom field, and for this D&D forum only, use the {$value} to replace the username on a post? Might give a little more immersion if everyone's posting as their character.
Hmm. A simple conditional should be able to make that happen...Have to take a look.
 
  • Chef’s Kiss
Reactions: Ben

Crystal

Formerly Apollo
Ok, I need a fresh pair of eyes to fix my stupid.

Writing the conditional to display the character name and I know I'm making a stupid mistake, but... :shrug

CSS:
<xf:if is="$xf.reply.contentKey == 'node-53' && $user.Profile.custom_fields.DDCharName">{{$user.Profile.custom_fields.DDCharName}}<xf:else /><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="name" /></xf:if>
 
Last edited:

Dungeon Master

Blind Guardian
Ok, I need a fresh pair of eyes to fix my stupid.

Writing the conditional to display the character name and I know I'm making a stupid mistake, but... :shrug

CSS:
<xf:if is="$xf.reply.contentKey == 'node-53' && $user.Profile.custom_fields.DDCharName}}">{{$user.Profile.custom_fields.DDCharName}}<xf:else /><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="name" /></xf:if>
I've 0 experience with XF code, but... This looks right?

XF:If checks if the content key of the reply is 'node-53' and if the custom field 'DDCharName' in the user's profile is set.

Double-curlys {{ }} should output the 'DDCharName' value if the condition is true.

XF:Else part of the code is executed if the condition in the XF:If statement is not met.

XF:Username block looks like the standard way to display a username in XenForo if the condition is not met.
 

Crystal

Formerly Apollo
I've 0 experience with XF code, but... This looks right?

XF:If checks if the content key of the reply is 'node-53' and if the custom field 'DDCharName' in the user's profile is set.

Double-curlys {{ }} should output the 'DDCharName' value if the condition is true.

XF:Else part of the code is executed if the condition in the XF:If statement is not met.

XF:Username block looks like the standard way to display a username in XenForo if the condition is not met.
That's where I'm banging my head against the wall, it looks right. I did notice the superfluous double curly brackets and fixed those after node-53, but even that wasn't the dumb mistake that's making it not work. There's something, somewhere holding it up...I'm just not smart enough to see it.

This looks sus to me.

Disclaimer: I know basically nothing, but I've done troubleshooting regardless lol.
It's true, XF conditionals are supremely sus.
 

Dungeon Master

Blind Guardian
This looks sus to me.

Disclaimer: I know basically nothing, but I've done troubleshooting regardless lol.

I don't think that's it,

<xf:elseif is=""/> and <xf:else /> are self-closing tags. You'll need a slash at the end of the initial tag and then don't need the separate closing tag at all

@Crystal I see that Xenforo caches templates heavily. Have you tried clearing that after you made the changes?


EDIT: You might also need to include all the subforums, though I don't think that'd be breaking it entirely... So contentKey == 'node-53', plus 55, 56 and 57?
 

Crystal

Formerly Apollo
I don't think that's it,



@Crystal I see that Xenforo caches templates heavily. Have you tried clearing that after you made the changes?
Yep, no love there. I've even posited the question to the XF community to no avail thus far. Though the person that helped did bring me a long way from where I was to where it stands now. Just something inane stopping it.
 

Dungeon Master

Blind Guardian
Yep, no love there. I've even posited the question to the XF community to no avail thus far. Though the person that helped did bring me a long way from where I was to where it stands now. Just something inane stopping it.

Oh Man Reaction GIF by Bounce


Can you output the values of $xf.reply.contentKey and $user.Profile.custom_fields.DDCharName directly somewhere in the template to see what values they hold, and that $xf.reply can even access the fields in that way? I'm guessing they can, since they're already there, but... 🤷‍♂️
 

Crystal

Formerly Apollo
Oh Man Reaction GIF by Bounce


Can you output the values of $xf.reply.contentKey and $user.Profile.custom_fields.DDCharName directly somewhere in the template to see what values they hold, and that $xf.reply can even access the fields in that way? I'm guessing they can, since they're already there, but... 🤷‍♂️
$xf.reply can indeed access the fields, the mistake I made initially was trying to access $forum.node_id inside of a macro template which can't access $forum, so $xf.reply is the correct syntax within this particular template.
Have you tried splashing goat blood on the server while chanting?
I have, unfortunately two of the hamsters died and we had to replace them with new ones...they're working much faster in their wheels now.
 

Dungeon Master

Blind Guardian
I asked the AI whether it knew how to pull this off. There are some differences in the variables it used, so it could have been off base... Worth a shot though.

Code:
<xf:if is="in_array({$thread.forum_id}, [53, 55, 56, 57]) && !empty($user.Profile.custom_fields.DDCharName)">
    {$user.Profile.custom_fields.DDCharName}
<xf:else />
<xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="name" />
</xf:if>

Explanation:

  1. in_array({$thread.forum_id}, [53, 55, 56, 57]): This checks whether the current thread's forum ID is one of the specified IDs (53, 55, 56, or 57).
  2. !empty($user.Profile.custom_fields.DDCharName): This checks if the custom field "DDCharName" in the user's profile is not empty.
  3. If both conditions are true, the custom field DDCharName is displayed.
  4. If either condition is false, it falls back to the default username display.
Note:

  • Make sure that {$thread.forum_id} and {$user.Profile.custom_fields.DDCharName} are accessible in the template where you are adding this code. These variables depend on the context of the template.
  • Ensure that the custom field "DDCharName" is properly set up in the user profiles.
  • The xf:username tag is used to display the username in a standard format. Adjust the attributes as needed for your specific use case.
  • Always test changes in a development environment first, as template modifications can have unintended side effects.
 

Testing

Senior Member
Negatory. Even AI has failed us
You know where I am.

HTML:
<xf:if is="$xf.reply.containerKey == 'node-53' && $user.Profile.custom_fields.DDCharName">
    {{$user.Profile.custom_fields.DDCharName}}
<xf:else />
            <h4 class="message-name"><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="{{ $includeMicrodata ? 'name' : '' }}" /></h4>
</xf:if>

There will be no link to the user profile though.
 

Tuberius of Wadawurrung

CFO of Shitposting, Head of Data & Insights
You know where I am.

HTML:
<xf:if is="$xf.reply.containerKey == 'node-53' && $user.Profile.custom_fields.DDCharName">
    {{$user.Profile.custom_fields.DDCharName}}
<xf:else />
            <h4 class="message-name"><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="{{ $includeMicrodata ? 'name' : '' }}" /></h4>
</xf:if>

There will be no link to the user profile though.
If this is correct this was like an RKO outta nowhere level of problem solving
 

Crystal

Formerly Apollo
You know where I am.

HTML:
<xf:if is="$xf.reply.containerKey == 'node-53' && $user.Profile.custom_fields.DDCharName">
    {{$user.Profile.custom_fields.DDCharName}}
<xf:else />
            <h4 class="message-name"><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="{{ $includeMicrodata ? 'name' : '' }}" /></h4>
</xf:if>

There will be no link to the user profile though.
Lee you absolutely beautiful genius!!! :hugs
 

Dungeon Master

Blind Guardian
You know where I am.

HTML:
<xf:if is="$xf.reply.containerKey == 'node-53' && $user.Profile.custom_fields.DDCharName">
    {{$user.Profile.custom_fields.DDCharName}}
<xf:else />
            <h4 class="message-name"><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="{{ $includeMicrodata ? 'name' : '' }}" /></h4>
</xf:if>

There will be no link to the user profile though.
Who'd have thought nerds guessing at a solution was no replacement for actual knowledge?

Thanks!
 

Magni Kragtail

Smart fella by day, fart smella by night
No idea what all this nerd shit is about in the latter pages here, but I scanned through the beginning of the thread and am very interested as long as I can remember GW exists :link. I've always been in this rough situation where I've been exposed to all this dope D&D stuff, but my only friends had zero experience in it, so I was always stuck trying to DM. Which is extremely hard on the ole social anxiety when you barely know the rules yourself lmao. Been wanting to just be a player for years.

I have Starter's Set, Player's Handbook, Monster Manual, DM's Guide, Xanathar's, Volo's, Tasha's, and some purple random tables book I found at Target the other day.

As for text-based stuff, I'm actually in the process of trying to run one in a Discord server, but haven't started the game yet. For that, I made a rule where people had to use a thumbs-up reaction to acknowledge the latest post if their character is choosing to do nothing. But that's with only 3 players, so idk if that'd really help for a much larger group.
 

Magni Kragtail

Smart fella by day, fart smella by night
Now I'm starting to realize that my biggest problem is too many people wanting to play for a single campaign.

Gonna have to run a couple at a time.

Gonna need a lot of caffeine. :link
Just remembered there's actually a version of D&D called West Marches that's designed specifically for large groups of people. It typically involves multiple DMs and kind of turns it into an MMO. I'm not super familiar with it because I only learned about it like a couple weeks ago, but it might be worth looking into. Only problem is I think it has less of an overarching story and becomes more mission-based, but maybe some ideas can still be borrowed from it if player number is an issue.

Also, am I like too late to join or what exactly is the situation right now? I see a lot of people are already putting together characters but I didn't see any kind of like sign-ups or rules for creating our characters, so I'm not sure.
 
Just remembered there's actually a version of D&D called West Marches that's designed specifically for large groups of people. It typically involves multiple DMs and kind of turns it into an MMO. I'm not super familiar with it because I only learned about it like a couple weeks ago, but it might be worth looking into. Only problem is I think it has less of an overarching story and becomes more mission-based, but maybe some ideas can still be borrowed from it if player number is an issue.

Also, am I like too late to join or what exactly is the situation right now? I see a lot of people are already putting together characters but I didn't see any kind of like sign-ups or rules for creating our characters, so I'm not sure.
Make a character. Sign ups will come later through a tavern and if you miss out in the initial party you can sub in when someone dies. Also someone might kick off a second campaign if there's enough interest.
 

Magni Kragtail

Smart fella by day, fart smella by night
Alright, thanks. I'll have to do some thinking about what I wanna do. I assume we're just using like base game stuff and whatever expansions people have on their D&D Beyond account? I've never bought anything on there, but I know the site lets people do like homebrew type shit. Wouldn't imagine most people are planning on going that crazy with it though
 

Dungeon Master

Blind Guardian
Speaking of which I put together an aarakocra character on D&D Beyond and then found out that was not in the profile options so I may or may not have fucked up lol
On this point; all the profile options were just set up with basic-ass D&D races/classes I pulled from Wikipedia or wherever. I didn't ask Vash for a full list of what he's allowing with 5e or whatever additional stuff he's wanting to run. I can always add extra options in and tweak the profile stuff as necessary, so I wouldn't discount it being possible yet.

I've got inventory this week so don't expect much progress over the next few days unfortunately.
Just tell them you don't want inventory and will roll for starting gold.
 
Back
Top Bottom