The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
Hi,
please wait about 2 hours, when i am back home i will release this! |
#3
|
||||
|
||||
OK RELEASE is here: https://vborg.vbsupport.ru/showthrea...threadid=40861
|
#4
|
||||
|
||||
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..
|
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
Uppss my fault :-))
Admins please delete my hack |
#7
|
||||
|
||||
But a nice try nonetheless
|
#8
|
|||
|
|||
Quote:
Birdie501 thanks for your hack - I'll download it and have a look. Darren. |
#9
|
|||
|
|||
I've carried on the discussion in the hack release thread, so perhaps this thread could be closed now?
Darren |
#10
|
||||
|
||||
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! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|