News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Reason For Editing Mod

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

Previous topic - Next topic

Alpay

NIBOGO hi ;

Turkish translate ;
Thanks for upgrade mod.


Modifications.turkish.php

// Reason for editing mod
$txt['reason'] = 'Düzenleme';
$txt['reason_edit'] = 'Düzenleme sebebi';
$txt['permissionname_reason_edit'] = 'İleti düzenleme sebebi';
$txt['permissionhelp_reason_edit'] = 'Bu üye grubuna yetki verirseniz iletilerde düzenleme sebebi yazabilir.';
// Reason for editing mod END

General_Naga

After installing this mod quick edit stopped working for me. I found that I could open quick edit fine but no changes would be saved after clicking save.

Uninstalling the mod solved the issue. :(



Eclipse16V

Nice Mod but you have an error in the smf-2.x.xml in row126

<operation>
<search position="replace"><![CDATA[$context['non_guest_permissions'] = array(]]></search>
<add><![CDATA[$context['non_guest_permissions'] = array(
'reason_edit',
]]></add>
</operation>
<operation>
<search position="replace"><![CDATA['report_any' => array(false, 'post', 'participate'),
                        'reason_edit' => array(false, 'post', 'moderate'),]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.english.php">


replace
<operation>
<search position="replace"><![CDATA[$context['non_guest_permissions'] = array(]]></search>
<add><![CDATA[$context['non_guest_permissions'] = array(
'reason_edit',
]]></add>
</operation>
<operation>
<search position="replace"><![CDATA['report_any' => array(false, 'post', 'participate'),]]></search>
<add><![CDATA['report_any' => array(false, 'post', 'participate'),
                        'reason_edit' => array(false, 'post', 'moderate'),]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.english.php">
I worked with:
SMF 2 in German

Shop:
SID Giessen

Eclipse16V

And this error I becaome when I edit a post:
QuoteThe database value you're trying to insert does not exist: var_edit_reason

The db_reason2.php is installed.
I worked with:
SMF 2 in German

Shop:
SID Giessen

villasg

#306
Nice i make a try

I have  errors in the installation
Quote8: Undefined variable: found
Αρχείο: /home/thai.gr/www/forum/Packages/temp/db_reason1.php
Γραμμή: 20

Quote2: Missing argument 3 for db_query(), called in /home/thai.gr/www/forum/Packages/temp/db_reason1.php on line 17 and defined
Αρχείο: /home/thai.gr/www/forum/Sources/Subs.php
Γραμμή: 238

Quote2: Missing argument 2 for db_query(), called in /home/thai.gr/www/forum/Packages/temp/db_reason1.php on line 17 and defined
Αρχείο: /home/thai.gr/www/forum/Sources/Subs.php
Γραμμή: 238

But mod works fine !

greek utf8
<file name="$languagedir/Modifications.greek-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Reason for editing mod
$txt['reason'] = 'Λογος';
$txt['reason_edit'] = 'Λόγος επεξεργασίας';
$txt['permissionname_reason_edit'] = 'Όρισε τον λόγο επεξεργασίας ';
$txt['permissionhelp_reason_edit'] = 'Όρισε εαν το membergroup επιτρεπεται να βαζει το λογο της επεξεργασιας στα ποστ του.';
// Reason for editing mod END
]]></add>
</operation>
</file>

patalete

Im gettin this two when using "fast edit" and saving the post.. with "modify" it wont show up..



The database value you're trying to insert does not exist: var_edit_reason
Function: modifypost
###/forum/index.php?action=jsmodify;topic=8923;sesc;xml
File: ###/forum/Sources/Subs-Post.php
Line: 2396


Type of error: Undefined
###/forum/index.php?action=jsmodify;topic=8923;sesc;xml
8: Undefined index: edit_reason
File: ###/forum/Sources/Subs-Post.php
Line: 2369


btw, I have disabled "template eval" thing cause Im doing other checks in the forums...jjust in case it can affect the error output posted.. :)

plusev

Just installed the mod and get the following error:

Unknown column 'edit_reason' in 'field list'
File: /web/Sources/Display.php
Line: 950

Please advise. Thx

Yakumo

just downloaded Reason_for_Editing_v2.0.zip and im being told it's not compatible with my SMF 1.1.10 install?


oOo--STAR--oOo

#311
Hi i have installed ur mod its a fantastic mod but its the only mod that gives u error's

i want to keep the mod but i want this error fixing...

In my forum error log i am getting these messages everytime i goto features and options...



http://www.uniquez.co.cc/index.php?action=featuresettings 
8: Undefined index: reason_anyone
File: /home/*****/public_html/Sources/ModSettings.php


here in features and options right at the bottom is a list box.. and when i click it i get blank options....
obviously its pointing to a line but i dont know what its asking for.....

       ****LIST BOX SUPPOSED TO BE HERE BUT IS EMPTY*** when i click it 3 options no writing...
Maximum number of recipients allowed in a personal message.
(0 for no limit, admins are exempt)   
Post count under which users must enter code when sending personal messages.
(0 for no limit, admins are exempt)   
Number of personal messages a user may send in an hour.
(0 for no limit, moderators are exempt)

Line: 282


please could u asist me on this matter

the line on

282 is

array('select', 'er_who', array('admin' => $txt['reason_admin'], 'admin+mod' => $txt['reason_admin+mod'], 'anyone' => $txt['reason_anyone'])),
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.


oOo--STAR--oOo

18. Reason For Editing Mod 2.0   [ Uninstall ] [ List Files ] [ Delete ]

no i have version 2.0 installed... so its not a problem with the version...

any help?
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

[A-US]James246

I'm using it and it works great!

Anyway - Can I make it where when users edit their post they HAVE TO provide a reason for editing?

THANKS A LOT! :) :) :)

oOo--STAR--oOo

yeah it works great but im getting an error in the log and in features and option.. there is a list box with nothing in it..

obviously there is supposed to be 3 options and im getting errors when i visit features and options... any help would be great
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Nibogo

Quote from: aljo1985 on July 28, 2009, 11:38:18 AM
yeah it works great but im getting an error in the log and in features and option.. there is a list box with nothing in it..

obviously there is supposed to be 3 options and im getting errors when i visit features and options... any help would be great

Just delete the line from the last version in the ModSettings in the v2.0 I use the permission system so that is not used anymore

[A-US]James246

Is it possible to set it that users have to provide a reason for editing their post?

oOo--STAR--oOo

FANTASTIC PROBLEM SOLVED

thanks for that..

should take that out of 2.0

in the modsettings edit...

thanks for the help....
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Kimmie

Installed this on RC1.2 and the only problem on istallation I had was what others had as well and that was it wont install the 2nd part on display.php (guessing its because when you parse the mod, there is an extra indentation on the parser than what is actually in the code so it cant find it). I installed that part manually and now the problem is, the only people that can see the box are admins and I dont have the settings in Features and Options to change it. I hav checked all the edits and they all seemed to install ok.


Any ideas? Thanks in advance



Advertisement: