1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

For XenForo 1.0.x and 1.1.x

  1. Vincent

    Vincent Well-Known Member

    VincentU submitted a new resource:

    It's not because this person is staff that you should spam his profile with support questions! (version 1.0) - Shows a message asking users to not post support questions on a moderator/administrator profile.

    Read more about this resource...
     
    Shelley, Staxed and Hoffi like this.
  2. Staxed

    Staxed Active Member

    Just thought I would mention this here. I saw this resource and thought it was a good idea. However [in my opinion], I don't think doing this per individual user is the way to go about it. To me (again, just in my opinion) it would be better to have this message based on the members usergroup...that way you don't have to go in and edit the template every time you promote someone to moderator.

    For anyone that want's to accomplish this, simply change Vincent's code addition from:


    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>
    to
    Code:
    <xen:if is="{$user.user_group_id} == x OR {$user.user_group_id} == y OR {$user.user_group_id} == z">
    <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>
    where x, y and z are the group IDs
     
    Slind and Vincent like this.
  3. Staxed

    Staxed Active Member

    I just updated my previous post, I messed up the code the first time I posted it. It now works with primary group IDs, I'm still trying to figure out how to get it to work while taking secondary groups into account as well.
     
  4. craigiri

    craigiri Well-Known Member

    I turned off profile posts. Maybe I don't get it, but it seems a strange feature to put into XF as a core.......asking for trouble, IMHO.
     
  5. Staxed

    Staxed Active Member

    profile posts are an excellent way for friends to chat with each other, certainly your decision to turn them off, but they certainly can't cause any more trouble than a public forum can anyway :)
     
  6. craigiri

    craigiri Well-Known Member

    I see, but it's one more place that mods have to look at - so that adds to the work load...in our case.

    We have a well behaved lot, but I'd rather they use conversations (PM's) for chatting.

    It just seems, from a "need to have" basis, that other things such as better member management could have been a better use of the programmers time. But I do understand that we each have different needs...I just wonder how profile post made it past the whiteboard in "must have now" features!
     
  7. Mouth

    Mouth Well-Known Member

    Hi,

    Did you resolve this? My mod team are in the Moderators usergroup by secondary membership.
     
  8. SportainmentMG

    SportainmentMG Active Member

    what do you mean by put this code behind the text we just found?
     
  9. Vincent

    Vincent Well-Known Member

    after* ;)
     
  10. Divvens

    Divvens Well-Known Member

    I there a way to do something similar for private conversations? Or that is a totally different game? :p
     
  11. Slind

    Slind Active Member

    That works only with the main group but not with a secondary group. How can I do this with a secondary group?
     
  12. Vincent

    Vincent Well-Known Member

    It's user-based (on the user-id), so groups shouldn't really matter.
     
  13. Slind

    Slind Active Member

    Your version yes but not the version from Staxed and I want to use a seondary group ID's and not user ID's.
     
  14. Staxed

    Staxed Active Member

    Code:
    <xen:if is="{xen:helper ismemberof, $user, x, y, z}">
    <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>
    where x, y, z are your usergroups

    let me know if that doesn't work, looks like it works to me from a quick test.
     
    Last edited: Jun 16, 2014
    Slind likes this.

Share This Page