Visual Warning Mod

Started by xenovanis, November 06, 2005, 01:39:15 AM

Previous topic - Next topic

haktanir2

Problems here also, using SMF 1.1 RC3 and I get:

13. Execute Modification ./Sources/ManagePermissions.php Test failed

My installation is pretty much clean, I just have SMF arcade as a mod.

DHC


J. Williams

Joshua Jon Williams
Back in Action.

Sapphire_H

Thanks JJ.   :)

Yup, that's Tony.   8)  I've had him do several jobs for me over the last few months.  Great guy!

This mod is working very well for us.  I use it with TinyPortal "Articles" to write my TOS & Posting Guidelines in HTML.  Then I've set HTML anchors at each individual TOS/Posting Guideline "rule," and provided the moderators with a list of links to each of those anchors.  This way, when someone violates, they're able to just post a link directly to the section of the TOS/Guidelines which "justifys" the warning.  Saves a lot of trouble with members claiming a moderator is picking on them. ;)  I run a site about adoption, and there's a whole lot of emotional "baggage" involved in the topic - this mod coupled with the HTML anchors goes a long way towards demonstrating to the members that they're not being moderated just because someone doesn't like their opinion - we get that complaint a lot. LOL

Kudos to the programmer(s) who wrote it!!


Jay Vance

Sorry to be so stupid, but for the life of me I can't find where to use this mod after I've installed it.  Where do I go to apply levels to users?  Using Neutron1 theme 1.1 RC3.  There is no Visual Warning tab in Features and Options.  Thanks.

Jay

J. Williams

You must modify your theme to work with the modifications or else it won't work and you'll likely to recieve errors which will then cause much more fuss :D
Joshua Jon Williams
Back in Action.

haktanir2

Quote from: haktanir2 on September 07, 2006, 06:35:36 AM
Problems here also, using SMF 1.1 RC3 and I get:

13. Execute Modification ./Sources/ManagePermissions.php Test failed

My installation is pretty much clean, I just have SMF arcade as a mod.
Should I install anyway?

J. Williams

Nope, you need to check what has previously modified the file :P
Joshua Jon Williams
Back in Action.

Bigguy

You can install....if you want to do those edits manually.

Quote from: haktanir2 on September 07, 2006, 04:18:22 PM
Quote from: haktanir2 on September 07, 2006, 06:35:36 AM
Problems here also, using SMF 1.1 RC3 and I get:

13. Execute Modification ./Sources/ManagePermissions.php Test failed

My installation is pretty much clean, I just have SMF arcade as a mod.
Should I install anyway?

haktanir2

Quote from: J J Williams on September 07, 2006, 04:23:47 PM
Nope, you need to check what has previously modified the file :P
The only thing that could have edited it is SMF arcade as it adds trophies to the messages.

How would I do the edits manually? Would I just install it and then check the file giving the error? Or would I have to manually edit everything?

Bigguy

No you just manually edit the file that failed on install. Everything else would have installed fine. All the edits are in the install.xml file. or in the modification.xml file what ever it might be called. NOT the package-info.xml.

EDIT: BACK IT UP BEFORE YOU SCREW IT UP.

haktanir2

Quote from: Bigguy on September 07, 2006, 04:48:10 PM
No you just manually edit the file that failed on install. Everything else would have installed fine. All the edits are in the install.xml file. or in the modification.xml file what ever it might be called. NOT the package-info.xml.

EDIT: BACK IT UP BEFORE YOU SCREW IT UP.
Alright so I found this:

        <file name="$sourcedir/ManagePermissions.php">
          <operation>
             <search position="before"><![CDATA[ 'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_server_avatar' => false,
'profile_upload_avatar' => false,
'profile_remote_avatar' => false,
)
]]></search>
             <add><![CDATA[ ,
'visual_warn' => array(
'visual_warn_any' => false,
'visual_approve_any' => false,
)
]]></add>
           </operation>
        </file>


I'll install and then go to this file and make the changes. That is all right?

Bigguy

Yes find this:

'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_server_avatar' => false,
'profile_upload_avatar' => false,
'profile_remote_avatar' => false,
)


and before it add:

,
'visual_warn' => array(
'visual_warn_any' => false,
'visual_approve_any' => false,
)


Remember backup first though, that's very important.


Bigguy



Bigguy


Jay Vance

Quote from: J J Williams on September 07, 2006, 03:46:42 PM
You must modify your theme to work with the modifications or else it won't work and you'll likely to recieve errors which will then cause much more fuss :D

Thanks very much for this information.  Is there a link to information on how to modify a theme to work with a mod?  Thanks again.

Jay

Bigguy



Advertisement: