PDA

View Full Version : How to install modules


sifuhall
02-13-2006, 01:21 PM
There's a new book entry added:

How to install modules (http://www.vbdrupal.org/node/13)



Drupal has an extensive set of modules that plug-in directly with Drupal, without code changes. Many of these modules will work without any problems with vB Drupal. But some will not work. Make sure you test them carefully, and try all their options and settings.

Here are some tips to help you install the modules.

1. Follow the included readme.txt and install.txt for the module
2. If the module instructions tell you to create new tables, make sure you add your vB table prefix plus "drupal_" to it. Example: If your vB prefix is "vb_", and the new table is called "module_table", then create it as "vb_drupal_module_table".

peach
05-03-2006, 02:52 PM
3. If the module is specifically made for user accounts, or Drupal profile fields, it will most likely not work out of the box, and may require some customization.

can someone please elaborate on this? I don't know what to do exactly with my user-table loading modules

tamarian
05-03-2006, 04:40 PM
can someone please elaborate on this? I don't know what to do exactly with my user-table loading modules

This means if the module requires user specific data, like email address for example. This means it wil most likely query the drupal user table for those fields, and they need to be rewritten to query the vB user table instead. vBDrupal will rewrite those quereis, but depending on how they were written, some maybe missed in that module.

peach
05-03-2006, 04:42 PM
really VbD rewrites queries? why isnt that in the documentation anywhere, I just spent hours trying to rewrite all db queries and mysql files because my modules weren't working.

tamarian
05-03-2006, 04:48 PM
It will rewrite some quereis related to user table, that's how vBDrupal works to integrate both apps.

fringehead
10-09-2006, 06:10 AM
Hi there, I was searching through the forum and I found this thread. I am having this exact problem. Standard drupal can install this mod on 4.7 with a few mods, but I am getting this database error:

The following errors occurred when this message was submitted:
user warning: Table 'scubapost_net_-_vbulletin.drupal_aggregator2_feed' doesn't exist query: SELECT * FROM drupal_aggregator2_feed WHERE nid = 3 in /var/www/html/forums/drupal/includes/database.vbulletin.inc on line 95.
user warning: Table 'scubapost_net_-_vbulletin.drupal_aggregator2_feed' doesn't exist query: UPDATE drupal_aggregator2_feed SET checked = 1160392653 WHERE nid = 3 in /var/www/html/forums/drupal/includes/database.vbulletin.inc on line 95.
user warning: Table 'scubapost_net_-_vbulletin.drupal_aggregator2_item' doesn't exist query: SELECT ai.nid AS nid FROM drupal_node n, drupal_aggregator2_item ai WHERE ai.fid = 3 AND ai.nid = n.nid AND n.created < 1160392653 in /var/www/html/forums/drupal/includes/database.vbulletin.inc on line 95.
user warning: Table 'scubapost_net_-_vbulletin.drupal_aggregator2_feed' doesn't exist query: SELECT n.nid, n.title, af.checked, af.refresh, af.freezed FROM drupal_node n INNER JOIN drupal_aggregator2_feed af ON n.nid = af.nid ORDER BY n.title ASC in /var/www/html/forums/drupal/includes/database.vbulletin.inc on line 95.


so my table is called a"ggregator2_feed" what would I change the table name to get this to work? I don't have a prefix for my vb files. Any suggestions on how to mod this query to work?

Thanks,

Sean