1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you want premium products then purchase our VIP or SVIP plans
  3. Dont forget read our rules HERE Also anyone caught Leeching this content or Scamming will be banned on numerous networks.
    Dismiss Notice
  4. Dont forget we do not allow Multiple Accounts, so all of your accounts as well as your IP will be banned.
    Dismiss Notice
  5. Tired of Download Limits ? UPGRADE Today!
    Dismiss Notice

FREE It's not because this person is staff that you should spam his profile with support questions!

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 23, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    1,143
    Trophy Points:
    113
    Gender:
    Male
    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

    To add that piece of code, find the following code in member_view:
    Code:
                    <xen:if is="{$canPostOnProfile}">
    And than add this behind that piece of code:

    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>
    Now the message should appear.

    Don't forget to configure it.
    • {$user.user_id} == X OR {$user.user_id} == Y
      • X stands for user with user ID number 1
      • Y stands for user with user ID number 2
      • You can continue using that.
    • <a href="http://www.yourforums.com/support.php">here</a>
      • Whatever is between the "" is where it links to
     
    Bastty likes this.

Share This Page

Post thread