Enay
Member
That's an incredible number of prefixes!
Yes
My forum already now has 2100 sections. I'm trying to somehow reduce their number.
That's an incredible number of prefixes!
It doesn't provide that functionality but it works ok with https://xenforo.com/community/resources/aa-multi-prefix.2379/
Can you explain how it is buggy? I've updated it to improve compatibility between Prefix Essentials and MultiPrefixAlready tried this mod and it didn't work caused conflicts with another mod. There is another multiple prefix mod I have but it's buggy. I assume both if fixed will work with your mod correct?
Can you explain how it is buggy? I've updated it to improve compatibility between Prefix Essentials and MultiPrefix
It uses the .sectionMain class which is standard. You could change the background by adding a line to your EXTRA.cssHow can i fix the color issue? I want that white line to be the same color as the forum background and the text to be black.View attachment 142032
.discussionListFilters.prefixFilterBlock.sectionMain {background-color: #aaa;}
Try this. (I haven't tested it).How can I just show the prefix itself on top of the forum and NOT the count of threads?
<xen:set var="$prefixHTML"><li><a href="{xen:link forums, $forum, '_params={$pageNavParams}', 'prefix_id={$prefix.prefix_id}'}">{xen:helper threadPrefix, $prefix, html, ' ({xen:if {$prefixCounts.{$prefix.prefix_id}}, {$prefixCounts.{$prefix.prefix_id}}, 0})'}</a></li></xen:set>
<xen:set var="$prefixHTML"><li><a href="{xen:link forums, $forum, '_params={$pageNavParams}', 'prefix_id={$prefix.prefix_id}'}">{xen:helper threadPrefix, $prefix, html}</a></li></xen:set>
Try this. (I haven't tested it).
Edit the template
prefixess_thread_list_prefix_list
and change the line
toCode:<xen:set var="$prefixHTML"><li><a href="{xen:link forums, $forum, '_params={$pageNavParams}', 'prefix_id={$prefix.prefix_id}'}">{xen:helper threadPrefix, $prefix, html, ' ({xen:if {$prefixCounts.{$prefix.prefix_id}}, {$prefixCounts.{$prefix.prefix_id}}, 0})'}</a></li></xen:set>
If that doesn't work, revert it and let me know.Code:<xen:set var="$prefixHTML"><li><a href="{xen:link forums, $forum, '_params={$pageNavParams}', 'prefix_id={$prefix.prefix_id}'}">{xen:helper threadPrefix, $prefix, html}</a></li></xen:set>
Again, this is untested, butthat worked!
one more question, how can i right align that line?
<h3 class="filtersHeading">{xen:phrase prefixess_thread_prefixes}:</h3>
<ul class="prefixList">
{xen:raw $allPrefixHTML}
</ul>
<ul class="prefixList">
{xen:raw $allPrefixHTML}
</ul>
<h3 class="filtersHeading">{xen:phrase prefixess_thread_prefixes}:</h3>
.prefixFilterBlock .filtersHeading {float: right;}
.prefixFilterBlock .prefixList li {float: right;}
Again, this is untested, but
Edit prefixess_thread_list_prefix_list
change
toCode:<h3 class="filtersHeading">{xen:phrase prefixess_thread_prefixes}:</h3> <ul class="prefixList"> {xen:raw $allPrefixHTML} </ul>
(i.e. move the h3 to after the <ul list)Code:<ul class="prefixList"> {xen:raw $allPrefixHTML} </ul> <h3 class="filtersHeading">{xen:phrase prefixess_thread_prefixes}:</h3>
then add to EXTRA.css
Code:.prefixFilterBlock .filtersHeading {float: right;} .prefixFilterBlock .prefixList li {float: right;}
No, sorry.Does this support an option to show threads that don't have a prefix?
That would be an addon related to notices, I think.Can you target notices to filtered pages with this and threads with a specific prefix?
I currently have a couple of forums I'd like to consolidate and just differentiate all the threads with prefixes, however I have custom banners for each forum in the form of notices that I'd like users to see when they view the filtered list of threads, and the full version of any thread with that same prefix.
We use essential cookies to make this site work, and optional cookies to enhance your experience.