Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL
Author Message
blith
Client



Joined: Jul 18, 2003
Posts: 977

PostPosted: Fri Aug 08, 2008 8:52 am Reply with quote

My old site has a 0 for sid in all my downloads, the new site has a 1 for sid in all the downloads. I am goint to try and do an insert of all the old downloads into the new table and I am working on the structure. Thank you.
 
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Fri Aug 08, 2008 9:18 am Reply with quote

This post seems more of a statement of fact rather than a question. Do you need help with something?
 
View user's profile Send private message Send e-mail
blith







PostPosted: Fri Aug 08, 2008 10:26 am Reply with quote

Sorry, I asked it in the subject line. What is sid in lic,cid,sid?
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Aug 08, 2008 3:11 pm Reply with quote

Do you mean for usage in the downloads table?

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
blith







PostPosted: Fri Aug 08, 2008 3:38 pm Reply with quote

Yes, I think I understand the lid is the main id of the download and the cid would be the category but I am not sure what the sid is...
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Aug 08, 2008 4:12 pm Reply with quote

It has something to do with subcategories. I've never used subcategories in my downloads, so I don't know if it works or not.

_________________
GCalendar - An Event Calendar for PHP-Nuke
Member_Map - A Google Maps Nuke Module 
View user's profile Send private message
evaders99







PostPosted: Fri Aug 08, 2008 11:45 pm Reply with quote

cid is the category, sid isn't being used in my database. My guess is that sid is the story ID, that is the News module is the only one using sid
 
Gremmie







PostPosted: Sat Aug 09, 2008 1:53 pm Reply with quote

No, I'm pretty sure it is for sub-category. Downloads and news aren't related.
 
evaders99







PostPosted: Sat Aug 09, 2008 3:03 pm Reply with quote

Subcategories aren't set in sid though, they are set in downloads_categories table using parentid.
 
Gremmie







PostPosted: Sat Aug 09, 2008 3:49 pm Reply with quote

Ok, I tried looking at the code and it wasn't clear to me that sid was really being used at all in any meaningful way in the downloads table.
 
blith







PostPosted: Wed Aug 13, 2008 10:11 am Reply with quote

interesting, like I said earlier in an early db it was set to 0 and in the most recent install they all have a 1. I was wondering what the difference was?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©