sticky and announcement bug? [message #5355] |
Thu, 29 August 2002 05:35 |
|
when edit a post, i can't make it as an announcement or sticky
when i make a new post,it work well .but i post another announcement or sticky or normal post,the first one will be a normal post! then i only can post one announcement or sticky post:(
-
Attachment: post.php
(Size: 177.49KB, Downloaded 606 times)
[Updated on: Thu, 29 August 2002 05:39] Report message to a moderator
|
|
|
Re: sticky and announcement bug? [message #5361 is a reply to message #5355] |
Thu, 29 August 2002 11:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If you are talking about making a 'reply' to an existing topic then of course you cannot make a reply 'sticky or announcment' that can ONLY be done for the root message inside the topic. If you want to make ane existing topic sticky/announcment edit the root message and set the option to the value of your choice.
FUDforum Core Developer
|
|
|
Re: sticky and announcement bug? [message #5375 is a reply to message #5361] |
Fri, 30 August 2002 01:37 |
|
prottoss wrote on Thu, 29 August 2002 19:52 | If you are talking about making a 'reply' to an existing topic then of course you cannot make a reply 'sticky or announcment' that can ONLY be done for the root message inside the topic. If you want to make ane existing topic sticky/announcment edit the root message and set the option to the value of your choice.
|
sorry for my bad english:( i thank you don't know what's my mean !
"
If you want to make ane existing topic sticky/announcment edit the root message and set the option to the value of your choice"
i just do so .but it does not work.
|
|
|
|
Re: sticky and announcement bug? [message #5411 is a reply to message #5376] |
Mon, 02 September 2002 02:12 |
|
prottoss wrote on Fri, 30 August 2002 10:40 | Ah... I see now, I'll check this problem.
|
now i know why i can't set sticky and announcement as my thought!
/* De-announce expired announcments and sticky messages */
$r = q("SELECT k12_thread.id FROM k12_thread INNER JOIN k12_msg ON k12_thread.root_msg_id=k12_msg.thread_id WHERE k12_thread.forum_id=".$forum_id." AND is_sticky='Y' AND (k12_msg.post_stamp+k12_thread.orderexpiry)<".$tm);
while( list($tid) = db_rowarr($r) )
q("UPDATE k12_thread SET ordertype='NONE', is_sticky='N' WHERE id=".$tid);
qf($r);
these code auto delete all sticky and announcement when i post or edit post!
|
|
|
|
|
|