Author Topic: Two or more different 4ImageGalleries - One Registration & Sign-in  (Read 7611 times)

0 Members and 1 Guest are viewing this topic.

Offline NYChack

  • Newbie
  • *
  • Posts: 11
    • View Profile
Why do this? To have two or more different Image Galleries with there own Top Images Page as well as there own Themes. Having one vBulletin Forum board linking different topics to the appropriate image gallery. As of now with only one 4imagesGallery running, all image show up on one "Top Images" page combining the categories. This mod would make it possible to have the option of having each category have it's own Top Images Page.

Example: http://www.mydomain.com/4imagesGallery1 would be images of Apples. http://www.mydomain.com/4imagesGallery2 would be images of Orange's. Right now with only one 4images Gallery, the Top Images page would include both apples and oranges sorting them by ratings,votes, hits and downloads. As apposed to 4imagesGallery1 (apples) and 4imagesGallery2 (oranges) having there own Top Images Page sorting them by rating,votes, hits and downloads.

Any way to do this?

Thank you,
Jason

Offline Deven316

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Two or more different 4ImageGalleries - One Registration & Sign-in
« Reply #1 on: March 20, 2005, 03:34:54 AM »
just install 4images again with diff mysql table values, you may have to manually edit the config file for the 2nd 4images you install due to it possibly not allowing you to rename the table prefix when you install so be carefull..

Offline GrrBrr

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Two or more different 4ImageGalleries - One Registration & Sign-in
« Reply #2 on: March 20, 2005, 05:55:01 PM »
If you only want one registration & sign in you could make the two gallerys share the same users-table in the database.

Offline qeqqer

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Two or more different 4ImageGalleries - One Registration & Sign-in
« Reply #3 on: July 19, 2005, 12:03:42 PM »
Hello

I have the same problem. I only have one Database but want to differents galleries.. one for the family and one for friends... It's ok with to differents logins for the users.

I know the solution will be to change the mysql setup, but I'm hoping that someone out there can tell me witch files I have to change and maybe to what?? :?

Thank you  :D

TheOracle

  • Guest
Re: Two or more different 4ImageGalleries - One Registration & Sign-in
« Reply #4 on: July 19, 2005, 01:13:18 PM »
Quote

I know the solution will be to change the mysql setup, but I'm hoping that someone out there can tell me witch files I have to change and maybe to what??


Assuming you wish to keep the same template and configurations on both of your galleries, you'd simply need to reproduce the tables into a different prefix name. As from the PHP end, you'd simply need to re-copy all the script to anoher folder (in that case - for example : ' friends ') and modify your config.php file. That's all there is to do. ;)

Offline qeqqer

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Two or more different 4ImageGalleries - One Registration & Sign-in
« Reply #5 on: July 19, 2005, 02:44:36 PM »
Thanx... I tried, but recieve this message..

Quote

DB Error: Bad SQL Query: CREATE TABLE images_categories (cat_id int(10) unsigned NOT NULL auto_increment,cat_name varchar(255) NOT NULL default '',cat_description text NOT NULL,cat_parent_id int(10) unsigned NOT NULL default '0',cat_hits int(10) unsigned NOT NULL default '0',cat_order int(10) unsigned NOT NULL default '0',auth_viewcat tinyint(2) NOT NULL default '0',auth_viewimage tinyint(2) NOT NULL default '0',auth_download tinyint(2) NOT NULL default '0',auth_upload tinyint(2) NOT NULL default '0',auth_directupload tinyint(2) NOT NULL default '0',auth_vote tinyint(2) NOT NULL default '0',auth_sendpostcard tinyint(2) NOT NULL default '0',auth_readcomment tinyint(2) NOT NULL default '0',auth_postcomment tinyint(2) NOT NULL default '0',PRIMARY KEY (cat_id),KEY cat_parent_id (cat_parent_id),KEY cat_order (cat_order)) TYPE=MyISAM
Table 'images_categories' already exists

