global annonouncement, sticky.
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!
global annonouncement, sticky.
When I post a new post and set it to be a global annonouncement, or, sticky or .
It doesn't work, post is always as normal post!
It doesn't work, post is always as normal post!
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
The settings in the acp doesn't override the user settings? Regarding the split topic type settings.
And on your profile settings the topic type are splitted too?
What's about permissions for announcements and sticky?
And on your profile settings the topic type are splitted too?
What's about permissions for announcements and sticky?
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!
I didn't change any of permission.
Don't know what you mean of profile settings topic type?
you can check my forum.
I mean annonouncement at the bottom of forum
Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum mitmachen.
(Rules) Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
when I can manage all topics, there I can setup topic like a sticky or annonouncement, that's why it is strange that doesn't work in new post, or old post.
__________________________________________________________________-
I did tested the whole thing again and now I see what is the point, global annonouncement doesn't work, because the post is signed as NEWS.
It works when I setup like I described at the top, but doesn't when I try to assign a news and global annonouncement with the same post.
I think that is a bug.
Don't know what you mean of profile settings topic type?
you can check my forum.
I mean annonouncement at the bottom of forum
Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum mitmachen.
(Rules) Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
when I can manage all topics, there I can setup topic like a sticky or annonouncement, that's why it is strange that doesn't work in new post, or old post.
__________________________________________________________________-
I did tested the whole thing again and now I see what is the point, global annonouncement doesn't work, because the post is signed as NEWS.
It works when I setup like I described at the top, but doesn't when I try to assign a news and global annonouncement with the same post.
I think that is a bug.
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
This is not a bug. The same way global announcments will be defined, news works too. So a post just can be a (global) announce, sticky, news or normal post. Not more than one of them.
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:
Setting news to an announce (e.g.) the post will be not longer a news.
Both topic types are using the same field to decide between these topic type, so news can't be have another status at the same time.
Test it within the modcp.
Both topic types are using the same field to decide between these topic type, so news can't be have another status at the same time.
Test it within the modcp.
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:
Funny thing.
Okay I think the mod will here work different as I know him.
Or the news which are setted later on as announcements will be both because a news flag is setted on the post. I thought there was such a second flag, but I'm not sure.
Okay I think the mod will here work different as I know him.
Or the news which are setted later on as announcements will be both because a news flag is setted on the post. I thought there was such a second flag, but I'm not sure.
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:
What speciallly doesn't work on normal posts? Setting as news and split in the forum view?
Sorry for this question, much trouble here.
Sorry for this question, much trouble here.
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:
That's exactly no bug on normal posts, because setting posts as news or announcements are using the same data field for the specialy post.
The possibility to set a news at the same time as an announce via modcp is the bug!
But an interesting one
Try this:
Post a "normal" news and change it within editing the post to an announcement.
If this will not work, the modcp haves a huge bug.
The possibility to set a news at the same time as an announce via modcp is the bug!
But an interesting one
Try this:
Post a "normal" news and change it within editing the post to an announcement.
If this will not work, the modcp haves a huge bug.
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:
Yes. A useful bug which you can't use while posting.
I'll check the news mod the next days to enable this.
Okay, I'll try it. I'm not sure that this really will work.
I'll check the news mod the next days to enable this.
Okay, I'll try it. I'm not sure that this really will work.
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:
After searching the reason for this "bug" I found a realy simple solution:
That's all!
After doing this, you can post News as Announcments, Sticky or Global Announcements, too.
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, &$topic_desc, $topic_announce_duration = 0, $post_icon = 0, $topic_calendar_time = 0, $topic_calendar_duration = 0, &$news_category)
{
global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
global $userdata, $user_ip;
// BEGIN cmx_slash_news_mod
if( isset( $news_category ) && is_numeric( $news_category ) )
{
$news_id = intval( $news_category );
$topic_type = POST_NEWS;
#
#-----[ IN-LINE FIND ]-----
#
$topic_type = POST_NEWS;
#
#-----[ IN-LINE REPLACE WITH ]-----
#
// $topic_type = POST_NEWS;
#
#-----[ SAVE/CLOSE ALL FILES ]-----
#
# EoMAfter doing this, you can post News as Announcments, Sticky or Global Announcements, too.
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:
I don't know about such a function. Posting a new post will not affect existing ones.
The only thing is a settable time in the ACP after that an announce will not more be displayed above each forum but only above the forum the announcement was posted in.
The only thing is a settable time in the ACP after that an announce will not more be displayed above each forum but only above the forum the announcement was posted in.
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!