Results 1 to 6 of 6

Thread: kill all links?

  1. #1
    Join Date
    Jul 2002
    Posts
    12

    Question kill all links?

    I imported a tab delimited file into my new installation of indexu. I exported it from Access and didn't realize that Access would move populated fields and put them ahead of non-populated fields... So basically, it put the fields in the wrong order, moving the password field ahead of the hits, votes, etc. that are empty fields.

    Now, in the "details" view of links, it has "password" as the email address.

    I *think* the easiest thing to do would be to empty the links from the db and re-import them, but if anyone has a better idea let me know. In the meantime, if someone can tell me how to delete all the links (NOT manually, I'll be here all day!), that would be great.

    Thanks.

    -kristie

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    If you know how to write sql query, you may use send it from indexu. Go to admin cp -> database table -> alter -> query box

    To delete all links write this query
    delete from idx_link

    To delete all categories write this query
    delete from idx_category

  3. #3
    Join Date
    Jul 2002
    Posts
    12

    Default I **really** need an answer to this one...

    Can I go into SSH and delete the link records from the tables? Would that work OK? Or would it mess something up. I intend on keeping all my categories, etc. the same. I just need to clean out all the links so I can upload them properly.

    -kristie

  4. #4
    Join Date
    Jul 2002
    Posts
    12

    Default

    Thanks Dody, we must have been posting at the same time. I'll try it!

    -kristie

  5. #5
    Join Date
    Jul 2002
    Posts
    12

    Default one more question...

    Can you help me with an SQL Query that would change all the dates for all the links from the 1969 date (as they are now) to the current date (or some other date?). Thanks.

    -kristie

  6. #6
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    That's okay. I feel a little confuse too

Similar Threads

  1. Moving from G-T Links 2
    By esm in forum Pre-Sales Questions
    Replies: 14
    Last Post: 05-30-2005, 04:26 PM
  2. Show Top-Rated Links on Main Page
    By pip in forum v5.x
    Replies: 1
    Last Post: 05-16-2004, 03:33 AM
  3. Delete 800 links one at a time ?
    By killipso in forum v5.x
    Replies: 2
    Last Post: 01-26-2004, 10:55 AM
  4. Replies: 18
    Last Post: 12-27-2003, 05:35 PM
  5. Special Import of GT links
    By esm in forum v5.x
    Replies: 4
    Last Post: 05-21-2003, 05:12 PM

Posting Permissions

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