Jump to content
Sign in to follow this  
ADMIN

Pinned topics prefix like IPB 3.4.x

Rate this topic

Recommended Posts

Pinned topics prefix like IPB 3.4.x

IPB 4.x displays a different badge of version 3.x for pinned topics and featureds topics. For some reason some people - like me - prefer the badge as they were in the previous version of the software. It looked like a prefix.

after.png.5ddb2b07ec212afb3fde5a56bda77c

 

IN FORUM ROW

GO TO: ACP > Customizations > Themes > YourTheme (</> EDIT HTML/CSS) - find: forums > front > forums > TopicRow

FIND:

{{if $row->mapped('pinned')}}
								<span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span></span>
							{{endif}}

REPLACE WITH:

{{if $row->mapped('pinned')}}
								<span><span style='text-transform: uppercase' class="ipsBadge ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'>{lang="pinned"}</span></span>
							{{endif}}

IN TOPIC HEADER

GO TO: ACP > Customizations > Themes > YourTheme (</> EDIT HTML/CSS) - find: topics > topic

FIND:

{{if $topic->mapped('pinned')}}
						<span><span class="ipsBadge ipsBadge_icon ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span></span>
					{{endif}}

 

REPLACE WITH:

{{if $topic->mapped('pinned')}}
						<span><span style='text-transform:uppercase' class="ipsBadge ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'>{lang="pinned"}</span></span>
					{{endif}}

 

topic.thumb.png.6791f1af4fc98ec993a4372c59f6e18c.png

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Forum Statistics

    1,932
    Total Topics
    8,055
    Total Posts
×