XF 1.5 Can I target specific threads with Notices?

bryanb

Active member
I recently switched from vBulletin to Xenforo, and one thing we were able to to in vBulletin was to create notices for specific threads. There was a field to add thread IDs separated with commas. Is this possible in Xenforo? I'm searching, but can't find this function. If it's not possible, could anyone recommend a plugin for this. Thanks! :)
 
It's not possible out of the box - the lowest level is per forum.

I'm not aware of an add-on which does that, so it would require custom development.
 
It's not possible out of the box - the lowest level is per forum.

I'm not aware of an add-on which does that, so it would require custom development.
Are you sure?

I think I did this some time back when I wanted to play a background sound in a specific thread for my members to find.

In the template, you'll need to find thread_view (content will not go above the h1 heading tho) and add :
Code:
<xen:if is="{$thread.thread_id} == X">
Paste content here.
</xen:if>
Replace X with the thread ID you want to display the content.

Edit: You'll have to carry over the notice HTML to keep the style the same as your notices.
 
Last edited:
Back
Top Bottom