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

Restrict home page to members meeting criteria

Discussion in 'Resource and Add-on Requests' started by SchmitzIT, Nov 2, 2012.

  1. SchmitzIT

    SchmitzIT Well-Known Member

    My forum has quite a few spammers joining it and only filling in their home page and location. I'd ideally be able to shoot them in the face over the Internet, but failing that, is there any way to restrict people from filling in their homepage until they met specific criteria?

    I tried coding something along those lines, but it did not quite work out very well. I'm willing to pay for this solution. Interested? Supply me with a quote in this thread.
     
    Digital Doctor likes this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    What is the specific criteria they would need to meet?
     
  3. Digital Doctor

    Digital Doctor Well-Known Member

    Prevent links in both of those until they have 10 posts.
    Can sonnb's spam addon do that now ?
     
  4. SchmitzIT

    SchmitzIT Well-Known Member

    Something like achieve 10 posts. Right now I just see them register, fill in the about, and that's it.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    I'm not sure if there's any add-on that already exists - it may be worth checking out what DD mentions - but couldn't this be achieved with a User Group promotion and some usergroup conditionals?

    So just simply wrapping the field in the template with

    <xen if is="!{xen:helper ismemberof, $visitor, 2}">
    Homepage field
    </xen:if>

    That should then should show that field to all usergroups except Registered.

    If you'd like me to make it into an add-on... really quick in theory so no more than an hour's work... £20?

    EDIT: That would simply be an add-on that wraps a conditional around the field/s. You would still need to create the usergroup promotion yourself.
     
    SchmitzIT likes this.
  6. SchmitzIT

    SchmitzIT Well-Known Member

    I actually didn't consider the additional usergroup. It shouldn't take me more than 5 minutes to do this in TMS.

    Let me see whether I can get that to work, and if not, we'll have Chris turn it into an actual add-on :)
     
    Chris D likes this.
  7. SchmitzIT

    SchmitzIT Well-Known Member

    Works a charm. Thanks, Chris :)
     
    Chris D likes this.

Share This Page