[zb] Auto uncheck show edit

Joe
Level 15
Level 15
Joe
Level 15
Level 15
Joined: September 21st, 2008, 12:42 am

July 1st, 2010, 2:02 am #1

Code name: Auto uncheck show edit
Date created: 6/23/10
Author(s): Joe
Description: Automatically unchecks the 'Show that you edited this post' box if the option is available.
Preview: n/a

Code: Select all

<script type='text/javascript'>
    if (location.href.match('/post/')) {
        $('input[name=show_edit]').attr('checked', false);
    }
</script>
Board Template -> Below the Board
Joe
Quote
Like
Share

Sabre
Level 9
Level 9
Joined: October 8th, 2009, 11:41 am

July 1st, 2010, 2:03 am #2

My favorite code form you. ;D
currently going through my old posts on here... how did you people stand me?
Quote
Like
Share

Cody
Level 15
Level 15
Joined: March 24th, 2008, 10:59 pm

July 1st, 2010, 2:08 am #3

This is very useful, I recommend it to everyone. :D

Quote
Like
Share

Joe
Level 15
Level 15
Joe
Level 15
Level 15
Joined: September 21st, 2008, 12:42 am

July 1st, 2010, 2:17 am #4

Haha, thanks you guys. :D
Joe
Quote
Like
Share

Johnathon
Level 10
Level 10
Joined: May 27th, 2008, 8:42 pm

July 1st, 2010, 3:29 am #5

I was always hoping they would make this a option in the ACP to make it where it was always unchecked for certain member groups. Very good code, very useful.
Oh you're an atheist? Please go on about how your favorite holidays are Easter and Christmas.....

Quote
Like
Share

Joe
Level 15
Level 15
Joe
Level 15
Level 15
Joined: September 21st, 2008, 12:42 am

July 1st, 2010, 4:30 am #6

Thanks Johnathon. :)
Joe
Quote
Like
Share

inspirASIAN
Level 2
Level 2
Joined: August 26th, 2010, 5:34 am

August 26th, 2010, 9:49 am #7

I hate it when "edited by" appears under my edited post.

Thanks for the code.
.
Quote
Like
Share

Soul.
Level 4
Level 4
Joined: August 12th, 2012, 1:38 pm

August 12th, 2012, 2:26 pm #8

Is there any way to make this specifically only for staff members?
The Truth Lies Within, So Why Do You Pursue The Truth Within Lies?

The 5-P Principles
Proper Preparation Prevents Poor Performance
Quote
Like
Share

Aidan
Level 12
Level 12
Joined: August 20th, 2010, 3:13 pm

August 13th, 2012, 7:16 pm #9

Soul. wrote:Is there any way to make this specifically only for staff members?

Code: Select all

<script type="text/javascript">
if (location.href.match('/post/') && $.zb.moderator === 1) {
$('input[name=show_edit]').attr('checked', false);
}
</script>
Last edited by Aidan on November 27th, 2016, 3:03 am, edited 3 times in total.
Quote
Like
Share

Soul.
Level 4
Level 4
Joined: August 12th, 2012, 1:38 pm

August 14th, 2012, 1:28 am #10

Thanks alot ;)
The Truth Lies Within, So Why Do You Pursue The Truth Within Lies?

The 5-P Principles
Proper Preparation Prevents Poor Performance
Quote
Like
Share