Jump to content
DevFuse Forums
Sign in to follow this  

Autocheck 'leave a link' when moving a topic or topics


Description

How to set 'Leave a link to the new topic' checked by default
Here's a simple article on how to set "Leave a link to the new topic in the source forum?" for both individual and mass moving topics as by default they are both unchecked.

Two small skin edits are needed, the template names are very similar so be careful to not mix them up. :) , the first one is Move[b]Topic[/b]Form the second is Move[b]Topics[/b]Form

ACP > Look / Feel > Skin Manager > (choose skin) > Manage Templates / CSS > Moderation > MoveTopicForm

Find...
[code] <li class='field clear checkbox'>
<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />
<label for='leave_link'>{$this->lang->words['leave_link']}</label>
</li>[/code]

Change to...
[code] <li class='field clear checkbox'>
<input type='checkbox' checked='checked' id='leave_link' class='input_check' name='leave' value='y' />
<label for='leave_link'>{$this->lang->words['leave_link']}</label>
</li>[/code]

Save the change.

ACP > ACP > Look / Feel > Skin Manager > (choose skin) > Manage Templates / CSS > Moderation > MoveTopicsForm

Find...
[code] <li class='field checkbox'>
<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />
<label for='leave_link'>{$this->lang->words['leave_link']}</label>
</li>[/code]

Change to...
[code] <li class='field checkbox'>
<input type='checkbox' checked='checked' id='leave_link' class='input_check' name='leave' value='y' />
<label for='leave_link'>{$this->lang->words['leave_link']}</label>
</li>[/code]

Again, save the change.


That's it, it should be done. Here's two quick pics although its quite obvious what its done:

[IMG]http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/32_checked_leave_a_link_move_topics_1.png[/IMG]

[IMG]http://img.photobucket.com/albums/v294/yellow_spider/ipb_tutorials/32_checked_leave_a_link_move_topics_2.png[/IMG]


Recommended Comments

There are no comments to display.

×