DB Error: Bad SQL Query: CREATE TABLE images_comments (comment_id int(10) unsigned NOT NULL auto_increment,image_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',user_name varchar(100) NOT NULL default '',comment_headline varchar(255) NOT NULL default '',comment_text text NOT NULL,comment_ip varchar(20) NOT NULL default '',comment_date int(11) unsigned NOT NULL default '0',PRIMARY KEY (comment_id),KEY image_id (image_id),KEY user_id (user_id),KEY comment_date (comment_date)) TYPE=MyISAM
Table 'images_comments' already exists

DB Error: Bad SQL Query: CREATE TABLE images_groupaccess (group_id int(10) unsigned NOT NULL default '0',cat_id int(10) unsigned NOT NULL default '0',auth_viewcat tinyint(1) NOT NULL default '0',auth_viewimage tinyint(1) NOT NULL default '0',auth_download tinyint(1) NOT NULL default '0',auth_upload tinyint(1) NOT NULL default '0',auth_directupload tinyint(1) NOT NULL default '0',auth_vote tinyint(1) NOT NULL default '0',auth_sendpostcard tinyint(1) NOT NULL default '0',auth_readcomment tinyint(1) NOT NULL default '0',auth_postcomment tinyint(1) NOT NULL default '0',KEY group_id (group_id),KEY cat_id (cat_id)) TYPE=MyISAM
Table 'images_groupaccess' already exists

DB Error: Bad SQL Query: CREATE TABLE images_groupmatch (group_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',groupmatch_startdate int(11) unsigned NOT NULL default '0',groupmatch_enddate int(11) unsigned NOT NULL default '0',KEY group_id (group_id),KEY user_id (user_id)) TYPE=MyISAM
Table 'images_groupmatch' already exists

DB Error: Bad SQL Query: CREATE TABLE images_groups (group_id int(10) unsigned NOT NULL auto_increment,group_name varchar(100) NOT NULL default '',group_type tinyint(2) NOT NULL default '1',PRIMARY KEY (group_id)) TYPE=MyISAM
Table 'images_groups' already exists

DB Error: Bad SQL Query: CREATE TABLE images_images (image_id int(10) unsigned NOT NULL auto_increment,cat_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',image_name varchar(255) NOT NULL default '',image_description text NOT NULL,image_keywords text NOT NULL,image_date int(11) unsigned NOT NULL default '0',image_active tinyint(1) NOT NULL default '1',image_media_file varchar(255) NOT NULL default '',image_thumb_file varchar(255) NOT NULL default '',image_download_url varchar(255) NOT NULL default '',image_allow_comments tinyint(1) NOT NULL default '1',image_comments int(10) unsigned NOT NULL default '0',image_downloads int(10) unsigned NOT NULL default '0',image_votes int(10) unsigned NOT NULL default '0',image_rating decimal(4,2) NOT NULL default '0.00',image_hits int(10) unsigned NOT NULL default '0',PRIMARY KEY (image_id),KEY cat_id (cat_id),KEY user_id (user_id),KEY image_date (image_date),KEY image_active (image_active)) TYPE=MyISAM
Table 'images_images' already exists

DB Error: Bad SQL Query: CREATE TABLE images_images_temp (image_id int(10) unsigned NOT NULL auto_increment,cat_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',image_name varchar(255) NOT NULL default '',image_description text NOT NULL,image_keywords text NOT NULL,image_date int(11) unsigned NOT NULL default '0',image_media_file varchar(255) NOT NULL default '',image_thumb_file varchar(255) NOT NULL default '',image_download_url varchar(255) NOT NULL default '',PRIMARY KEY (image_id),KEY cat_id (cat_id),KEY user_id (user_id)) TYPE=MyISAM
Table 'images_images_temp' already exists

DB Error: Bad SQL Query: CREATE TABLE images_lightboxes (lightbox_id varchar(32) NOT NULL default '',user_id int(11) NOT NULL default '0',lightbox_lastaction int(11) unsigned NOT NULL default '0',lightbox_image_ids text,KEY lightbox_id (lightbox_id),KEY user_id (user_id)) TYPE=MyISAM
Table 'images_lightboxes' already exists

DB Error: Bad SQL Query: CREATE TABLE images_postcards (postcard_id varchar(32) NOT NULL default '',image_id int(10) unsigned NOT NULL default '0',postcard_date int(11) unsigned NOT NULL default '0',postcard_bg_color varchar(100) NOT NULL default '',postcard_border_color varchar(100) NOT NULL default '',postcard_font_color varchar(100) NOT NULL default '',postcard_font_face varchar(100) NOT NULL default '',postcard_sender_name varchar(255) NOT NULL default '',postcard_sender_email varchar(255) NOT NULL default '',postcard_recipient_name varchar(255) NOT NULL default '',postcard_recipient_email varchar(255) NOT NULL default '',postcard_headline varchar(255) NOT NULL default '',postcard_message text NOT NULL,PRIMARY KEY (postcard_id)) TYPE=MyISAM
Table 'images_postcards' already exists

DB Error: Bad SQL Query: CREATE TABLE images_sessions (session_id varchar(32) NOT NULL default '',session_user_id int(11) NOT NULL default '0',session_lastaction int(11) unsigned NOT NULL default '0',session_location varchar(255) NOT NULL default '',session_ip varchar(15) NOT NULL default '',PRIMARY KEY (session_id),KEY session_user_id (session_user_id),KEY session_id_ip_user_id (session_id,session_ip,session_user_id)) TYPE=HEAP
Table 'images_sessions' already exists

DB Error: Bad SQL Query: CREATE TABLE images_settings (setting_name varchar(255) NOT NULL default '',setting_value mediumtext NOT NULL,PRIMARY KEY (setting_name)) TYPE=MyISAM
Table 'images_settings' already exists

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('site_name', '4images - Image Gallery Management System')
Duplicate entry 'site_name' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('site_email', 'admin@yourdomain.com')
Duplicate entry 'site_email' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('use_smtp', '0')
Duplicate entry 'use_smtp' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('smtp_host', '')
Duplicate entry 'smtp_host' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('smtp_username', '')
Duplicate entry 'smtp_username' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('smtp_password', '')
Duplicate entry 'smtp_password' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('template_dir', 'default')
Duplicate entry 'template_dir' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('language_dir', 'deutsch')
Duplicate entry 'language_dir' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('date_format', 'd.m.Y')
Duplicate entry 'date_format' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('time_format', 'H:i')
Duplicate entry 'time_format' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('convert_tool', 'none')
Duplicate entry 'convert_tool' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('convert_tool_path', '')
Duplicate entry 'convert_tool_path' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('gz_compress', '0')
Duplicate entry 'gz_compress' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('gz_compress_level', '9')
Duplicate entry 'gz_compress_level' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('cat_cells', '2')
Duplicate entry 'cat_cells' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('cat_table_width', '100%')
Duplicate entry 'cat_table_width' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('cat_table_cellspacing', '1')
Duplicate entry 'cat_table_cellspacing' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('cat_table_cellpadding', '3')
Duplicate entry 'cat_table_cellpadding' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('num_subcats', '3')
Duplicate entry 'num_subcats' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('image_order', 'image_name')
Duplicate entry 'image_order' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('image_sort', 'ASC')
Duplicate entry 'image_sort' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('new_cutoff', '10')
Duplicate entry 'new_cutoff' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('image_border', '1')
Duplicate entry 'image_border' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('image_cells', '3')
Duplicate entry 'image_cells' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('default_image_rows', '3')
Duplicate entry 'default_image_rows' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('custom_row_steps', '10')
Duplicate entry 'custom_row_steps' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('image_table_width', '100%')
Duplicate entry 'image_table_width' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('image_table_cellspacing', '1')
Duplicate entry 'image_table_cellspacing' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('image_table_cellpadding', '3')
Duplicate entry 'image_table_cellpadding' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('upload_mode', '2')
Duplicate entry 'upload_mode' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('allowed_mediatypes', 'jpg,gif,png,aif,au,avi,mid,mov,mp3,mpg,swf,wav,ra,rm,zip,pdf')
Duplicate entry 'allowed_mediatypes' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('max_thumb_width', '300')
Duplicate entry 'max_thumb_width' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('max_thumb_height', '300')
Duplicate entry 'max_thumb_height' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('max_thumb_size', '100')
Duplicate entry 'max_thumb_size' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('max_image_width', '1024')
Duplicate entry 'max_image_width' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('max_image_height', '1024')
Duplicate entry 'max_image_height' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('max_media_size', '2000')
Duplicate entry 'max_media_size' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('upload_notify', '0')
Duplicate entry 'upload_notify' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('upload_emails', '')
Duplicate entry 'upload_emails' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('auto_thumbnail', '0')
Duplicate entry 'auto_thumbnail' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('auto_thumbnail_dimension', '100')
Duplicate entry 'auto_thumbnail_dimension' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('auto_thumbnail_resize_type', '1')
Duplicate entry 'auto_thumbnail_resize_type' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('auto_thumbnail_quality', '75')
Duplicate entry 'auto_thumbnail_quality' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('badword_list', 'tra-la-la {tra-la-la}')
Duplicate entry 'badword_list' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('badword_replace_char', '*')
Duplicate entry 'badword_replace_char' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('wordwrap_comments', '50')
Duplicate entry 'wordwrap_comments' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('html_comments', '0')
Duplicate entry 'html_comments' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('bb_comments', '1')
Duplicate entry 'bb_comments' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('bb_img_comments', '0')
Duplicate entry 'bb_img_comments' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('category_separator', ' / ')
Duplicate entry 'category_separator' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('paging_range', '5')
Duplicate entry 'paging_range' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('user_edit_image', '1')
Duplicate entry 'user_edit_image' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('user_delete_image', '1')
Duplicate entry 'user_delete_image' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('user_edit_comments', '1')
Duplicate entry 'user_edit_comments' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('user_delete_comments', '1')
Duplicate entry 'user_delete_comments' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('account_activation', '1')
Duplicate entry 'account_activation' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('activation_time', '14')
Duplicate entry 'activation_time' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('session_timeout', '15')
Duplicate entry 'session_timeout' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('display_whosonline', '1')
Duplicate entry 'display_whosonline' for key 1

DB Error: Bad SQL Query: INSERT INTO images_settings VALUES ('highlight_admin', '1')
Duplicate entry 'highlight_admin' for key 1

Der opstod en fejl ved åbning af databasen:

CREATE TABLE images_categories (cat_id int(10) unsigned NOT NULL auto_increment,cat_name varchar(255) NOT NULL default '',cat_description text NOT NULL,cat_parent_id int(10) unsigned NOT NULL default '0',cat_hits int(10) unsigned NOT NULL default '0',cat_order int(10) unsigned NOT NULL default '0',auth_viewcat tinyint(2) NOT NULL default '0',auth_viewimage tinyint(2) NOT NULL default '0',auth_download tinyint(2) NOT NULL default '0',auth_upload tinyint(2) NOT NULL default '0',auth_directupload tinyint(2) NOT NULL default '0',auth_vote tinyint(2) NOT NULL default '0',auth_sendpostcard tinyint(2) NOT NULL default '0',auth_readcomment tinyint(2) NOT NULL default '0',auth_postcomment tinyint(2) NOT NULL default '0',PRIMARY KEY (cat_id),KEY cat_parent_id (cat_parent_id),KEY cat_order (cat_order)) TYPE=MyISAM
CREATE TABLE images_comments (comment_id int(10) unsigned NOT NULL auto_increment,image_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',user_name varchar(100) NOT NULL default '',comment_headline varchar(255) NOT NULL default '',comment_text text NOT NULL,comment_ip varchar(20) NOT NULL default '',comment_date int(11) unsigned NOT NULL default '0',PRIMARY KEY (comment_id),KEY image_id (image_id),KEY user_id (user_id),KEY comment_date (comment_date)) TYPE=MyISAM
CREATE TABLE images_groupaccess (group_id int(10) unsigned NOT NULL default '0',cat_id int(10) unsigned NOT NULL default '0',auth_viewcat tinyint(1) NOT NULL default '0',auth_viewimage tinyint(1) NOT NULL default '0',auth_download tinyint(1) NOT NULL default '0',auth_upload tinyint(1) NOT NULL default '0',auth_directupload tinyint(1) NOT NULL default '0',auth_vote tinyint(1) NOT NULL default '0',auth_sendpostcard tinyint(1) NOT NULL default '0',auth_readcomment tinyint(1) NOT NULL default '0',auth_postcomment tinyint(1) NOT NULL default '0',KEY group_id (group_id),KEY cat_id (cat_id)) TYPE=MyISAM
CREATE TABLE images_groupmatch (group_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',groupmatch_startdate int(11) unsigned NOT NULL default '0',groupmatch_enddate int(11) unsigned NOT NULL default '0',KEY group_id (group_id),KEY user_id (user_id)) TYPE=MyISAM
CREATE TABLE images_groups (group_id int(10) unsigned NOT NULL auto_increment,group_name varchar(100) NOT NULL default '',group_type tinyint(2) NOT NULL default '1',PRIMARY KEY (group_id)) TYPE=MyISAM
CREATE TABLE images_images (image_id int(10) unsigned NOT NULL auto_increment,cat_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',image_name varchar(255) NOT NULL default '',image_description text NOT NULL,image_keywords text NOT NULL,image_date int(11) unsigned NOT NULL default '0',image_active tinyint(1) NOT NULL default '1',image_media_file varchar(255) NOT NULL default '',image_thumb_file varchar(255) NOT NULL default '',image_download_url varchar(255) NOT NULL default '',image_allow_comments tinyint(1) NOT NULL default '1',image_comments int(10) unsigned NOT NULL default '0',image_downloads int(10) unsigned NOT NULL default '0',image_votes int(10) unsigned NOT NULL default '0',image_rating decimal(4,2) NOT NULL default '0.00',image_hits int(10) unsigned NOT NULL default '0',PRIMARY KEY (image_id),KEY cat_id (cat_id),KEY user_id (user_id),KEY image_date (image_date),KEY image_active (image_active)) TYPE=MyISAM
CREATE TABLE images_images_temp (image_id int(10) unsigned NOT NULL auto_increment,cat_id int(10) unsigned NOT NULL default '0',user_id int(11) NOT NULL default '0',image_name varchar(255) NOT NULL default '',image_description text NOT NULL,image_keywords text NOT NULL,image_date int(11) unsigned NOT NULL default '0',image_media_file varchar(255) NOT NULL default '',image_thumb_file varchar(255) NOT NULL default '',image_download_url varchar(255) NOT NULL default '',PRIMARY KEY (image_id),KEY cat_id (cat_id),KEY user_id (user_id)) TYPE=MyISAM
CREATE TABLE images_lightboxes (lightbox_id varchar(32) NOT NULL default '',user_id int(11) NOT NULL default '0',lightbox_lastaction int(11) unsigned NOT NULL default '0',lightbox_image_ids text,KEY lightbox_id (lightbox_id),KEY user_id (user_id)) TYPE=MyISAM
CREATE TABLE images_postcards (postcard_id varchar(32) NOT NULL default '',image_id int(10) unsigned NOT NULL default '0',postcard_date int(11) unsigned NOT NULL default '0',postcard_bg_color varchar(100) NOT NULL default '',postcard_border_color varchar(100) NOT NULL default '',postcard_font_color varchar(100) NOT NULL default '',postcard_font_face varchar(100) NOT NULL default '',postcard_sender_name varchar(255) NOT NULL default '',postcard_sender_email varchar(255) NOT NULL default '',postcard_recipient_name varchar(255) NOT NULL default '',postcard_recipient_email varchar(255) NOT NULL default '',postcard_headline varchar(255) NOT NULL default '',postcard_message text NOT NULL,PRIMARY KEY (postcard_id)) TYPE=MyISAM
CREATE TABLE images_sessions (session_id varchar(32) NOT NULL default '',session_user_id int(11) NOT NULL default '0',session_lastaction int(11) unsigned NOT NULL default '0',session_location varchar(255) NOT NULL default '',session_ip varchar(15) NOT NULL default '',PRIMARY KEY (session_id),KEY session_user_id (session_user_id),KEY session_id_ip_user_id (session_id,session_ip,session_user_id)) TYPE=HEAP
CREATE TABLE images_settings (setting_name varchar(255) NOT NULL default '',setting_value mediumtext NOT NULL,PRIMARY KEY (setting_name)) TYPE=MyISAM
INSERT INTO images_settings VALUES ('site_name', '4images - Image Gallery Management System')
INSERT INTO images_settings VALUES ('site_email', 'admin@yourdomain.com')
INSERT INTO images_settings VALUES ('use_smtp', '0')
INSERT INTO images_settings VALUES ('smtp_host', '')
INSERT INTO images_settings VALUES ('smtp_username', '')
INSERT INTO images_settings VALUES ('smtp_password', '')
INSERT INTO images_settings VALUES ('template_dir', 'default')
INSERT INTO images_settings VALUES ('language_dir', 'deutsch')
INSERT INTO images_settings VALUES ('date_format', 'd.m.Y')
INSERT INTO images_settings VALUES ('time_format', 'H:i')
INSERT INTO images_settings VALUES ('convert_tool', 'none')
INSERT INTO images_settings VALUES ('convert_tool_path', '')
INSERT INTO images_settings VALUES ('gz_compress', '0')
INSERT INTO images_settings VALUES ('gz_compress_level', '9')
INSERT INTO images_settings VALUES ('cat_cells', '2')
INSERT INTO images_settings VALUES ('cat_table_width', '100%')
INSERT INTO images_settings VALUES ('cat_table_cellspacing', '1')
INSERT INTO images_settings VALUES ('cat_table_cellpadding', '3')
INSERT INTO images_settings VALUES ('num_subcats', '3')
INSERT INTO images_settings VALUES ('image_order', 'image_name')
INSERT INTO images_settings VALUES ('image_sort', 'ASC')
INSERT INTO images_settings VALUES ('new_cutoff', '10')
INSERT INTO images_settings VALUES ('image_border', '1')
INSERT INTO images_settings VALUES ('image_cells', '3')
INSERT INTO images_settings VALUES ('default_image_rows', '3')
INSERT INTO images_settings VALUES ('custom_row_steps', '10')
INSERT INTO images_settings VALUES ('image_table_width', '100%')
INSERT INTO images_settings VALUES ('image_table_cellspacing', '1')
INSERT INTO images_settings VALUES ('image_table_cellpadding', '3')
INSERT INTO images_settings VALUES ('upload_mode', '2')
INSERT INTO images_settings VALUES ('allowed_mediatypes', 'jpg,gif,png,aif,au,avi,mid,mov,mp3,mpg,swf,wav,ra,rm,zip,pdf')
INSERT INTO images_settings VALUES ('max_thumb_width', '300')
INSERT INTO images_settings VALUES ('max_thumb_height', '300')
INSERT INTO images_settings VALUES ('max_thumb_size', '100')
INSERT INTO images_settings VALUES ('max_image_width', '1024')
INSERT INTO images_settings VALUES ('max_image_height', '1024')
INSERT INTO images_settings VALUES ('max_media_size', '2000')
INSERT INTO images_settings VALUES ('upload_notify', '0')
INSERT INTO images_settings VALUES ('upload_emails', '')
INSERT INTO images_settings VALUES ('auto_thumbnail', '0')
INSERT INTO images_settings VALUES ('auto_thumbnail_dimension', '100')
INSERT INTO images_settings VALUES ('auto_thumbnail_resize_type', '1')
INSERT INTO images_settings VALUES ('auto_thumbnail_quality', '75')
INSERT INTO images_settings VALUES ('badword_list', 'tra-la-la {tra-la-la}')
INSERT INTO images_settings VALUES ('badword_replace_char', '*')
INSERT INTO images_settings VALUES ('wordwrap_comments', '50')
INSERT INTO images_settings VALUES ('html_comments', '0')
INSERT INTO images_settings VALUES ('bb_comments', '1')
INSERT INTO images_settings VALUES ('bb_img_comments', '0')
INSERT INTO images_settings VALUES ('category_separator', ' / ')
INSERT INTO images_settings VALUES ('paging_range', '5')
INSERT INTO images_settings VALUES ('user_edit_image', '1')
INSERT INTO images_settings VALUES ('user_delete_image', '1')
INSERT INTO images_settings VALUES ('user_edit_comments', '1')
INSERT INTO images_settings VALUES ('user_delete_comments', '1')
INSERT INTO images_settings VALUES ('account_activation', '1')
INSERT INTO images_settings VALUES ('activation_time', '14')
INSERT INTO images_settings VALUES ('session_timeout', '15')
INSERT INTO images_settings VALUES ('display_whosonline', '1')
INSERT INTO images_settings VALUES ('highlight_admin', '1')

 
 

Powered by 4images 1.7.1
Copyright © 2002 4homepages.de

Offline qeqqer

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Two or more different 4ImageGalleries - One Registration & Sign-in
« Reply #6 on: July 19, 2005, 02:49:11 PM »
sorry.. it seemed to work anyway...  :wink:

Thnax alot for your help  :mrgreen: