Results 1 to 8 of 8

Thread: delete tags with 2 letters

  1. #1
    Join Date
    Oct 2010
    Posts
    29

    Default delete tags with 2 letters

    Is ther a way with sql to delete tags with two letters like "is" "in"

  2. #2

    Default

    Hi

    The following sql can delete tags with 2 letters.

    Code:
    DELETE `t`, `tv` FROM `tags` AS `t` ,`tag_video` AS `tv` WHERE LENGTH( t.tag ) <=2 AND t.id = tv.tag_id;
    Try it now.

    Your Friendly
    Buyscripts Team

  3. #3
    Join Date
    Oct 2010
    Posts
    29

    Default

    Also tags are at table videos-> videos_keywords
    How to delete from there?
    Last edited by alotp; 11-25-2010 at 12:09 AM.

  4. #4
    Join Date
    Mar 2011
    Posts
    3

    Default

    Thanks for the code for the sql. Pretty helpful. I really have to organize such large databases.
    Only vshare sites allowed in signature

  5. #5

    Default Remove tags with two letters from 'videos' table

    Hi,

    To remove tags with two letters from 'videos' table, do the following.

    Download the attached zip file, extract and upload file to your vshare(public_html) folder.

    Run uploaded file by web browser (YOUR_SITE.COM/delete_tags.php).

    Thanks,
    Buyscripts Team
    Attached Files Attached Files

  6. #6
    Join Date
    Oct 2010
    Posts
    29

    Thumbs up

    thank you

    Also a good plugin for vshare will be to delete the Noise Tags.
    PHP Code:
    about|after|a|all|also|an|and|another|any|are|as|at|be|because|been|before|being|between|both|but|by|came|can|come|could|did|do|each|even|for|from|further|furthermore|get|got|had|has|have|he|her|here|hi|him|himself|how|however|i|if|in|indeed|into|is|it|its|just|like|made|many|may|me|might|more|moreover|most|much|must|my|never|not|now|of|on|only|or|other|our|out|over|put|said|same|see|she|should|since|some|still|such|take|than|that|the|their|them|then|there|therefore|these|they|this|those|through|thus|to|too|under|up|very|was|way|we|well|were|what|when|where|which|while|who|will|why|with|would|you|your 

  7. #7
    Join Date
    Sep 2010
    Location
    Pokhara Nepal
    Posts
    49

    Default

    will this patch work for vshare 2.8.1? or there would be another code? i tried to delete from my admin but there is only option to disable not to delete. can you add the option to delete in the admin as well? i am using vshare 2.8.1 please.
    waiting for your help.
    Kiran
    Nepal's Largest video community portal. share wisely at WWW.CLONEVIDEOS.COM

  8. #8

    Default

    Hi,
    Quote Originally Posted by clonevideos View Post
    will this patch work for vshare 2.8.1? or there would be another code? i tried to delete from my admin but there is only option to disable not to delete. can you add the option to delete in the admin as well? i am using vshare 2.8.1 please.
    waiting for your help.
    Kiran
    Open a support ticket at BuyScripts Helpdesk

    with your vShare admin and FTP login details.

    Thanks,

    Buyscripts Team.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •