PHPbb to Drupal

Hey!

Trying to migrate to Drupal from PHPBB3 RC Gold

Im getting the following problems during the import:

Table phpbb_categories does not exist!
Table phpbb_forums: OK!
Table phpbb_posts: OK!
Table phpbb_posts_text does not exist!
Table phpbb_topics: OK!
Table phpbb_users: OK!

The worst of it is phpbb_posts_text DOESNT exist in the DB and nor does the other one.

Anyone know I am going to get around this?

function for node create (not form for create !)

Hello Drupal friends !

1. I´ve written a module which gets an extra node type
2. there is a cron job in this module, which imports from external sources data and creates new nodes of this type automaticly if new data has arrived

For now i have written a little function, that makes the sql queries for adding the right entries in the right tables
looks like:


db_query("INSERT INTO {node} (nid, vid, title, type, uid, status, created, changed, comment, promote, moderate, sticky) VALUES (%d, %d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d)", $l_sNId, $l_sVId, $l_sTitle, 'mixl', 85, 1, $l_date, time(), 2, 0, 0, 0);
db_query("INSERT INTO {node_revisions} (nid, vid, title, timestamp, uid, format) VALUES (%d, %d, '%s', %d, %d, %d)", $l_sNId, $l_sVId, $l_sTitle, $l_date, 85, 0);
db_query("INSERT INTO {mixl}_nodes (nid, url, import_url, parked, pid) VALUES (%d, '%s', '%s', %d, %d)", $l_sNId, $p_sLink, $p_sLink, 0, $p_iPId);
db_query("INSERT INTO node_comment_statistics (nid, last_comment_timestamp, last_comment_name, last_comment_uid, comment_count) VALUES (%d,%d,%d,%d,%d)", $l_sNId, $l_date, NULL, 85, 0);
db_query("DELETE FROM {node_access} WHERE nid=%d AND (realm = 'nodeaccess_uid' or realm = 'nodeaccess_rid')", $l_sNId);

user settings in own module ?

hello friends of drupal !

Iam searching for a possibility to integrate some user settings for a module written by me. Is there any hook like hook_settings ? have parsed the 4.7 api reference, but do not find some interesting for my topic ? For example i will integrate, that the user can choose one time how many items per page are displayed in my module and such things. He can save this setting and so every user can have different settings.

If you have any hints this would be great !

finding 4.7 update.php

I have a need for the update.php file for a 4.7 site -- I can't find the core files for 4.7 anywhere. I know they're outdated, but how can I access them? thanks,

fatal error installing views has crashed site - can anyone help

In trying to install Views 4.7 on a 4.7 site (I know, I know - we're going to uprgade in the next 2 months), something has gone very wrong:

I enabled the module under admin/modules and the site crashed.

Here are the errors:

user error: Table '[MYDB].view_view' doesn't exist
query: SELECT * FROM view_view WHERE page = 1 in /home/DOMAIN/public_html/includes/database.mysql.inc on line 66.

Fatal error: Cannot unset string offsets in /home/DOMAIN/public_html/modules/views/modules/views_taxonomy.inc on line 243

tinyMCE profiles conflicting

Hello

I'd like all authenticated users to use a simple version of the editor and my admin user to use a much more robust version of the editor. I have two tinyMCE profiles. One for the role "authenticated user" and one for the role "admin" users. This works great for the "authenticated user" but the admin user always gets the simple version.

The admin user is part of both roles, (authenticated user, and admin). Is this what is causing the problem? If so how to I correct this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x