FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » sticky and announcement bug?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon5.gif  sticky and announcement bug? [message #5355] Thu, 29 August 2002 05:35 Go to next message
ezdb is currently offline  ezdb   China
Messages: 158
Registered: May 2002
Location: china
Karma: 0
Senior Member

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 605 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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
ezdb is currently offline  ezdb   China
Messages: 158
Registered: May 2002
Location: china
Karma: 0
Senior Member

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 #5376 is a reply to message #5375] Fri, 30 August 2002 02:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Ah... I see now, I'll check this problem.

FUDforum Core Developer
Re: sticky and announcement bug? [message #5411 is a reply to message #5376] Mon, 02 September 2002 02:12 Go to previous messageGo to next message
ezdb is currently offline  ezdb   China
Messages: 158
Registered: May 2002
Location: china
Karma: 0
Senior Member

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!
Re: sticky and announcement bug? [message #5429 is a reply to message #5411] Tue, 03 September 2002 02:12 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Known bug, I already have a fix, it'll be commited to the CVS in the morning.

FUDforum Core Developer
Re: sticky and announcement bug? [message #5476 is a reply to message #5429] Wed, 04 September 2002 02:10 Go to previous messageGo to next message
ezdb is currently offline  ezdb   China
Messages: 158
Registered: May 2002
Location: china
Karma: 0
Senior Member

ok! it work well now Cool

but it seem to has a small bug!
  • Attachment: 4st.gif
    (Size: 5.57KB, Downloaded 602 times)

[Updated on: Wed, 04 September 2002 02:14]

Report message to a moderator

Re: sticky and announcement bug? [message #5500 is a reply to message #5476] Wed, 04 September 2002 20:07 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Trying to to Data Import into newly created forum
Next Topic: bug in adm/admmassemail.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 19:12:51 GMT 2024

Total time taken to generate the page: 0.02558 seconds