Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • InvisionFree Modifications
  • Post hiding system
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 2
Post hiding system
Topic Started: Jul 2 2009, 06:05 AM (377 Views)
Gorgor Jul 2 2009, 06:05 AM Post #1
Hello

Posts:
1,182
Group:
Coding Staff
Member
#2,728
Joined:
Apr 2, 2009
Coding language
PHP
Code Name: Post hiding system
Description: Allows mods and admins to hide posts from non-mods. This will remove the entire post and display a message that you want (or you can just hide them from view)
Preview: http://z3.invisionfree.com/gorgor/index.php?showtopic=8

Code:
 
<script>
// Post hiding system by Gorgor

border = "red"
message = "<br><h2>This message has been hidden from view</h2><br>"

</script><script type="text/javascript" src="http://209.85.62.24/323/40/0/p183726/post_hiding.js"></script>


border is the border color of what the hidden posts will look like to mods and admins.

message is the message that will be displayed on hidden posts for non-mods to see.

How to use the post hiding system:
To hide a post, a mod or admin must first click the edit button for that post. Then under the code buttons will be a hide and unhide link. Click the unhide link and then the post will be hidden. To unhide it, just go to the edit screen again and click on the unhide link.
Edited by Gorgor, Jul 10 2009, 07:22 PM.
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
Offline Profile Quote Post Goto Top
 
Reid Jul 2 2009, 07:02 PM Post #2
Member Avatar
What? The land of the free? Whoever told you that was your enemy.

Posts:
1,790
Group:
Distinguished Coder
Member
#148
Joined:
Jul 20, 2008
Coding language
JavaScript
Nice! I think when you upgrade to ZB you'll also find ZB coding a lot faster.

Do you have the 'firebug' extension for firefox? If not that would also be a huge deal. :P
Posted Image
Offline Profile Quote Post Goto Top
 
Gorgor Jul 2 2009, 07:14 PM Post #3
Hello

Posts:
1,182
Group:
Coding Staff
Member
#2,728
Joined:
Apr 2, 2009
Coding language
PHP
I use firebug ALL the time. I don't know what I'd do without it :P
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
Offline Profile Quote Post Goto Top
 
Vitality Jul 5 2009, 12:19 AM Post #4
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
Coding language
JavaScript
Neat idea for a code. Although, when a script is this long, you should also give users the option with using the raw code and a hosted version so they don't waste wrapper space.

Nice work, cool idea :)
Offline Profile Quote Post Goto Top
 
Gothic3 Jul 6 2009, 03:02 PM Post #5


Posts:
44
Group:
Member
Member
#807
Joined:
Aug 31, 2008
Coding language
HTML/CSS
Where do you put it?
Offline Profile Quote Post Goto Top
 
Reid Jul 6 2009, 03:06 PM Post #6
Member Avatar
What? The land of the free? Whoever told you that was your enemy.

Posts:
1,790
Group:
Distinguished Coder
Member
#148
Joined:
Jul 20, 2008
Coding language
JavaScript
Below the Board section... in the board template/wrappers/whatever they're called for IF.
Posted Image
Offline Profile Quote Post Goto Top
 
Gorgor Jul 6 2009, 03:17 PM Post #7
Hello

Posts:
1,182
Group:
Coding Staff
Member
#2,728
Joined:
Apr 2, 2009
Coding language
PHP
It's called the footers :P
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
Offline Profile Quote Post Goto Top
 
Gothic3 Jul 9 2009, 11:55 PM Post #8


Posts:
44
Group:
Member
Member
#807
Joined:
Aug 31, 2008
Coding language
HTML/CSS
I think I tried this and I locked every post and every topic.
Offline Profile Quote Post Goto Top
 
Gorgor Jul 10 2009, 03:52 AM Post #9
Hello

Posts:
1,182
Group:
Coding Staff
Member
#2,728
Joined:
Apr 2, 2009
Coding language
PHP
Really? On my test board all it does is hide posts and hide topics only if you want it to.

Can I have your board URL?
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
Offline Profile Quote Post Goto Top
 
Gothic3 Jul 10 2009, 04:18 PM Post #10


Posts:
44
Group:
Member
Member
#807
Joined:
Aug 31, 2008
Coding language
HTML/CSS
Well I dont have it up anymore (obviously) but
http://z3.invisionfree.com/VortexPlanet/

Ill try it again And see if it does it again

Edit: still does it.
Edited by Gothic3, Jul 10 2009, 04:21 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · InvisionFree Modifications · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2

Track Topic · E-mail Topic Time: 4:58 PM Sep 3
Hosted for free by ZetaBoards