Multi
Multi
[zb] Auto uncheck show edit
Topic Started: Wednesday, 30. June 2010, 22:02 (629 Views)
Joe
Member Avatar
Hi.
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: HTML
 
<script type='text/javascript'>
if (location.href.match('/post/')) {
$('input[name=show_edit]').attr('checked', false);
}
</script>
Board Template -> Below the Board
Joe
Off
Profile
Quote
Top
 
Sabre
Member Avatar
Level 9
My favorite code form you. ;D
currently going through my old posts on here... how did you people stand me?
Off
Profile
Quote
Top
 
Cody
Member Avatar
Winter is coming.
This is very useful, I recommend it to everyone. :D
Posted Image
Posted Image
Off
Profile
Quote
Top
 
Joe
Member Avatar
Hi.
Haha, thanks you guys. :D
Joe
Off
Profile
Quote
Top
 
Johnathon
Member Avatar
Fear+is+defeat,+and+I+don't+lose.
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.....
Posted Image
Posted Image Posted Image
Off
Profile
Quote
Top
 
Joe
Member Avatar
Hi.
Thanks Johnathon. :)
Joe
Off
Profile
Quote
Top
 
inspirASIAN
Member Avatar
Level 2
I hate it when "edited by" appears under my edited post.

Thanks for the code.
.
Off
Profile
Quote
Top
 
Soul.
No Avatar
Eye Am
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?
Posted Image
The 5-P Principles
Proper Preparation Prevents Poor Performance
Posted Image
Off
Profile
Quote
Top
 
Aidan
Member Avatar
Level 12
Soul.
Sunday, 12. August 2012, 10:26
Is there any way to make this specifically only for staff members?
Code:
 
<script type="text/javascript">
if (location.href.match('/post/') && $.zb.moderator === 1) {
$('input[name=show_edit]').attr('checked', false);
}
</script>
Edited by Aidan, Saturday, 26. November 2016, 23:03.
Off
Profile
Quote
Top
 
Soul.
No Avatar
Eye Am
Thanks alot ;)
The Truth Lies Within, So Why Do You Pursue The Truth Within Lies?
Posted Image
The 5-P Principles
Proper Preparation Prevents Poor Performance
Posted Image
Off
Profile
Quote
Top
 
marti
No Avatar
Level 1
thank you
Off
Profile
Quote
Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Codes · Next Topic »

Welcome Guest [Log In] [Register]
Outline Live
Loading..
Loading..