DevFuse Forums: Changing 'leave a link'

Jump to content

View All ProductsRandom Products

Example PM

Moderator Action Alert



IP.Board: IPB 3.0.x
Price: $ 14.95
Personal Message

Auto Birthday Greeter



IP.Board: IPB 3.0.x
Price: $ 10.95
Global Messages Public View

Global Messages



IP.Board: IPB 3.0.x
Price: $ 21.95
Main Page

Contact System



IP.Board: IPB 3.0.x
Price: $ 21.95
Logo View

Random Logos



IP.Board: IPB 3.0.x
Price: $ 14.95

Changing 'leave a link' Bookmark

User is offline AndyF 

  • Member
  • Icon
  • Group: Customers
  • Posts: 12
  • Joined: 03-October 09
  • Gender:Male
  • Location:UK
  • IP.Board Version:IPB 2.3.x
  • First Name:Andy

Find Posts Tutorial info

  • Added on: 19 November 2009 - 07:19 AM
  • Views: 741
Description: How to restore the check-boxes when moving a topic or multiple topics to leave links by default, the way 2.x.x did it.

In IP. Board 3.0. the checkbox for leaving "moved" links has been changed to not leave a link by default when moving a topic or group of topics.

This is very easy to restore if you wish it to be checked by default. :)

Two very small template edits are needed. Note they have similar names but you need to do both.

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

Moderation > MoveTopicForm >

Find...
<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />


Replace with...
<input type='checkbox' checked='checked' id='leave_link' class='input_check' name='leave' value='y' />


Save.

Moderation > MoveTopicsForm >

Find...
<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />


Replace with...
<input type='checkbox' checked='checked' id='leave_link' class='input_check' name='leave' value='y' />



Save. :)

The first one is for an individual topic move via the dropdown when you are viewing it. The second edit is for mass moving via the dropdown in the forum view.
2

Download this Tutorial:

Powered by (IM) Tutorials 1.0.1 © 2010, by Michael McCune