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: |
| [Completed] [ZB] No edits in a pre-defined forum | |
|---|---|
| Tweet Topic Started: Nov 25 2009, 06:12 PM (227 Views) | |
| Lout | Nov 25 2009, 06:12 PM Post #1 |
![]() ![]()
|
Simple one this (I think), I want to disable post editing in a pre-determined forum of thread. As long as I can edit the code using either the forum or thread ID then that is fine. Obviously, I understand that this can be bypassed by disabling JS, but that isn't a problem in this case. |
| |
![]() |
|
| Choco | Nov 25 2009, 06:49 PM Post #2 |
|
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ
![]()
|
Okay, try this one out. Keep in mind it's been a while since I've coded! ![]()
I've made it so you can disable editing in multiple topics and multiple forums. Also, if you ban Forum A, and forum B is a subforum in A, editing will be disabled in Forum B as well. Is that okay? I can change it if you like. ![]() Here's how to edit it: Find this:
And the corresponding noEditForums. Simply fill out comma separated quoted topic numbers / forum numbers in their corresponding spots for each forum or topic you want editing banned in. In these forums/topics, the edit button will be removed. I hope that works for you, please let me know if it doesn't. Enjoy, Choco Edited by Choco, Nov 25 2009, 06:51 PM.
|
It's a magical world, Hobbes, ol'd buddy... ...let's go exploring!In progress: Something Special ;) | |
![]() |
|
| Lout | Nov 26 2009, 06:34 AM Post #3 |
![]() ![]()
|
Doesn't work I'm afraid Choco, but Reid knocked one up that disables it in a forum for me so this can be closed if need be. |
| |
![]() |
|
| Vitality | Nov 26 2009, 07:25 AM Post #4 |
|
Tabula Rasa
![]()
|
You're welcome. See? We can read thoughts too. ;) Your request has been completed, and we're moving it to the correct forum. We hope it works for you; if it doesn't, feel free to post another request topic in the requests forum. Just remember: read the rules first! Thanks, The ZBCode Staff |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Completed Requests · Next Topic » |




















2:26 PM Jul 11