You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 409 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Converter Release: Snitz Forums to PHPBB and PHPNuke [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Sun Oct 22, 2006 6:00 am Reply with quoteBack to top

Hi,

I've released my Snitz Forums to PHPBB / PHPNuke (bbtonuke) converter (2 converters included, one for Nuke and one for BB). This script fully migrates all forums, forum structure, topics and posts. It also merges user databases - more on this in the documentation. Snitz code to BBCode is done for all topics, and the forum search tables are properly set up.

No code changes, mods or hacks to the PHPBB / PHPNuke source are required, and all posts/topics are ordered correctly after migration. Simply run the converter and that's it.

Note, I only had limited Snitz test data to do this with and it has only been tested with Nuke 7.6 and PHPBB 2.0.21, but should work for other versions.

You can download it here:
http://www.amazingbrass.co.uk/dist/externaldist/snitz2bbv0.3-dist.zip


*edit 17-02-07* Patch to v0.3 required

You may need to apply the following patch to the converter (if in doubt, apply it). Before running the converter, open Snitz2PHPBB.php and go to line 1047. You should see:
Code:
$query = "SELECT * FROM ".$snitz_topics." WHERE `TOPIC_ID` >= ".$nexttopic." ORDER BY `LASTACTIVITY` ASC LIMIT ".$nexttopic." , ".$LOW_MEMORY_MAXTOPICS;


Replace this line with:
Code:
$query = "SELECT * FROM ".$snitz_topics." ORDER BY `LASTACTIVITY` ASC LIMIT ".$nexttopic." , ".$LOW_MEMORY_MAXTOPICS;


Save your changes and begin the migration as normal.


Cheers!


Last edited by Endeavour on Sat Feb 17, 2007 11:47 am; edited 1 time in total
Find all posts by EndeavourView user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Tue Jan 02, 2007 12:25 pm Reply with quoteBack to top

v0.2 released, download here: http://www.amazingbrass.co.uk/dist/externaldist/snitz2bbv0.2-dist.zip

Code:
0. Changelog
---------------------------
v0.2   -    Fixed duplicate topic issue caused by Snitz leaving ghost topics
         behind (apparently when moving posts etc). Duplicate topics have
         the oldest topic deleted. This won't affect posts.
      -   Add fixup for the userid auto_increment to match the actual next
         id.
      -   Fixed a bug in the posts migrator, where the link to move to the
         next stage of the low memory migration wasn't updated with the
         correct params.
      -   Added option to skip the Snitz table fixup stage - useful if you
         have to run this script more than once as fixup only needs to be
         run once.

_________________
Stand up for courtesy and decency in the Nuke community, don't support nukeforums.
Find all posts by EndeavourView user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Mon Jan 08, 2007 11:33 am Reply with quoteBack to top

v0.3 released, download here: http://www.amazingbrass.co.uk/dist/externaldist/snitz2bbv0.3-dist.zip

Code:
v0.3   -   Re-release of 0.2 mainly because there was a screwup with the
         previous package, which didn't include all the fixes.
      -    Fixed a bug where the user's first name wasn't migrated
      -   Join dates appear properly in PHPBB migration now



IMPORTANT: Patch to 0.3 is required. Please see the first post in this topic.

_________________
Stand up for courtesy and decency in the Nuke community, don't support nukeforums.

Last edited by Endeavour on Sat Feb 17, 2007 11:48 am; edited 1 time in total
Find all posts by EndeavourView user's profileSend private message
n3m3sis
Nuke Cadet
Nuke Cadet


Joined: Jan 23, 2007
Posts: 7


PostPosted: Tue Jan 23, 2007 9:03 am Reply with quoteBack to top

Hi i have a running phpbb forum whit ofcourse its own database. I installed phpnuke 7.6 latest patch,Imported the nuke.sql trough phpmyadmin in another created database(same server) ,i made my Super user/admin in phpnuke.

Forums in phpnuke i didnt touch anything,no one registered. Well i upload all the Snitzz files to my webroot and configured to the converter wich is snitzz2nuke. During the process it stopped and says this:

Code:

MySQL query error!

Query was: INSERT INTO nuke_users (`name`, `username`, `user_email`, `user_website`, `user_regdate`, `user_password`, `user_active_cp`, `user_interests`) values ('SNITZ MIGRATION', 'Snitz User', 'noone@localhost.com', 'http://www.amazingbrass.co.uk', 'Jan 23, 2007', '4a24c0544fe757efc522a3079d9db4a3', 'YES', 'This is a catch-all user for posts from deleted/invalid user accounts. It was created during the Snitz forum migration. This is not a real person!')

mysql_errno = 1044
mysql_error = Access denied for user 'my_databasename'@'localhost' to database 'my_databasename'
extra info = Couldn't add the catch-all Snitz user into the Nuke user table




So whats wrong?? Sad
Find all posts by n3m3sisView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Tue Jan 23, 2007 10:58 pm Reply with quoteBack to top

Code:

Access denied for user 'my_databasename'@'localhost' to database 'my_databasename'

Indicates that one of the database settings is not correct. I don't know how this script functions, but somewhere you need to place the correct database user information

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
n3m3sis
Nuke Cadet
Nuke Cadet


Joined: Jan 23, 2007
Posts: 7


PostPosted: Wed Jan 24, 2007 5:16 am Reply with quoteBack to top

Hey Evaders99,

Thanks a lot! for looking at the problem,problem is solved ,i used another method to integrate phpbb to phpnuke ,whit phpbbtophpnuke from This site : http://evaders.swrebellion.com , And lol you are the author? Excellent script,worked immediately.

Only thing is i have a small few problems/bugs , My avatars arent working cant either upload them trough ,forum profile,but when i select it trough phpnuke i can select a avatar.(edit: I also enabled the abbitliy to upload avatars trough Php administration Panel.)


I would be very very thankfull , if you could help me out whit right side blocks,like on your website i want userinfo at the right side in the home page. You could take a look at my site: http://nuclear-madness.com.

Thank you very much,if you could help me answer this.
Find all posts by n3m3sisView user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Wed Jan 24, 2007 5:42 am Reply with quoteBack to top

n3m3sis, I did answer your question on the phpbb forums, but glad you got it solved.

I'm not sure why you went Snitz -> PHPBB -> PHPNuke, the converter can go directly from Snitz -> Nuke. But anyway, you've done it.

_________________
Stand up for courtesy and decency in the Nuke community, don't support nukeforums.
Find all posts by EndeavourView user's profileSend private message
n3m3sis
Nuke Cadet
Nuke Cadet


Joined: Jan 23, 2007
Posts: 7


PostPosted: Wed Jan 24, 2007 5:40 pm Reply with quoteBack to top

Thanks for the support Endeavour,i got it solved. I think you dont support phpbbtophpnuke ,but got a question wich is:


Why i/users cant upload or select a avatar trough forum profile? That seems to be only problem i got so far since the integration. Since im low level at php dont know were to start?? Would appreciate help very much!

Maybe the script didn't convert avatars phpcode to phpnuke?
Find all posts by n3m3sisView user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Thu Jan 25, 2007 8:41 am Reply with quoteBack to top

My converter does correctly bbcode-ify all the snitz code, but if your users can't upload an avatar that's a problem with your nuke config, not with the conversion.

_________________
Stand up for courtesy and decency in the Nuke community, don't support nukeforums.
Find all posts by EndeavourView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Jan 25, 2007 10:40 pm Reply with quoteBack to top

Right, check the Avatars directory in your Forums Config and make sure you have that directory permissions set correctly

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
n3m3sis
Nuke Cadet
Nuke Cadet


Joined: Jan 23, 2007
Posts: 7


PostPosted: Fri Jan 26, 2007 7:14 am Reply with quoteBack to top

Evaders99,


The directory permissions are 777 on Folder

modules/Forums/images/avatars/ and the gallery folder isnt for phpbb gallery it is for phpnuke your account is that right? Anyway im lost,i think something whit the code is corrupt or something.
Find all posts by n3m3sisView user's profileSend private message
n3m3sis
Nuke Cadet
Nuke Cadet


Joined: Jan 23, 2007
Posts: 7


PostPosted: Mon Jan 29, 2007 2:46 am Reply with quoteBack to top

Does any one know this bug problem? Evaders99,you released that script:phpbbtophpnuke , Do you maybe know what the problem is and how i can fix this?


I tried everything ,chmoded Avatars directory to 777,configured the path to the avatars in the forum admin configuration still no succes it seems like it resets itself to the default path.

In your script after the install is finished succesfull,at the bottom it says some script you have to add them manually,wich i dont know how Sad

Could you please help me out it looks like crap those X images,in my forum.
Find all posts by n3m3sisView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Mon Jan 29, 2007 10:05 pm Reply with quoteBack to top

I don't know, if your path is set to modules/Forums/images/avatars/ with the proper permissions, and your files are there, it should be working

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
n3m3sis
Nuke Cadet
Nuke Cadet


Joined: Jan 23, 2007
Posts: 7


PostPosted: Wed Jan 31, 2007 8:54 am Reply with quoteBack to top

modules/Forums/images/avatars/ tried it ten times,it automaticilly goes back to : images/avatars/.


So you dont know if your script imports the configuration of the avatars ?
Your script is very nice and fast ,only thing that is a current BUG i think is this problem.


Ive tried every possibility ,folder permissions on Avatars 777 also Gallery 777 . Tried to change the path to modules/Forums/images/avatars/ after i click save in php Admin and i look if its modules/Forums/images/avatars/ i see again images/avatars Mad

It is resetting itself to the old path ,maybe there must be something wrong in the phpbbcode table of avatars?


Do you have something usefull whit these details? Thank you
Find all posts by n3m3sisView user's profileSend private message
n3m3sis
Nuke Cadet
Nuke Cadet


Joined: Jan 23, 2007
Posts: 7


PostPosted: Wed Jan 31, 2007 9:36 am Reply with quoteBack to top

This is the problem :

http://nuclear-madness.com/images/avatars/155215874945a93f8650d92.jpg

You see there aint no modules/Forums/images/avatars/155215874945a93f8650d92.jpg

Thats the problem for avatars it resets to images/avatars instead of modules/forums/images/avatars



Second is this for the gallery it shows in profile for gallery you can click on gallery but you cant select anything to enter the gallery!
Find all posts by n3m3sisView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.057 Seconds - 248 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::