MyBB Community Forums

Full Version: Can't find the commit on github about change to private_quickreply template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i know
{$postoptionschecked['signature']}
was removed but wanted to know why
couldn't find any commit looking at https://github.com/mybb/mybb/commits/fea..._theme.xml

ps. i only looked at commits after Feb 23, 2021
go to private_quickreply template here you will get


					<label><input type="checkbox" class="checkbox" name="options[signature]" value="1"{$optionschecked['signature']} />&nbsp;<strong>{$lang->quickreply_signature}</strong></label>
(2021-08-18, 04:02 PM)PARADOXP Wrote: [ -> ]go to private_quickreply template here you will get


					<label><input type="checkbox" class="checkbox" name="options[signature]" value="1"{$optionschecked['signature']} />&nbsp;<strong>{$lang->quickreply_signature}</strong></label>

you misunderstood what i meant
i want to know why the template was changed
There are existence of 2 different variables, $optionschecked & $postoptionschecked.
$postoptionschecked variable is only available with the quick reply when the quick reply belongs to a post. For Private Messages $optionschecked variable carries the value. $postoptionschecked is unavailable while evaluating private message templates.

The same was identified and removed vide PR #4178
https://github.com/mybb/mybb/pull/4178/f...424aL10333
(2021-08-19, 07:36 AM)effone Wrote: [ -> ]There are existence of 2 different variables, $optionschecked & $postoptionschecked.
$postoptionschecked variable is only available with the quick reply when the quick reply belongs to a post. For Private Messages $optionschecked variable carries the value. $postoptionschecked is unavailable while evaluating private message templates.

The same was identified and removed vide PR #4178
https://github.com/mybb/mybb/pull/4178/f...424aL10333

thx that's what i was looking for