Version: 1.00, by Birdie501
Developer Last Online: Feb 2011
Version: 2.2.x
Rating:
Released: 07-08-2002
Last Update: Never
Installs: 6
No support by the author.
************************************************** **
Hide Post Delete Option Hack Ver. 1.0
by Birdie501
Requested by Darren Lewis
here -> https://vborg.vbsupport.ru/showthrea...&postid=270940
Latest Version 1.0, tested for vb 2.2.x
Support: As good as i can
************************************************** **
What this hack does?
It hide the delete post option for users in editing post!
Only admins or moderators can delete posts!
Please click install if you use this hack!
zip attached.
I think screenshots are not neccessary!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by Birdie501 well i think there is one to allow users to delete posts or not, but they would still see the option to delete if they aren't allowed to delete posts! Like here on vb.org!
Actuallly, you ARE allowed to delete posts here LoL
But this hack is usefull if your users are not allowed to delete posts as requested by Darren Lewis
old post was:
well i think there is one to allow users to delete posts or not, but they would still see the option to delete if they aren't allowed to delete posts! Like here on vb.org!
I've set these options in the admin panel, but the when I checked (using a test member account) I can still see the delete post box, but clicking on the button brings up an error page saying "You do not have permission to access this page."
I've set the option off for the usergroup, but the delete box still appears. When they click on the delete post button, then they get told that they can't do this.
What I want is for them to not be able to see the box to click on in the first place.
Are you sure you entered your page as normal user? Maybe you have a cookie problem and you enter the page still as admin. Maybe thats the reason why you still see the box!????
Originally posted by Birdie501 Are you sure you entered your page as normal user? Maybe you have a cookie problem and you enter the page still as admin. Maybe thats the reason why you still see the box!????
Yeah, I've even tried it from a different PC and I can still see that box as a normal user. It was one of my members who asking me about it that brought it to my attention.
Thanks anyway.
I may just delete the box from the template. If mods want to delete the whole post, it's probably best to edit it and leave a remark instead.
Originally posted by Birdie501 Darren do you have any hacks installed that uses different editpost templates like the wysiwyg hack? and did you try with my code?
The only one I've got that required modifying the standard editpost template is the Spell Checker hack that Parker Clack released. This just adds a button to the bottom of the form and a bit of javascript. None of the other hacks use different editpost templates.
I never thought to revert the template. Anyway, I've installed your hack just now and it works perfectly. A regular member cannot see the delete post box, but I can