I've made a suggestion regarding this (well, something similar).Is there away to set a max / min of stack able banners to show at any given time? I would assume an if greater than statement then hide?
There are options for controlling which banners are shown, but no way of showing x of y banners.
<xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<h3 class="userText">
<xen:username user="$user" itemprop="name" rich="true" />
<xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helper userTitle, $user, 1, 1}</xen:contentcheck></em></xen:if>
{xen:helper userBanner, $user, 'wrapped'}
<!-- slot: message_user_info_text -->
</h3>
</xen:hook>
I do however think they also need to add a maximum amount of stackable banners that is a variable that can be customized by the users. 0 to unlimited or 3 to only display the top 3 style display priority while the rest below that top 3 is hidden only on the forums not on their profile. This would stop making forums look ugly to some.
.userBanner.admin { background-image: url("image path") no-repeat top; }
Ok thanks for your helpThat will require editing the templates and possibly custom CSS.
It's outside the scope of this guide as it only applies to the default display which is in the message user info block.
.ctaBannerSupporter
{
background-color: #000099;
border-color: #000099;
color: @contentBackground;
text-shadow: 1px 1px 1px #000099;
}
.ctaBannerContributor
{
background-color: #6600CC;
border-color: #6600CC;
color: @contentBackground;
text-shadow: 1px 1px 1px #6600CC;
}
You just create a new class for each user group as required and add the CSS to EXTRA.css.
Here's an example from my own site.
Code:.ctaBannerSupporter { background-color: #000099; border-color: #000099; color: @contentBackground; text-shadow: 1px 1px 1px #000099; } .ctaBannerContributor { background-color: #6600CC; border-color: #6600CC; color: @contentBackground; text-shadow: 1px 1px 1px #6600CC; }
Is there a way to manipulate the default Staff Member banner as opposed to unchecking it in your AdminCP and creating again via this method.
.userBanner.bannerStaff {
background-color: yellow;
border-color: lime;
color: #ff0000;
}
i want a picture one like how you have it.Works fine when I tried it on mine.Try checking your extra css for typos or missing "}" "{" ";" this could cause for it not to display and other elements.
View attachment 52336
View attachment 52337
View attachment 52335
We use essential cookies to make this site work, and optional cookies to enhance your experience.