Closed (fixed)
Project:
phpBB2Drupal
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 May 2009 at 18:12 UTC
Updated:
11 Oct 2012 at 16:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
NeoID commentedNo interest in this?
Comment #2
naheemsays commentedUnfortunately, no. If put into the module, it would be as a separate step and that would make the module more complicated.
All that would need to be done is for each node, get the number of views for that phpbb post, then insert it into drupal, but this would need to be done after all the other stuff has been imported, so a sepaarate step I think.
Leaving it open as you/others may disagree.
Comment #3
NeoID commentedSo it could not be integrated into the actual import, right after a phpbb topic has been moved into the Drupal db?
As the module already moves information for the topic like who created it, text and so.. I didn't think it should be too difficult to include the views count table...but I may be wrong...
Comment #4
Fogg commentedUp!!
I would be interessted in this as well!
Thanks.
Comment #5
Fogg commentedFound out that if everything is in one database it is a simple query ;)
Here it is:
May be that is helpfull for others as well :)
Comment #6
JeremyFrench commentedMigrate 2.4 makes this much easier. Patch attached.
Comment #7
JeremyFrench commentedA cleaner patch which works for me.
Comment #8
g10 commented#7 looks good
maybe add a check if the statistics module is enabled?
Comment #9
JeremyFrench commentedI think that the import framework does that for you but I will test later to make sure there are no errors.
Comment #10
JeremyFrench commentedHave tested with statistics on and off. Seems to work for me. Committed as http://drupalcode.org/project/phpbb2drupal.git/commitdiff/bd48bb6