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

Lack of Interest USER WARNING: place holders

Discussion in 'Closed Suggestions' started by swatme, May 8, 2013.

  1. swatme

    swatme Well-Known Member

    the user warning message place holders are limited {name} / {title} / {url}

    please add category name/forum name so that users notified knows where
    it was posted before the moderator deleted it.

    Dear {name},

    Your message ({title}) in {forumname}
    was posted in wrong section/category.
    This does not follow our rules. Your message may have been removed or altered.
    Clovis, xf_phantom and Softlineck like this.
  2. swatme

    swatme Well-Known Member

    hopefully this will be added in 1.2 as members who violated of wrong posting
    will be notified what section they have mistake in posting.
  3. xf_phantom

    xf_phantom Well-Known Member

    I agree:)
    there's no way to do it like requested because of the differenct content types and different variables (e.g. a profile post or user doesn't have a forumname, instead they have a profile username) but this could be moved to the warning handler.
    Then we could have "custom messages" for each content type, which would be more user friendly^^
    Ellie likes this.
  4. xf_phantom

    xf_phantom Well-Known Member

    Really great idea, so i had to implement it for my boards myself:) (there's no way to do it via the addon system :/ )

    Here's a quick implemention with minimal overhead and without any bc breaks (except codesniffer because i'm not using the underscores for private/protected members and methods)

    Attached Files:

  5. swatme

    swatme Well-Known Member

    hi thanks for info.

    can you do it in find this and replace this style of tutorial?

  6. xf_phantom

    xf_phantom Well-Known Member

    sorry, this would be too complicated :/

Share This Page