Signature and Post count

Mixed forum with code snippets, guides and styles
Forum rules
Everything in this forum is for everybody
But support only for Donators!
Post Reply
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Signature and Post count

Post by Stoker »

Signature and Post count
Written by Stoker

With a few template edits we can control if a users signature is displayed in profile and viewtopic.
Signature is only displayed if the user has enough posts.


This part is displayed in the topics
Open styles/prosilver/viewtopic.body.html
Find:

Code: Select all

<!-- IF postrow.SIGNATURE -->
Replace with:

Code: Select all

<!-- IF postrow.SIGNATURE and postrow.POSTER_POSTS > 25 -->

This part is displayed in the profiles
Open styles/prosilver/memberlist_view.html
Find:

Code: Select all

<!-- IF SIGNATURE -->
Replace with:

Code: Select all

<!-- IF SIGNATURE and POSTS > 25 -->

This part is displayed in the private messages
Open styles/prosilver/ucp_pm_viewmessage.html
Find:

Code: Select all

<!-- IF SIGNATURE -->
Replace with:

Code: Select all

<!-- IF SIGNATURE and AUTHOR_POSTS > 25 -->
Save files, upload them and refresh the template

With this code the user needs more than 25 posts to display his signature.
Board rules! No PM support
Post Reply