the SoftWareRevue show

17 Aug

Editing default vB redirects

Default vBulletin is to “Leave permanent redirect” when moving and merging threads. If you want something different as default, you’ll have to edit four templates.

The easiest way to get to these four templates is to open admincp > Styles & Templates > Search in Templates and search for:

leave_permanent_redirect

The following templates should be returned.

threadadmin_mergethread
threadadmin_mergethreads
threadadmin_movethread
threadadmin_movethreads

For this example, we are going to set default action to “Leave expiring redirect for 1 month.” You can edit these templates to anything your heart desires. Just read what each does and tweak accordingly.

For each template, do the following.

Find:

<label for=”rb_redirect_perm”><input type=”radio” name=”redirect” value=”perm” id=”rb_redirect_perm” checked=”checked” />$vbphrase[leave_permanent_redirect]</lable><br />

Replace with:

<label for=”rb_redirect_perm”><input type=”radio” name=”redirect” value=”perm” id=”rb_redirect_perm” />$vbphrase[leave_permanent_redirect]</label><br />

Find:

<label for=”rb_redirect_expires”><input type=”radio” name=”redirect” value=”expires” id=”rb_redirect_expires” />$vbphrase[leave_expiring_redirect]</label><br />

Replace with:

<label for=”rb_redirect_expires”><input type=”radio” name=”redirect” value=”expires” id=”rb_redirect_expires” checked=”checked” />$vbphrase[leave_expiring_redirect]</label><br />

Save.

*Note* If you wish to change the number 1 to anything else, simply add checked=”checked” to the number you choose.

Leave a Reply

You must be logged in to post a comment.

© 2012 the SoftWareRevue show | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo