yellow card mod
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
I still have a problem with a report permission.
When some user report a post, other users cannot access to this post, but they can.
If I change permission than report doesn't work!
When some user report a post, other users cannot access to this post, but they can.
If I change permission than report doesn't work!
Zuletzt geändert von Blisk am Fr 01.Apr, 2005 11:04, insgesamt 1-mal geändert.
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
Good question.
I'd uninstall this mod here long before I installed the latest release of the CH mod.
Hm. Must you change something on index.php, viewforum.php or includes/auth.php while installing the Yellow Card Mod?
Also take a short look in this topic: http://www.oxpus.de/fpost-26945.html#26945
I'd uninstall this mod here long before I installed the latest release of the CH mod.
Hm. Must you change something on index.php, viewforum.php or includes/auth.php while installing the Yellow Card Mod?
Also take a short look in this topic: http://www.oxpus.de/fpost-26945.html#26945
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Perhaps I can help a little bit, because the yellow card mod ist standard in phpBB Plus 1.52.
My solution was making a new Forum in my webmaster area (invisible). Only Mods (I haven`t one) an Admins can look at it. But registered users are allowed to post.
So, if someone report a post with description, only groups posted above can see and read them.
My solution was making a new Forum in my webmaster area (invisible). Only Mods (I haven`t one) an Admins can look at it. But registered users are allowed to post.
So, if someone report a post with description, only groups posted above can see and read them.
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
Set the permissions for view and read to PRIVATE and the rest to REG.
Then create a user group, put each admin and other wanted users in this group and enable access for this group to the forum (ACP > Groups > Permissions).
After this each user may post in this forum but not view anything until they are not member of the special usergroup...
Then create a user group, put each admin and other wanted users in this group and enable access for this group to the forum (ACP > Groups > Permissions).
After this each user may post in this forum but not view anything until they are not member of the special usergroup...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
No sorry doesn't work I.
I think somethin is wrong with READ permission, because when I setup READ permission on privat I get this SQL error, it must be on REG or ALL
Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ' 0)' at line 1
INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig, post_draft, post_icon) VALUES (3566, 29, 415, '', 1112875733, 'c2f9b289', 1, 1, 1, 0, , 0)
Line : 521
File : functions_post.php
I think somethin is wrong with READ permission, because when I setup READ permission on privat I get this SQL error, it must be on REG or ALL
Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ' 0)' at line 1
INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig, post_draft, post_icon) VALUES (3566, 29, 415, '', 1112875733, 'c2f9b289', 1, 1, 1, 0, , 0)
Line : 521
File : functions_post.php
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
Then something is wrong at auth.php or files based on it.
Since which mod this isn't possible?
Will the Yellow Card Mod change something on auth.php, def_auth.php, admin_forumsauth.php or admin_ug_auth.php?
If not, please attach these files to take a look.
Since which mod this isn't possible?
Will the Yellow Card Mod change something on auth.php, def_auth.php, admin_forumsauth.php or admin_ug_auth.php?
If not, please attach these files to take a look.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
Hm, the files are okay...
Insert before the SQL-Statement before line 521 in the functions_post.php the following
and retry...
Please replace $post_draft with the right value name.
Insert before the SQL-Statement before line 521 in the functions_post.php the following
Code: Alles auswählen
$post_draft = (!$post_draft) ? 0 : $post_draft;Please replace $post_draft with the right value name.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
yes!
just a blank white page
no portal, no index, nothing
just a blank white page
no portal, no index, nothing
Zuletzt geändert von Blisk am Fr 08.Apr, 2005 08:58, insgesamt 1-mal geändert.
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
Okay, back to the root:
Code: Alles auswählen
#
#-----[ OPEN ]-----
#
includes/functions_post.php
#
#-----[ FIND ]-----
#
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, &$draft_on = 0, &$topic_desc, $topic_announce_duration = 0, $post_icon = 0, $topic_calendar_time = 0, $topic_calendar_duration = 0, &$news_category)
#
#-----[ REPLACE WITH ]-----
#
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, &$draft_on, &$topic_desc, $topic_announce_duration = 0, $post_icon = 0, $topic_calendar_time = 0, $topic_calendar_duration = 0, &$news_category)
#
#-----[ FIND ]-----
#
$sql = ($mode != "editpost") ? "INSERT INTO " . POSTS_TABLE . " (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig, post_draft, post_icon) VALUES ($topic_id, $forum_id, " . $userdata['user_id'] . ", '$post_username', $current_time, '$user_ip', $bbcode_on, $html_on, $smilies_on, $attach_sig, $draft_on, $post_icon)" : "UPDATE " . POSTS_TABLE . " SET post_username = '$post_username', enable_bbcode = $bbcode_on, enable_html = $html_on, enable_smilies = $smilies_on, enable_sig = $attach_sig, post_draft = $draft_on, post_icon = $post_icon" . $edited_sql . " WHERE post_id = $post_id";
#
#-----[ BEFORE ADD ]-----
#
$draft_on = (!$draft_on || empty($draft) || $draft == '') ? 0 : $draft_on;Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
GREAT! 
now works great thnx!
you really are master of php.

now works great thnx!
you really are master of php.
Zuletzt geändert von Blisk am Fr 08.Apr, 2005 10:14, insgesamt 1-mal geändert.