![]() |
Prevent users seeing the delete post box when editing a post?
Hi
I don't allow members to delete their posts, only edit them. Moderators and Admin can delete posts. How can I remove the box to delete posts from the editpost template when a user edits a post, but have the box show when a moderator or admin edits a post? Is this just a simple template mod, or do I have to edit the editpost.php file? If I need to hack the php file, what do I need to do? Thanks. Darren. |
Hi,
please wait about 2 hours, when i am back home i will release this! |
OK RELEASE is here: https://vborg.vbsupport.ru/showthrea...threadid=40861
|
Excuse me but doesnt that delete box automatically removed if you disable usergroup's "Can delete own threads" and "Can delete own posts" rights via Admin CP? I think it is.. :rolleyes:
|
Quote:
|
Uppss my fault :-))
Admins please delete my hack :) |
But a nice try nonetheless :)
|
Quote:
Birdie501 thanks for your hack - I'll download it and have a look. Darren. |
I've carried on the discussion in the hack release thread, so perhaps this thread could be closed now?
Darren |
There is use for this hack ... don't kill it yet. For those using the PM Users upon Thread Deletion hack, this is a quite usefull since it hides that hack too ... ya just have to modify your template and add that hack template to yours.
With the two combine, this is a very good hack! |
All times are GMT. The time now is 09:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|