Seite 1 von 2

Problem Fotoalbumeinbau - Kategorie kan nicht erstellt werde

Verfasst: 18.10.2006 09:51
von Lumpi007
Hallo.

Ich habe das Problem, dass ich in der overall_header Datei oben 2 mal Album stehen habe. Egal welches ich rauslösche, das Forum sieht dann zerhackt aus.

Hier mal die Datei ---> http://www.mini-dtm-club.de/fehlersuche ... header.txt

Durch Quelltext anzeigen kommt man an die Codes.

Ich weis nicht, wie ich das nun programmieren soll. Mir wäre lieb wenn Album unten links bleibt und Album oben mittig entfällt.

Wer kann helfen?

Ach ja,
bei dem oben mittig steht

Code: Alles auswählen

<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_album.gif" width="12" height="13" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>&nbsp;
und bei dem unten links steht

Code: Alles auswählen

<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_album.gif" height="13" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}

Verfasst: 18.10.2006 15:35
von Lumpi007
Ich hab mal ein wenig rumpropiert. Kann das vielleicht mit den Zahlen 12, 13 usw zusammen hängen?
Den Fehler gefunden habe ich aber noch nicht.

Verfasst: 18.10.2006 20:40
von Lumpi007
Jungs, mir liegt es sehr am Herzen dieses Problem rasch zu lösen. Wer kann mir helfen?

Verfasst: 18.10.2006 21:51
von felixx
Hi,

wenn Du diesen Teil in der Zeile 42 löschst:
<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_album.gif" width="12" height="13" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>&nbsp;
müsste es doch ok sein.

Die ganze overall_header sieht etwas zerstückelt aus. :roll:

Verfasst: 18.10.2006 21:53
von Lumpi007
Wenn ich das lösche dann sieht es verzerrt und gehackt aus.


felixx hat geschrieben: Die ganze overall_header sieht etwas zerstückelt aus. :roll:
Was meinst du mit deiner Aussage?

Verfasst: 18.10.2006 22:19
von felixx
Versuch mal die:

Code: Alles auswählen

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.9)"> 
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.9)">

