Advertisement:

Author Topic: Reason For Editing Mod  (Read 227192 times)

Offline Nibogo

  • SMF Hero
  • ******
  • Posts: 6,663
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Reason For Editing Mod
« on: May 23, 2006, 12:44:11 AM »
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

Offline Jorin

  • SMF Hero
  • ******
  • Posts: 2,021
  • Gender: Male
    • ElkArte-Hilfe.de
Re: Reason For Editing Mod
« Reply #1 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?

Offline sbarnes

  • Jr. Member
  • **
  • Posts: 136
    • www.flashlight-torches.co.uk
Re: Reason For Editing Mod
« Reply #2 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:
Code: [Select]
<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.

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #3 on: May 23, 2006, 04:31:56 PM »
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.

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:
Code: [Select]
<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.


Offline sbarnes

  • Jr. Member
  • **
  • Posts: 136
    • www.flashlight-torches.co.uk
Re: Reason For Editing Mod
« Reply #4 on: May 23, 2006, 05:17:47 PM »
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.

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #5 on: May 23, 2006, 05:35:52 PM »
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.


Offline sbarnes

  • Jr. Member
  • **
  • Posts: 136
    • www.flashlight-torches.co.uk
Re: Reason For Editing Mod
« Reply #6 on: May 23, 2006, 05:48:07 PM »
 ;D Thats good, thats exactly what I meant in my attempt as an alternative solution
Quote
Alternativley 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.

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #7 on: May 23, 2006, 06:02:14 PM »
;D Thats good, thats exactly what I meant in my attempt as an alternative solution
Quote
Alternativley 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.


Offline Jorin

  • SMF Hero
  • ******
  • Posts: 2,021
  • Gender: Male
    • ElkArte-Hilfe.de
Re: Reason For Editing Mod
« Reply #8 on: May 24, 2006, 01:55:30 AM »
Who-whoooo! Then I'll wait for 2.0 ;)

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #9 on: May 24, 2006, 04:59:43 PM »
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.


Offline sbarnes

  • Jr. Member
  • **
  • Posts: 136
    • www.flashlight-torches.co.uk
Re: Reason For Editing Mod
« Reply #10 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?

Offline _Ryan_

  • Semi-Newbie
  • *
  • Posts: 17
Re: Reason For Editing Mod
« Reply #11 on: May 24, 2006, 06:07:39 PM »
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.
« Last Edit: May 24, 2006, 07:01:49 PM by ryan0204 »

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #12 on: May 24, 2006, 08:08:02 PM »
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.


Offline Dazzler

  • Semi-Newbie
  • *
  • Posts: 78
  • Gender: Male
    • The MiniDirectory Club Community
Re: Reason For Editing Mod
« Reply #13 on: May 24, 2006, 08:38:48 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

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #14 on: May 24, 2006, 08:45:52 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.


Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #15 on: May 25, 2006, 04:27:20 PM »
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.


Offline Vinspire

  • Sr. Member
  • ****
  • Posts: 852
  • Gender: Male
    • The Box Of Heart Forum
Re: Reason For Editing Mod
« Reply #16 on: May 27, 2006, 05:53:47 AM »
can i c the screenshot of this mod ? :P

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #17 on: May 27, 2006, 10:00:26 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.


Offline Teknomancer

  • Jr. Member
  • **
  • Posts: 117
  • Gender: Male
    • Toons & Comics
Re: Reason For Editing Mod
« Reply #18 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.
My SMF Forum:

Offline winrules

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,085
  • Gender: Male
Re: Reason For Editing Mod
« Reply #19 on: May 27, 2006, 10:34:55 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.