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

Mass prune?

Discussion in 'XenForo Questions and Support' started by Dave Daniels, Apr 11, 2011.

  1. Dave Daniels

    Dave Daniels New Member

    I've done a failed import with my community wanted to wipe and start again.

    Do not want to reinstall though...

    So any mass member prune function?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It's not possible to mass prune members.

    Additionally, if you reimport on top of the old data, you will end up with duplicate content.

    Ideally you should have taken a backup of your XenForo database before the import so you could restore it to remove all of the imported content.

    This may help: http://xenforo.com/help/importing/
     
  3. Dave Daniels

    Dave Daniels New Member

    is there a way to do it from the database?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Removing data from the database directly is never a good idea as there are many different tables which are linked.
    I don't actually know which tables would have to be truncated off hand to remove all imported data.
     
  5. Dave Daniels

    Dave Daniels New Member

    Dang...

    On a unrelated note... On your site how did you get the facebook button underneath your signup login button?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Add this to EXTRA.css:
    Code:
    /* Add Facebook login button to visitor panel */
    .cta_fbButton {
    margin: 10px 30px;
    text-align: center;
    }
    
    Edit the sidebar_visitor_template as follows:
    Code:
    <div class="section loginButton">
    <div class="secondaryContent">
    <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:phrase sign_up_now}</a></label>
    
    <xen:if is="{$xenOptions.facebookAppId}">
    <div class="cta_fbButton">
    <a href="{xen:link register/facebook, '', 'reg=1'}" class="fbLogin"><span>{xen:phrase login_with_facebook}</span></a>
    </div>
    </xen:if>
    </div>
    </div>
     

Share This Page