{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" />

<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top"></a>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
	<tr>
		<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr>
				<td align="center" width="100%" valign="middle"><a href="{U_INDEX}"><img src="templates/subSilver/images/logo.jpg" border="0" alt="{L_INDEX}" vspace="1" /></a><br />&nbsp;

                                 <!--
                                 <img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
				<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>-->
				<table cellspacing="0" cellpadding="2" border="0">
					<tr><td width="100%" nowrap="nowrap" align="center" valign="middle"><span class="subtitle"><b>{SITENAME} - {SITE_DESCRIPTION}</b></span></td></tr><tr>
						<td align="center" valign="top" nowrap="nowrap"><br /><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a></span>
						<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a></span>&nbsp;
						<!-- BEGIN switch_user_logged_out -->
						&nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
						<!-- END switch_user_logged_out -->
						</td>
					</tr>
					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_album.gif" height="13" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>&nbsp; &nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
					</tr>
				</table></td>
			</tr>
		</table>

		<br />
Einfach mal etwas rumtesten, hier findest Du Erklärungen für die Befehle:

http://de.selfhtml.org

Verfasst: 18.10.2006 22:26
von Lumpi007
Die css Dateien fehlten.

Mit Hilfe von mahony habe ich es hin bekommen. Danke Mahony

Verfasst: 18.10.2006 22:39
von Lumpi007
Jetzt will ich gerade im Admin Bereich eine neue Kategorie im Fotoalbum eröffnen, da kommt diese Meldung.

Code: Alles auswählen

Could not create new Album Category

DEBUG MODE

SQL Error : 1054 Unknown column 'cat_wm' in 'field list'

INSERT INTO phpbb_album_cat (cat_title, cat_desc, cat_wm, cat_order, cat_view_level, cat_upload_level, cat_rate_level, cat_comment_level, cat_edit_level, cat_delete_level, cat_approval, cat_parent, cat_user_id) VALUES ('Rennen 09.07.2006', '', '', '150', '-1', '0', '-1', '-1', '0', '1', '0', '20' ,'0')

Line : 379
File : admin_album_cat.php

In der Einbauanleitung habe ich folgendes vergessen.

Code: Alles auswählen

-----[ SQL ]-------------------------------------------------
#
# You can manually execute "SQL_full_album_pack_1_4_0.txt" instead of run this portion of code
# Or you can copy "fap_install.php" to your phpBB root and execute it from your browser when you're logged in with admin rights
#
CREATE TABLE `phpbb_album` (
	`pic_id` int(11) unsigned NOT NULL auto_increment,
	`pic_filename` varchar(255) NOT NULL default '',
	`pic_thumbnail` varchar(255) NULL default '',
	`pic_title` varchar(255) NOT NULL default '',
	`pic_desc` text,
	`pic_user_id` mediumint(8) NOT NULL default '0',
	`pic_username` varchar(32) NULL default '',
	`pic_user_ip` varchar(8) NOT NULL default '0',
	`pic_time` int(11) unsigned NOT NULL default '0',
	`pic_cat_id` mediumint(8) unsigned NOT NULL default '1',
	`pic_view_count` int(11) unsigned NOT NULL default '0',
	`pic_lock` tinyint(3) NOT NULL default '0',
	`pic_approval` tinyint(3) NOT NULL default '1',
	PRIMARY KEY  (`pic_id`),
	KEY `pic_cat_id` (`pic_cat_id`),
	KEY `pic_user_id` (`pic_user_id`),
	KEY `pic_time` (`pic_time`)
);

CREATE TABLE `phpbb_album_cat` (
	`cat_id` mediumint(8) unsigned NOT NULL auto_increment,
	`cat_title` varchar(255) NOT NULL default '',
	`cat_desc` text,
	`cat_wm` text,
	`cat_order` mediumint(8) NOT NULL default '0',
	`cat_view_level` tinyint(3) NOT NULL default '-1',
	`cat_upload_level` tinyint(3) NOT NULL default '0',
	`cat_rate_level` tinyint(3) NOT NULL default '0',
	`cat_comment_level` tinyint(3) NOT NULL default '0',
	`cat_edit_level` tinyint(3) NOT NULL default '0',
	`cat_delete_level` tinyint(3) NOT NULL default '2',
	`cat_view_groups` varchar(255) NULL default '',
	`cat_upload_groups` varchar(255) NULL default '',
	`cat_rate_groups` varchar(255) NULL default '',
	`cat_comment_groups` varchar(255) NULL default '',
	`cat_edit_groups` varchar(255) NULL default '',
	`cat_delete_groups` varchar(255) NULL default '',
	`cat_moderator_groups` varchar(255) NULL default '',
	`cat_approval` tinyint(3) NOT NULL default '0',
	`cat_parent` mediumint(8) unsigned default '0',
	`cat_user_id` mediumint(8) unsigned default '0',
	PRIMARY KEY  (`cat_id`),
	KEY `cat_order` (`cat_order`)
);

CREATE TABLE `phpbb_album_comment` (
	`comment_id` int(11) unsigned NOT NULL auto_increment,
	`comment_pic_id` int(11) unsigned NOT NULL default '0',
	`comment_cat_id` int(11) NOT NULL default '0',
	`comment_user_id` mediumint(8) NOT NULL default '0',
	`comment_username` varchar(32) NULL default '',
	`comment_user_ip` varchar(8) NOT NULL default '',
	`comment_time` int(11) unsigned NOT NULL default '0',
	`comment_text` text,
	`comment_edit_time` int(11) unsigned NULL default '0',
	`comment_edit_count` smallint(5) unsigned NOT NULL default '0',
	`comment_edit_user_id` mediumint(8) NULL default '0',
	PRIMARY KEY  (`comment_id`),
	KEY `comment_pic_id` (`comment_pic_id`),
	KEY `comment_user_id` (`comment_user_id`),
	KEY `comment_user_ip` (`comment_user_ip`),
	KEY `comment_time` (`comment_time`)
);

CREATE TABLE `phpbb_album_config` (
	`config_name` varchar(255) NOT NULL default '',
	`config_value` varchar(255) NOT NULL default '',
	PRIMARY KEY  (`config_name`)
);

CREATE TABLE `phpbb_album_rate` (
	`rate_pic_id` int(11) unsigned NOT NULL default '0',
	`rate_user_id` mediumint(8) NOT NULL default '0',
	`rate_user_ip` char(8) NOT NULL default '',
	`rate_point` tinyint(3) unsigned NOT NULL default '0',
	`rate_hon_point` tinyint(3) NOT NULL default '0',
	KEY `rate_pic_id` (`rate_pic_id`),
	KEY `rate_user_id` (`rate_user_id`),
	KEY `rate_user_ip` (`rate_user_ip`),
	KEY `rate_point` (`rate_point`)
);

INSERT INTO `phpbb_album_config` VALUES ('max_pics', '1024');
INSERT INTO `phpbb_album_config` VALUES ('user_pics_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('mod_pics_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('max_file_size', '128000');
INSERT INTO `phpbb_album_config` VALUES ('max_width', '1024');
INSERT INTO `phpbb_album_config` VALUES ('max_height', '768');
INSERT INTO `phpbb_album_config` VALUES ('rows_per_page', '5');
INSERT INTO `phpbb_album_config` VALUES ('cols_per_page', '4');
INSERT INTO `phpbb_album_config` VALUES ('fullpic_popup', '0');
INSERT INTO `phpbb_album_config` VALUES ('thumbnail_quality', '75');
INSERT INTO `phpbb_album_config` VALUES ('thumbnail_size', '125');
INSERT INTO `phpbb_album_config` VALUES ('thumbnail_cache', '1');
INSERT INTO `phpbb_album_config` VALUES ('sort_method', 'pic_time');
INSERT INTO `phpbb_album_config` VALUES ('sort_order', 'DESC');
INSERT INTO `phpbb_album_config` VALUES ('jpg_allowed', '1');
INSERT INTO `phpbb_album_config` VALUES ('png_allowed', '1');
INSERT INTO `phpbb_album_config` VALUES ('gif_allowed', '1');
INSERT INTO `phpbb_album_config` VALUES ('desc_length', '512');
INSERT INTO `phpbb_album_config` VALUES ('hotlink_prevent', '0');
INSERT INTO `phpbb_album_config` VALUES ('hotlink_allowed', 'mightygorgon.com');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery_private', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('personal_gallery_view', '-1');
INSERT INTO `phpbb_album_config` VALUES ('rate', '1');
INSERT INTO `phpbb_album_config` VALUES ('rate_scale', '10');
INSERT INTO `phpbb_album_config` VALUES ('comment', '1');
INSERT INTO `phpbb_album_config` VALUES ('gd_version', '2');
INSERT INTO `phpbb_album_config` VALUES ('album_version', '.0.54');
INSERT INTO `phpbb_album_config` VALUES ('fap_version', '1.4.0');
INSERT INTO `phpbb_album_config` VALUES ('show_index_thumb', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_index_total_pics', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_total_comments', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_comments', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_index_last_comment', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_last_pic', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_pics', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_recent_in_subcats', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_recent_instead_of_nopics', '1');
INSERT INTO `phpbb_album_config` VALUES ('line_break_subcats', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_subcats', '1');
INSERT INTO `phpbb_album_config` VALUES ('personal_allow_gallery_mod', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_allow_sub_categories', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_sub_category_limit', '-1');
INSERT INTO `phpbb_album_config` VALUES ('personal_show_subcats_in_index', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_show_recent_in_subcats', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_show_recent_instead_of_nopics', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_personal_gallery_link', '1');
INSERT INTO `phpbb_album_config` VALUES ('album_category_sorting', 'cat_order');
INSERT INTO `phpbb_album_config` VALUES ('album_category_sorting_direction', 'ASC');
INSERT INTO `phpbb_album_config` VALUES ('album_debug_mode', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_all_in_personal_gallery', '1');
INSERT INTO `phpbb_album_config` VALUES ('new_pic_check_interval', '1M');
INSERT INTO `phpbb_album_config` VALUES ('index_enable_supercells', '0');
INSERT INTO `phpbb_album_config` VALUES ('email_notification', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_download', '2');
INSERT INTO `phpbb_album_config` VALUES ('show_slideshow', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_pic_size_on_thumb', '1');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_users', '0');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_where', '');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_sep', '1');
INSERT INTO `phpbb_album_config` VALUES ('hon_rate_times', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_watermark_at', '3');
INSERT INTO `phpbb_album_config` VALUES ('wut_users', '0');
INSERT INTO `phpbb_album_config` VALUES ('use_watermark', '0');
INSERT INTO `phpbb_album_config` VALUES ('rate_type', '2');
INSERT INTO `phpbb_album_config` VALUES ('disp_rand', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_mostv', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_high', '1');
INSERT INTO `phpbb_album_config` VALUES ('disp_late', '1');
INSERT INTO `phpbb_album_config` VALUES ('img_cols', '4');
INSERT INTO `phpbb_album_config` VALUES ('img_rows', '1');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_use', '1');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_height', '450');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_width', '600');
INSERT INTO `phpbb_album_config` VALUES ('midthumb_cache', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_files_to_upload', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_pregenerated_fields', '1');
INSERT INTO `phpbb_album_config` VALUES ('dynamic_fields', '1');
INSERT INTO `phpbb_album_config` VALUES ('pregenerate_fields', '0');
INSERT INTO `phpbb_album_config` VALUES ('propercase_pic_title', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_index_last_pic_lv', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_pics_approval', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_img_no_gd', '0');
INSERT INTO `phpbb_album_config` VALUES ('dynamic_pic_resampling', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_file_size_resampling', '1024000');
INSERT INTO `phpbb_album_config` VALUES ('switch_nuffload', '0');
INSERT INTO `phpbb_album_config` VALUES ('path_to_bin', './cgi-bin/');
INSERT INTO `phpbb_album_config` VALUES ('perl_uploader', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_progress_bar', '1');
INSERT INTO `phpbb_album_config` VALUES ('close_on_finish', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_pause', '5');
INSERT INTO `phpbb_album_config` VALUES ('simple_format', '0');
INSERT INTO `phpbb_album_config` VALUES ('multiple_uploads', '1');
INSERT INTO `phpbb_album_config` VALUES ('max_uploads', '5');
INSERT INTO `phpbb_album_config` VALUES ('zip_uploads', '1');
INSERT INTO `phpbb_album_config` VALUES ('resize_pic', '1');
INSERT INTO `phpbb_album_config` VALUES ('resize_width', '600');
INSERT INTO `phpbb_album_config` VALUES ('resize_height', '600');
INSERT INTO `phpbb_album_config` VALUES ('resize_quality', '70');
INSERT INTO `phpbb_album_config` VALUES ('show_pics_nav', '1');
INSERT INTO `phpbb_album_config` VALUES ('show_inline_copyright', '0');
INSERT INTO `phpbb_album_config` VALUES ('enable_nuffimage', '1');
INSERT INTO `phpbb_album_config` VALUES ('enable_sepia_bw', '0');
INSERT INTO `phpbb_album_config` VALUES ('personal_allow_avatar_gallery', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_gif_mid_thumb', '1');
INSERT INTO `phpbb_album_config` VALUES ('slideshow_script', '0');
INSERT INTO `phpbb_album_config` VALUES ('show_exif', '0');
INSERT INTO `phpbb_album_config` VALUES ('album_bbcode', '1');
INSERT INTO `phpbb_album_config` VALUES ('quick_thumbs', '0');

Mir ist noch nicht ganz klar, was nun zu tun ist.

Verfasst: 18.10.2006 22:46
von Lumpi007
Diese fap_install Datei, wo genau soll ich die hin kopieren, wenn ich es nicht manuell durchführen möchte/kann ??

Verfasst: 18.10.2006 22:47
von Martin Truckenbrodt
Hallo,
führe genau diesen vergessenen Schritt nachträglich noch aus.

Tipp: Arbeite lieber mit dem Full Album Pack. Da ist Smartors Album mit drinnen.

Gruß Martin