SMF Development > Applied or Declined Requests
Showing modified posts
Arantor:
Or just put the new content into the new post and thus avoid having a 'main list modified' topic ;)
ChalkCat:
Absolutely! If I ever need to modify a post I've made, I always want to do it as quickly and as discreetly as possible - I certainly don't want it being announced. If I want my new content to be noticed, I make a new post. Seems logical enough to me :)
Abbess:
Sorry, I am obviously not putting this across clearly - my fault. I will give an example; Restaurants that are opening out of season (my forum is Mallorca based). They dont inform us all the same time - far too easy! So we put down which ones are opening on which dates as and when they tell us or people find out. Hence it is great to have just one post to refer back to with them all on together. Same with monthly entertainment at venues. It becomes almost like a news letter on a post I suppose! ;)
Shambles:
Would it take much effort to knock up a small "admin only" routine which takes "id_topic" as a parameter and resets the "id_msg" to '0' for all "id_members" in smf_log_topics?
(paraphrasing)
$sql = "UPDATE {dbPrefix}.smf_log_topics SET id_msg = '0' WHERE {dbPrefix}.smf_log_topics.id_topic = topicId"
Might try this later when I get home...
Arantor:
@Shambles: the query to use:
--- Code: ---$smcFunc['db_query']('', 'DELETE FROM {db_prefix}log_topics WHERE id_topic = {int:topic_id}', array('topic_id' => 1234));
--- End code ---
Obviously change 1234 for the topic number. (That query you've posted wiill not work at all.)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version