Seite 3 von 5

Verfasst: 30.08.2005 15:24
von tazzi
hm?

Verfasst: 31.08.2005 15:33
von tazzi
hallo? antwort?

Verfasst: 01.09.2005 09:14
von tazzi
jo..mal wieder push, in der hoffnung, daß sich doch noch einer hinreißen läßt, mir zu helfen..

Verfasst: 01.09.2005 09:30
von Markus67
Hi ...

ich meld mich mal :D

Hast du auch das Addon von Oxpus eingebaut oder nur den MOD von CBack?

Verlinke mal bitte die komplette admin_forums.php und auch die common.php

Markus

Verfasst: 01.09.2005 11:28
von tazzi
cback_supportticket_system.zip und cback_supportticket_system_add_on.zip

hier die links
admin_forums
common

Verfasst: 01.09.2005 11:44
von Markus67
Hi ....

das hier fehlt in deiner common.php

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
  common.php


#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/template.'.$phpEx);
include($phpbb_root_path . 'includes/sessions.'.$phpEx);
include($phpbb_root_path . 'includes/auth.'.$phpEx);
include($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);


#
#-----[ AFTER, ADD ]------------------------------------------
#

//
// CBACK SupportTicket System (Support Forum IDs)
// please add here the forum IDs wich are Support Forums at your board and
// where you want to use the CBACK SupportTicket System.
//
// Example:
// $stforums = array('2','4','6');
//

$stforums = array('0');

//
// END CBACK SupportTicket System
//
Markus

Verfasst: 01.09.2005 11:48
von tazzi
echt?
und nur wegen

Code: Alles auswählen

$stforums = array('0'); 
hat das nicht mehr gefunzt??
oha.. na gut, mal gucken.. thx :)
und nochmal thx thx thx! ..was täte ich ohne dich :)

edit: aber nur steht da, wenn ich n forum erstellen will auch nicht, ob ich n subforum will oder nicht
und wieder Couldn't insert row in forums table

Code: Alles auswählen

DEBUG MODE

SQL Error : 1136 Column count doesn't match value count at row 1

INSERT INTO phpbb_forums (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate) VALUES ('12', 'test2', 6, 'testforum', 20, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3, 3, 1, 1)

Line : 408
File : admin_forums.php 
:(

Verfasst: 02.09.2005 08:35
von tazzi
:cry:

Verfasst: 02.09.2005 09:10
von Markus67
Hi ...

die Änderungen in der common.php kannst du wieder rückgängig machen .. das ganze wird durch das Addon von Oxpus wieder gelöscht. Und das was eigefügt werden musste ist drin .... sorry .. (man sollte doch auch alles lesen) :oops:

admin_forums.php

suche:

Code: Alles auswählen

			$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
				VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable, cst']) . ", " . intval($HTTP_POST_VARS['cst']) . $value_sql . ")";
ersetze mit:

Code: Alles auswählen

			$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable, cst" . $field_sql . ")
				VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . ", " . intval($HTTP_POST_VARS['cst']) . $value_sql . ")";
Markus

Verfasst: 02.09.2005 09:19
von tazzi
ok..forum erstellen kann ich jetzt wieder, aber ich kann nciht mehr auswählen, obs n unterforum haben soll/sein soll :oops: