PDA

View Full Version : SQL Query to bath upload paid subscribers


kronnos
04 Feb 2012, 06:14
I am just wondering what would be the best way to mass upload a bunch of subscribed users to a forum. i dont want to chnage anything about the user since they are alreayd on the forum, but just upload paid subscription status.

I am moving away from the mod, a_w_c subscription system and want to use the default Vb subscription since that mod is no longer supported. Now I just want to move them over in mass via database instead of manually adding each users subscription. if should be pretty easy since the defualt vb subscription does not keep alot of the subscribers infor and I think there are only 2 tables i would need to populate: paymentinfo AND paymenttransaction

Is there another table I am missing? Also, i am not asking for an easy query that would do the migration in one click. I dont mind doing some manual work but can you help me make a query to create a subscription for: if I know USERNAME, DATE SUBSCRIBED, LENGTH? Would i need to add info like, what was previous usergroup or anything else?


Thanks!

--------------- Added 1328367056 at 1328367056 ---------------

i think i found the portion of the code that might have converted old vb data to the mod subsctioption data, maybe it can somehow be used:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------