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

vb Paid Subscriptions Import Status?

MGSteve

Well-known member
#1
Are the paid subscriptions pulled over from vb during an export yet? i.e. the subscription levels themselves and the status of the subscriptions for those members who have an active sub?

Obviously it would be a bit much to expect the call backs to work for currently active subs, I'm expecting to have to do a mass cancellation of people's PayPal subscriptions when we move over, but the key thing is that the subscriptions are pulled over to XF & then the members are notified as per normal when the sub is about to expire so that they can then go and set a new PayPal sub up through XF.
 

MGSteve

Well-known member
#4
Please, as this is going to cause major issues for us otherwise and I would imagine any other forum that currently uses paid subs. In actual fact, if I wasn't a coder myself and could probably get around it, it would be a showstopper. Currently any forum with paid subs really can't migrate over to XF as it would mean loosing the paid sub information and all members defaulting to a normal member again - painful would be an understatement.
 

shawn

Well-known member
#5
Has anybody tried writing a query to do this after the import? The userids changed from vB -> XF, so you'd have to match accounts by username.

This is one of two things (publicly joinable usergroups is the other) that have prevented me from migrating.
 

MGSteve

Well-known member
#6
if its that easy (and I'm not saying its not), then it really shouldn't be hard to add into the vB importer...
 

kontrabass

Well-known member
#7
This is a must for us as well. It sounds trivial but with several thousands of active subscriptions, there's no other option than an automated query or importer functionality.
 

shawn

Well-known member
#9
Does anyone know what the "extra" column is for in xf_user_upgrade_active? It looks like just a few specifics about the upgrade that was purchased... seems like things would work fine so long as you get the userid and start and end dates plugged into the table.
 

Slavik

XenForo moderator
Staff member
#11
bump - any update on this Mike / Kier as its not in 1.1 and we need it.
It doesn't import them, though I'll make a note of it and see if it can happen in a future version.
http://xenforo.com/community/threads/vbulletin-4-subscription-importer.19169/
Hi Mike,
Feel free to butcher up parts of my importer of subscriptions if you need to.

Steve,
IIRC the subscription system from vb3 > vb4 was identical, so if you want to, just change my extended importer to attach to the Xenforo 3.x importer and it *should* work.
 

Slavik

XenForo moderator
Staff member
#13
lol, you make it sound easy! I'll have a butchers tomorrow. :)
Change line 3 from

PHP:
class XenForo_Importer_vBulletin4Plus extends XenForo_Importer_vBulletin4
to

PHP:
class XenForo_Importer_vBulletin4Plus extends whatever_mikes_importer_is_called
 

shawn

Well-known member
#17
Trying to get this working on vB 3.8 according to Slavik's note above. I changed line 3 to say

PHP:
class XenForo_Importer_vBulletin4Plus extends XenForo_Importer_vBulletin
And it shows up like it should in the vB 3.8 import pane. But when I run it, I get this error:

Undefined offset: -1
  1. XenForo_Application::handlePhpError() in XenForo/Importer/vBulletin4Plus.php at line 105
  2. XenForo_Importer_vBulletin4Plus->stepSubscriptions() in XenForo/Importer/Abstract.php at line 77
  3. XenForo_Importer_Abstract->runStep() in XenForo/ControllerAdmin/Import.php at line 180
  4. XenForo_ControllerAdmin_Import->_runStep() in XenForo/ControllerAdmin/Import.php at line 232
  5. XenForo_ControllerAdmin_Import->_startStep() in XenForo/ControllerAdmin/Import.php at line 175
  6. XenForo_ControllerAdmin_Import->actionStartStep() in XenForo/FrontController.php at line 310
  7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  8. XenForo_FrontController->run() in /websites/dev/xen/admin.php at line 13
 

shawn

Well-known member
#19
Finally, went back and did it the way it was intended to be used... importing vB4 to xF 1.03, using the original Paul M script. Same error.

This isn't exactly the place to troubleshoot Slavik's script. I'll move the discussion there instead.