Skip to main content
SMF 2.011 to ElkArte 1.07: Subscriptions set up but none shown in profiles Started by andy · · Read 5845 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

SMF 2.011 to ElkArte 1.07: Subscriptions set up but none shown in profiles

I had a few problems getting the importer working (our fault for messing with some PM tables) but after getting the import done I checked several member subscription dates (profile>paid subscriptions) and there are none there.
Paid subscriptions is active and all the details on the set up page for subscriptions look ok. Even on that page it lists 0 subscriptions.

Re: SMF 2.011 to ElkArte 1.07: Subscriptions set up but none shown in profiles

Reply #1

In the sense that subscriptions were not ported from SMF to Elk?
I don't think subscriptions are among the things imported.
It shouldn't be too difficult to have them, maybe TE has some trick for that. :P
Bugs creator.
Features destroyer.
Template killer.

Re: SMF 2.011 to ElkArte 1.07: Subscriptions set up but none shown in profiles

Reply #2

I thought member subscriptions were imported. Ah ok.  :o

Re: SMF 2.011 to ElkArte 1.07: Subscriptions set up but none shown in profiles

Reply #3

Looks like it should import the subscriptions table, but that may just be the subscriptions themselves not the members who have subscribed.  Something to investigate for sure.

Re: SMF 2.011 to ElkArte 1.07: Subscriptions set up but none shown in profiles

Reply #4

yep, user subscriptions are indeed missing..

I'll add this to the importer soon. The database strucure for both SMF and Elk is IIRC identically here, so this should work:
Code: [Select]
<step>
<title>Importing member subscriptions</title>
<detect>{$from_prefix}log_subscribed</detect>
<destination>{$to_prefix}log_subscribed</destination>
<presql>TRUNCATE {$to_prefix}log_subscribed;</presql>
<query>
SELECT
*
FROM {$from_prefix}log_subscribed;
</query>
</step>
Thorsten "TE" Eurich
------------------------

Re: SMF 2.011 to ElkArte 1.07: Subscriptions set up but none shown in profiles

Reply #5

@TE cool!  

The master branch should be working these days as well and I think I added all of your previous xml updates to it as well.