<xf:dependent>
<xf:checkboxrow>
<xf:option name="fieldName" value="{$value}" selected="{$selected}"
label="Enable custom article layout">
<xf:dependent>
<xf:checkbox>
<xf:option name="fieldName2" selected="{$selected2}">Phrase 2</xf:option>
</xf:checkbox>
<xf:checkbox>
<xf:option name="fieldName3" selected="{$selected3}">Phrase 3</xf:option>
</xf:checkbox>
<xf:checkbox>
<xf:option name="fieldName4" selected="{$selected4}">Phrase 4</xf:option>
</xf:checkbox>
</xf:dependent>
</xf:option>
</xf:checkboxrow>
Before you know it, your ACP navigation menu is 12 miles long with all the addons you have installed, with every addon having it's own grouping. I thought this way would be better in keeping the clutter down.1. Why is the ACP navigation not like any other ACP navigation area?
Havent really looked into it. Attachment handling in XF1 was such a pain in the ass, that I didn't even consider it in XF2. Would love to see what you've done on it. Remember, attachments aren't linked to $article, but to $article->Thread>FirstPost2. If you are able to pull attachments into a drop-down, why not implement attachment management directly from the ACP screen?
Done! You can also define a number of pages before requiring a click to load.3. I'm not sure if it'll materialise later in the video, but it would be grand if you could add an option to switch between infinite scroll and button click to load the next set of posts.
I use that in some places... but in the case of the admin CP, I didn't feel the need to make an entire template, for what is essentially just four checkboxes.4. Regarding the custom article layout box; I would recommend making use of<xf:dependent>
@Jaxel, when XenPorta 2 is released for XenForo 2.x, would I need to purchase is again as I purchaed it for XenForo 1.x with branding Removal?
To be honest I think it's better to make it more user friendly than worrying about the people who are addicted to installing add-onsBefore you know it, your ACP navigation menu is 12 miles long with all the addons you have installed, with every addon having it's own grouping. I thought this way would be better in keeping the clutter down.
Obviously this is going to be 100% untested, unless you want to hook me up with an FTP and AdminCP account on your test site, but in yourHavent really looked into it. Attachment handling in XF1 was such a pain in the ass, that I didn't even consider it in XF2. Would love to see what you've done on it. Remember, attachments aren't linked to $article, but to $article->Thread>FirstPost
articleAddEdit
method in the controller, something like /** @var \XF\Repository\Attachment $attachmentRepo */
$attachmentRepo = $this->repository('XF:Attachment');
$attachmentData = $attachmentRepo->getEditorData('post', ($article->Thread && $article->Thread->FirstPost) ? $article->Thread->FirstPost : NULL);
'attachmentData' => $attachmentData
to the $viewParams
array. $form->complete(function() use ($article)
{
/** @var \XF\Service\Post\Preparer $postPreparer */
$postPreparer = $this->service('XF:Post\Preparer', $article->Thread->FirstPost);
$postPreparer ->setAttachmentHash($this->filter('attachment_hash', 'str'));
$postPreparer->afterInsert();
});
<div data-xf-init="attachment-manager">
<xf:formrow label="Article attachments">
<xf:if is="$attachmentData">
<xf:macro template="public:helper_attach_upload" name="upload_block" arg-attachmentData="{$attachmentData}" />
</xf:if>
</xf:formrow>
</div>
Why would you need a new template? The code I posted goes in place of your 4 existing checkboxes, you'd just put the 3 new checkboxes inside theI use that in some places... but in the case of the admin CP, I didn't feel the need to make an entire template, for what is essentially just four checkboxes.
<xf:dependent>
I use XSplit.what screen recording software do you use
Ahhh, fair enoughBecause those four checkboxes aren't a template...
Looks great, thanks
match_urls
) to extract media ID from things like YouTube? From experience I know that asking users to pick IDs out of a URL is like asking them to hold a lecture on quantum physics while speaking Klingon.maHvaD ghu'vam focus 2 bang electrons. Heroy'DeS vam discussion, maHvaD ghu'vam chaH pong color
m8maHvaD ghu'vam focus 2 bang electrons. Heroy'DeS vam discussion, maHvaD ghu'vam chaH pong color
'ej hardness. ngoD empirical, 'e' colors neH observable individually "qIj"
'ej "chIS", poStaHvIS hardnesses neH observable individually "" letwI' "baQa'". pa'
pagh latlh observable lo'laHghach 'e' laH ghaH bang, Hoch vIvoqHa' reH vIbejpu' pagh
vIq lo'laHghach latlh. nuq 'e' 'oH DuH 'e' color 'aD box qar qach HIlegh > pagh
laH inferred hardness 'ej bang 'aD nIv vo' DeSDu' position
baS tlhIS box wa' latlh output pagh.
I use XSplit.
Yeah, I have a lifetime pioneer license.<3 XSplit OBS is getting far too bloated now.
@DragonByte Tech@Jaxel Can you auto promote an article?
Perfect, thank you@DragonByte Tech
There is now an option on the "post thread" page:
View attachment 165048
In your admin CP, there is is an addon option to select specific forums. Any forums selected, will have this box checked automatically.
This solves #1 and #2 of your request.
We use essential cookies to make this site work, and optional cookies to enhance your experience.