Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Deleting Thread Require Reason (inline Mode + Normal Mode) included Details »
Deleting Thread Require Reason (inline Mode + Normal Mode) included
Mod Version: 1.0.0, by Omranic (Coder) Omranic is offline
Developer Last Online: Apr 2017 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 10
Released: 23 Apr 2006 Last Update: Never Downloads: 2
Not Supported Uses Plugins Code Changes  

Hello Every body

in my forums my moderators delete threads without giving a reason so I did this plugin to require deletion reason.

its simple
it takes from me only 2minutes to write it & post the thread, So Installation time may be 60 secs max.

this thread has two parts the first is "Require Deletion Reason" when deleting though inline mode & the second is "Require Deletion Reason" when deleting the thread though the normal mode (from the thread tools itself).

the first is done by the plugin Attached & the second is done by the following Edit for the file "posting.php" coz of there is no hooks can do this.


History:
1.0.0 initial version (24/4/2006)


Installation:
1- import the attached plugin (require deletion reason-en.xml OR require deletion reason-ar.xml) [en => English / ar => Arabic].
2- open the file called posting.php & search in it for the following code (approx. @ line (382-388):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

& post under it the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


===> For Arab Users Don't make the Previous edit & do the following only


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Thats ALL

Don't Forget to press

Download Now

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

Screenshots

Click image for larger version

Name:	require deletion reason.jpg
Views:	120
Size:	12.9 KB
ID:	46417  

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 23 Apr 2006, 23:52
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Real name: Ahmed || Devo.
nice idea & feel sorry because there is no hooks in posting.php?do=dodeletethread
__________________
Developer,,
"Know thing about everything ... Know everything about thing"

I was here as a coder, and i am there as a student
Reply With Quote
  #3  
Old 24 Apr 2006, 00:01
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
hello Developer
hope you are fine

we hope to see some more hooks in posting.php next versions

// peace
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
----------------------------------------------------------------------------
Keep Moving Forward!
Reply With Quote
  #4  
Old 24 Apr 2006, 00:46
ryancooper's Avatar
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Looks good. Thanks
Reply With Quote
  #5  
Old 24 Apr 2006, 00:54
Developer's Avatar
Developer Developer is offline
 
Join Date: Sep 2005
Real name: Ahmed || Devo.
Originally Posted by SolidSnake@GTI
we hope to see some more hooks in posting.php next versions
i am fine & u
use this http://www.vbulletin.com/forum/showthread.php?t=142051
to request new hook locatinos
__________________
Developer,,
"Know thing about everything ... Know everything about thing"

I was here as a coder, and i am there as a student
Reply With Quote
  #6  
Old 24 Apr 2006, 01:36
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
ryancooper => Welcome

Developer => Done, See
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
----------------------------------------------------------------------------
Keep Moving Forward!
Reply With Quote
  #7  
Old 24 Apr 2006, 18:58
bashy bashy is offline
 
Join Date: Nov 2005
Hi

I have just tried this, I got the Please add a reason message...
The thing is, i clicked back to edd the message and then clicked
delete again and it said to thread specified or sommat like that...
I then refreshed the page and the thread had been deleted anyway...

So to re-cap...

It asks to add a message but deletes the thread/post anyway lol

I have imported the plugin (as a plugin lol)
I have done the edit to posting.php

Any ideas please?
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #8  
Old 24 Apr 2006, 19:00
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Real name: Kurt Barker
Hey mate, I installed this but had to uninstalled due to the following.

Followed instructions, went to hard delete as an administrator and got an error. As admin I need the hard delete ability
Reply With Quote
  #9  
Old 24 Apr 2006, 19:03
bashy bashy is offline
 
Join Date: Nov 2005
What error?

I managed to delet (hard) ok, just had the issue above lol

Originally Posted by kurtbarker
Hey mate, I installed this but had to uninstalled due to the following.

Followed instructions, went to hard delete as an administrator and got an error. As admin I need the hard delete ability
__________________
Bashy

Bashys Place ~ Bashys Hosting
Reply With Quote
  #10  
Old 24 Apr 2006, 19:05
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Real name: Kurt Barker
lol, will have to reinstal. I was frantic that I couldn't hard delete so I uninstaled without thinking...

i'll let you know if a few
Reply With Quote
  #11  
Old 24 Apr 2006, 19:15
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Real name: Kurt Barker
ok, that prob fixed, lol

now i'm getting 'you did not add a reason' for me hard deleting, and a got a 'you did not select a valid thread error...

neither of which I got when I didn't have this installed
Reply With Quote
  #12  
Old 25 Apr 2006, 04:56
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
For all people that faces any problems with this hack

I have tried this hack more & more by many ways on many forums & nothing from these problems appears

I tried it with Admin account & Super admin acount & moderator & super moderator (with various permisions) & No problems / No errors

can any one give a details on the problem & if any one has any problem from my hack send me an admin account to try fix this issues (I'll be happy)

// thanks
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
----------------------------------------------------------------------------
Keep Moving Forward!

Last edited by Omranic; 25 Apr 2006 at 05:06.
Reply With Quote
  #13  
Old 25 Apr 2006, 13:10
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thank you!
Reply With Quote
  #14  
Old 25 May 2006, 19:52
rmxs's Avatar
rmxs rmxs is offline
 
Join Date: Apr 2006
Originally Posted by bashy
Hi

I have just tried this, I got the Please add a reason message...
The thing is, i clicked back to edd the message and then clicked
delete again and it said to thread specified or sommat like that...
I then refreshed the page and the thread had been deleted anyway...

So to re-cap...

It asks to add a message but deletes the thread/post anyway lol

I have imported the plugin (as a plugin lol)
I have done the edit to posting.php

Any ideas please?
I have the same error...

I try to delete one thread without reason one message appeard "Please add a reason." i return to the forum i refresh and the tread its deleted without reason..

So the message appeard byt the thread deleted..
__________________
:banana::bunny: :banana:
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
Forum Jump


New To Site? Need Help?

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

Layout Options | Width: Wide Color: