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

Removal of certain links from throughout site

Discussion in 'Troubleshooting and Problems' started by ChemicalKicks, Feb 4, 2012.

  1. ChemicalKicks

    ChemicalKicks Well-Known Member

    In light of recent in the events in the states it's become apparently obvious that I need to get rid of a lot of links on my site. Sharing is no longer caring ;)

    So can anyone suggest a way to rid myself of these caring links?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    ChemicalKicks likes this.
  3. ChemicalKicks

    ChemicalKicks Well-Known Member

  4. ChemicalKicks

    ChemicalKicks Well-Known Member

    Regular expression:
    Regular expression: LinkRemoved
    Would that be okay?
    EDIT: That didn't work, not did moving the link down to the regular expression box. I have to admit I'm not confident using this tool at all.​
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

  6. ChemicalKicks

    ChemicalKicks Well-Known Member

    Wow that's complex.
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Are you wanting to remove all links for a certain domain name?
     
  8. ChemicalKicks

    ChemicalKicks Well-Known Member

    Hi Jake, yes. :)

    In my example above I have http://wellknownshare.org/ but obviously every link has more unique content after the last "/" I don't mind if the unique part of the link remains.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    A simple SQL query would do that.

    Code:
    UPDATE xf_post SET message = REPLACE(message,'current_content','new_content');
     
    Chimpie likes this.
  10. Mike

    Mike XenForo Developer Staff Member

    You can always just add it to your word censor.
     
    Chimpie likes this.
  11. ChemicalKicks

    ChemicalKicks Well-Known Member

    I already have, didn't do anything with the existing links.
     
  12. ChemicalKicks

    ChemicalKicks Well-Known Member

    Thank you.
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    It should do as the post content is dynamically filtered - the post table isn't altered by the censor.
     
  14. ChemicalKicks

    ChemicalKicks Well-Known Member

    aha

    Went back and unticked the "match exact word" box.

    All is working.
     
  15. ChemicalKicks

    ChemicalKicks Well-Known Member

    However this means that anyone who legitimately needs to talk about the site will be caught by the filter.
     
  16. Digital Doctor

    Digital Doctor Well-Known Member

    That's b***s**t. people find ways ! :) m3gaupload rocks ! fil3share was fun.
    Xenforo's super fast editing makes it even more likely people will find ways :).
    I just used ******** to show how easily people get around filters :) I didnt even want to swear, but what the ****.
     
    ChemicalKicks likes this.
  17. ChemicalKicks

    ChemicalKicks Well-Known Member

Share This Page