n00bstorm wrote: i have this mod on my forum that it suposti do same thing but when i log in as normal user and try some of the topic types as nomal user i get debug error im just askin before i install this have u try under normal user? Just askin thx ^_^
Code: Select all
if ( $error_msg == '' )
{
$topic_type = ( $topic_type != $post_data['topic_type'] && !$is_auth['auth_sticky'] && !$is_auth['auth_announce'] ) ? $post_data['topic_type'] : $topic_type;
submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length, $news_category);
}
break;
pow wrote: Hi @alll,
I'm new to this board, so I hope it's ok that I post my question here ...
(if not, please tell me where... )
I'm running version 2.0.6 of phpbb ... Everything works fine and so I wanted to install your mod with easy mod. I Processed the sql commands manually and then went on. The problem is I'm not running english as a language, but german and i don't have the default template installed.
I assume i only have to change the "subsilver" to my template name (is that right?) but what do i do with the language stuff, cause the thing is that after i installed everything following message came up:
Failed obtaining forum access control lists
DEBUG MODE
SQL Error : 1054 Unknown column 'a.auth_special' in 'field list'
SELECT a.forum_id, a.auth_view, a.auth_read, a.auth_post, a.auth_reply, a.auth_edit, a.auth_delete,a.auth_special, a.auth_sticky, a.auth_announce, a.auth_vote, a.auth_pollcreate, a.auth_mod FROM board_auth_access a, board_user_group ug WHERE ug.user_id = 2 AND ug.user_pending = 0 AND a.group_id = ug.group_id AND a.forum_id = 7
Line : 164
File : /phpBB2/includes/auth.php
Actually i backed everything up so that wasn't that much of a problem but I'm just wondering what to do, to get things up and running
Greetings, pow
Deaths Hand wrote: Since the request topic has been used in a long time... ill post here, You should make it so you can set which [Topic-Types] show up in specified forums, Like for example.
In a Tech Support Forum you could have [Bug] [Bug-Fix] etc, itd be nice to not have that for every forum
Code: Select all
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
Code: Select all
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_SPECIAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;