Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hide Post Delete Option Hack Ver. 1.0 Details »
Hide Post Delete Option Hack Ver. 1.0
Mod Version: 1.00, by Birdie501 (Member) Birdie501 is offline
Developer Last Online: Feb 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 6
Released: 09 Jul 2002 Last Update: Never Downloads: 1
Not Supported  

****************************************************
Hide Post Delete Option Hack Ver. 1.0
by Birdie501
Requested by Darren Lewis
here -> http://www.vbulletin.org/forum/showt...&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!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
MySQL Database Backup/Restore Hack Ver. 1.0 Birdie501 vBulletin 2.x Beta Releases 150 18 Jul 2004 22:32
Check user password hack Ver 1.0 Birdie501 vBulletin 2.x Beta Releases 18 20 Jul 2002 17:19

Comments
  #2  
Old 09 Jul 2002, 16:32
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Isn't there an option for this in the admin cp? I don't know, seems like there would be.
Reply With Quote
  #3  
Old 09 Jul 2002, 16:42
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
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
Reply With Quote
  #4  
Old 09 Jul 2002, 16:50
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
upps sorry thats correct!
just tried!

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!

Last edited by Birdie501; 09 Jul 2002 at 16:53.
Reply With Quote
  #5  
Old 09 Jul 2002, 17:46
Darren Lewis Darren Lewis is offline
 
Join Date: Mar 2002
Birdie501, thanks for releasing this for me.

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."
Reply With Quote
  #6  
Old 10 Jul 2002, 09:55
Darren Lewis Darren Lewis is offline
 
Join Date: Mar 2002
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.
Reply With Quote
  #7  
Old 10 Jul 2002, 09:59
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
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!????
Reply With Quote
  #8  
Old 10 Jul 2002, 10:10
Darren Lewis Darren Lewis is offline
 
Join Date: Mar 2002
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.

Darren.
Reply With Quote
  #9  
Old 10 Jul 2002, 10:26
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Darren do you have any hacks installed that uses different editpost templates like the wysiwyg hack? and did you try with my code?
Reply With Quote
  #10  
Old 10 Jul 2002, 10:44
Darren Lewis Darren Lewis is offline
 
Join Date: Mar 2002
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

Thanks for that.

Darren.
Reply With Quote
  #11  
Old 10 Jul 2002, 10:51
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Ok thanks! Even if only you will use it , it was worth to make it
Reply With Quote
  #12  
Old 10 Jul 2002, 11:00
Darren Lewis Darren Lewis is offline
 
Join Date: Mar 2002
I'll play around with a clean fresh install of vbulletin on my local PC and maybe drop a comment to Jelsoft about it if I still get the same. My online vb has been hacked a little so this may be interfering with things - can't see how though.

Cheers,

Darren
Reply With Quote
  #13  
Old 10 Jul 2002, 11:17
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
???

Will this hack work with the WYSIWYG hack?

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?
Reply With Quote
  #14  
Old 10 Jul 2002, 11:35
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Yes it will, but you don't need this hack. This function is already included in vb. You just have to disable the function 'can delete post" in admin Cp for the specific usergroup.
Reply With Quote
  #15  
Old 10 Jul 2002, 11:42
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
ok...

I already did that but I never tried to log on under one of the groups I disabled it for to see if the button still shows up. Does the button show up if it is turned off?

Originally posted by Birdie501
Yes it will, but you don't need this hack. This function is already included in vb. You just have to disable the function 'can delete post" in admin Cp for the specific usergroup.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:31.

Layout Options | Width: Wide Color: