News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Reason For Editing Mod

Started by Nibogo, May 23, 2006, 12:44:11 AM

Previous topic - Next topic

Nibogo

Link to Mod


Reason for Editing Mod v2.3.2 - NIBOGO
This mod add a reason for editing a post that will be inputed when you edit a post.





Important Info:
o This Mod was created by SMFPacks.com - The #1 Website for the Customziation of your SMF.
o Remember to set the permission "Set Reason for Edit" for all the membergroups that you want to be allowed to use this mod.

Author:
- Winrules

Developer:
- NIBOGO

Features:
o Set the reason for edit a post.
o Permission for set reason for edit in messages.
o Reason displayed on the << Last Edit: ... >> line.
o Support for SMF 1.1.11 & 2.0 RC2
o English, Spanish_latin, Spanish_es, Portuguese and Dutch with utf8 support.
o Easy integration with other themes

VERY IMPORTANT!!

If you are using a 1.x version of this mod and want to upgrade please do this things:

1. Remove all the code MANUALLY

2. Delete the mod in the package manager

3. Install this new version

PD: If you uninstall using the package manager you will delete all the data of this mod so you need to do this or replace the package in the Packages dir with a new one without the uninstall

Languages:
- English/English-utf8
- Spanish Latin/Spanish Latin-utf8
- Spanish Es/Spanish Es-utf8
- Portuguese Brazilian/Portuguese Brazilian-utf8
- Portuguese Pt/Portuguese Pt-utf8
- Dutch/Dutch-utf8

Compatibility:
- 1.1.X
- 2.0 RC4

Special Thanks:
- winrules (Original Author of the Mod)
- movingmagic (Dutch Translator)
- FragaCampos (Portuguese Translator)




Changelog:

2.3.2 - 19 Jan 2011
o Added SMF 2.0 RC4 Support.

2.3.2 - 08 Mar 2010
o Added SMF 2.0 RC3 Support
o Fixed Incorrect Package Version on Package Manager

2.3 - 13 Feb 2010 - If you are using SMF 1.1.X you don't need to upgrade
o Fixed bug with the installation. (Only for SMF 2.0)
o Fixed "Field 'edit_reason' doesn't have a default value". (Only for SMF 2.0)
o Fixed Issues editing messages using JS (Like Quick Edit, Change Title on Messageindex and Change Message Icon). (Only for SMF 2.0)
o Fixed Redirect after installation. (Only for SMF 2.0)


2.2 - 22 Nov 2009
o Added Curve Support
o Added Support for SMF 2.0 RC2
o Fixed bug with the permission to use this mod.

2.0 - 22 June 2009
o Added Permission for "Set Reason for Edit"
o Added Support for SMF 2.0
o Now Developed by NIBOGO
o Changed all the text now using languages strings
o Added spanish, spanish_es, spanish_latin, portuguese and dutch all with utf8 support

1.14
o Compatibillity added.

1.13
o Compatibility added, 1.1 RC2 development stopped.

1.12
o Fixes a bug that fills up the error log..

1.11
o Fixes a bug with not displaying the reason if a reason isn't specified.

1.1
o Doesn't display the reason if one is not specified, adds permissions to who can give a reason in features and options.

1.0
o Initial Public Release by winrules

Jorin

Is there a chance to change this mod that only global mods and admins can see and enter the reason for editing?

sbarnes

Great little mod,
How would you set the default reason if someone didnt enter one.

e.g if someone edited their post but did not put in a reason, it could say "no reason given"

I can make the field contain the text by default by:
<tr>
<td valign="top" align="right">
<b>Reason For Edit:</b>
</td>
<td>
<input type="text" name="edit_reason" size="50" value="No Reason Given" />
</td>
</tr>';


But how could this be done and have the text field left blank as if people see it is already filled in with something they are more likely to not change it.

winrules

Quote from: nehcregit on May 23, 2006, 02:54:19 AM
Is there a chance to change this mod that only global mods and admins can see and enter the reason for editing?
OK, I'll put an option in features and options about who to show the box to.

Quote from: sbarnes on May 23, 2006, 05:26:28 AM
Great little mod,
How would you set the default reason if someone didnt enter one.

e.g if someone edited their post but did not put in a reason, it could say "no reason given"

I can make the field contain the text by default by:
<tr>
<td valign="top" align="right">
<b>Reason For Edit:</b>
</td>
<td>
<input type="text" name="edit_reason" size="50" value="No Reason Given" />
</td>
</tr>';


But how could this be done and have the text field left blank as if people see it is already filled in with something they are more likely to not change it.
Next version will not display a reason if they don't specify one, I don't see why you'd want the reason to stay though because someone usually wouldn't edit the post for the same reason the person before did, and it would be confusing as to who edited the post for the reason.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


sbarnes

It doesnt matter but I think you have mis-understood what I meant, or I wrote it wrong.

What I meant was, because the reason for editing text area is not 'required' (it does not need to be filled in to continue - it is optional), the editor can choose to leave it blank.

This then prints on screen: <last edit, blah, blah, Reason:>
with obviously no reason there.

If the editor did not enter a reason the script could input 'Not given' or 'no reason given'

Alternativley not show the 'reason:' at the end of the line.

winrules

I think you mis-understood my answer :P, I meant that it wouldn't whos the ", Reason:" if you didn't specify one.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


sbarnes

 ;D Thats good, thats exactly what I meant in my attempt as an alternative solution
QuoteAlternativley not show the 'reason:' at the end of the line.

Glad thats sorted out (phew) Any ideas when the next version will be available?

Great work by the way.

winrules

Quote from: sbarnes on May 23, 2006, 05:48:07 PM
;D Thats good, thats exactly what I meant in my attempt as an alternative solution
QuoteAlternativley not show the 'reason:' at the end of the line.

Glad thats sorted out (phew) Any ideas when the next version will be available?

Great work by the way.
soon.
mabye I'll release 1.1 with just that and some permissions for who can use it, and then in 2.0 I could do a pick-list of reasons (that is user-congufurable).


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Jorin

Who-whoooo! Then I'll wait for 2.0 ;)

winrules

Version 1.1 has been released! This version adds permissions to who can specify a reason (change them in features and options) and doesn't display a reason if one isn't specified.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


sbarnes

Removed the previous version, installed the 1.1 version which installed fine.
Trouble is, its as if the mod has not been installed! no reason for edit box, no settings in admin. Uninstalled again fine.

Any ideas?

_Ryan_

#11
I'm trying to install this on 1.1 RC2 and I keep getting a page can't be displayed error after clicking the install link. Then when I go back to the packages page, it says its installed but nothing shows up when I go to edit a post.

[Edit]
Just tried it on a fresh install of 1.1 RC2 with no other mods. It went through the install, but no options are showing up for it and the reason for editing box doesn't show up when I modify a post.

winrules

Wierd, I can't seem to replicate it though. Could you pm me your post.template.php?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Dazzler

Quote from: sbarnes on May 24, 2006, 05:38:16 PM
Removed the previous version, installed the 1.1 version which installed fine.
Trouble is, its as if the mod has not been installed! no reason for edit box, no settings in admin. Uninstalled again fine.

Any ideas?

i am getting exactly the same.. running RC2 with tinyportal.. get mod.. would love to have it working

SMF 1.1.3 + TP .983 + Copperminie

winrules

Quote from: dodgydazzler on May 24, 2006, 08:38:48 PM
Quote from: sbarnes on May 24, 2006, 05:38:16 PM
Removed the previous version, installed the 1.1 version which installed fine.
Trouble is, its as if the mod has not been installed! no reason for edit box, no settings in admin. Uninstalled again fine.

Any ideas?

i am getting exactly the same.. running RC2 with tinyportal.. get mod.. would love to have it working
Can anyone having this problem please pm me their post.template.php, I just can't replicate it.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


winrules

OK, I've figured out what's causing it, If you were having problems please uninstall you're ucrrent version and re-download it, I have uploaded an updated version (but I didn't change the version number because there wern't very many downloads).


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Vinspire

can i c the screenshot of this mod ? :P

winrules

Quote from: Vinspire on May 27, 2006, 05:53:47 AM
can i c the screenshot of this mod ? :P
Go to the mod's page on the mod site.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Teknomancer

it still shows "Reason" even though no reason was set.

i.e. for posts that were edited before this mod.
My SMF Forum:

winrules

Quote from: Teknomancer on May 27, 2006, 10:23:57 AM
it still shows "Reason" even though no reason was set.

i.e. for posts that were edited before this mod.

1.1 was supposed to fix that...I think I forgot to put it in the install files...I will fix it ASAP.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Advertisement: