[Modification] It's not because this person is staff that you should spam his profile with questions

Status
Not open for further replies.

Vincent_imported

Trusted Member
Joined
Dec 1, 2010
Messages
747
Hey guys,

I'm tired of people asking support at my profile all time about helping them with THEIR installation etc.
So I created a little modification to put a message above the 'Write something' box :)

Here's a preview:
staff.png

To add that piece of code, find the following code inmember_view:
Code:
                <xen:if is="{$canPostOnProfile}">

If you want all moderators and administrators to have this message, than add this:
Code:
                                        <xen:if is="{$user.is_moderator} OR {$user.is_admin}">
                                            <p class="importantMessage">
                                                Please do not post Support Questions at this person's profile. Profile comments are to congratulate someone or for other stuff. You can ask for support <a href="http://www.yourforums.com/support.php">here</a>.
                                            </p>
                                        </xen:if>

Else, if you want only a few people to have this, add this:
Code:
                                        <xen:if is="{$user.user_id} == 1 OR {$user.user_id} == 2 OR {$user.user_id} == 5">
                                            <p class="importantMessage">
                                                Please do not post Support Questions at this person's profile. Profile comments are to congratulate someone or for other stuff. You can ask for support <a href="http://www.yourforums.com/support.php">here</a>.
                                            </p>
                                        </xen:if>
 
Status
Not open for further replies.
Top