rxu wrote:Eragon, what's the problem exactly?
Not work. Work partially - post shows on all pages, but, I cannot it change - on posting page missing check box for it (I update forum from previous version and anew apply all changes).Eragon wrote:this mod does not work on 3.0.6 .. any update ?
Check if you've applied corresponding changes to the current style.lissyara wrote:on posting page missing check box
Code: Select all
Files to Edit
* posting.php,
* viewtopic.php,
* language/en/common.php
Sorry, but that was the requirements of the MODDB packaging policy at the moment of the MOD approvallissyara wrote:sorry, but, may be need complete instructions?
If you mean new topics, there's a way like that.bangpride wrote:Is there a way to make it show by default?
This way is not clean, the box wont be selected but it will by default be enabled. I did the default enable thingy like this:rxu wrote:If you mean new topics, there's a way like that.bangpride wrote:Is there a way to make it show by default?
For old topics - you need to set 'topic_first_post_show' field of topics_table to 1 for all topics you want to make 1st post always on top.
Code: Select all
$first_post_show_checked = (isset($post_data['topic_first_post_show'])) ? $post_data['topic_first_post_show'] : 0;
Code: Select all
$first_post_show_checked = ($mode == 'post') ? 1 : $first_post_show_checked;