News:

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

Main Menu

Visual Warning Mod

Started by Eleglin, July 31, 2007, 08:53:40 AM

Previous topic - Next topic

Eleglin

Quote from: shumar on November 10, 2007, 04:49:43 PM
One of my user is moderated, but his post don't appear in Post Moderation Manager, also his post's appear on forum ???
Are you sure he gets the level 2 ?
No support by PM or Mail.

shumar

Hm, when I installed this mod, all modifications wasn't applied. But I didn't know that. :(
Last night, I installed manually. I have only one question.
Also I have few questions:

1.) I get this message:
4 messages require moderation
but missing one <br> after this, where I need to put this ?

2.) Is this possible link for Post Moderation Manager (X) where X will be number of messages that need to be moderated?

3.) Can message (messages require moderation) on index.template be linked to Post Moderation Manager ?

Eleglin

1 an 2 /

Look in index.template for this :

if (isset($context['user']['awaiting_mod']))
echo '<br />' . $context['user']['awaiting_mod']';
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>', $txt[616], '</b>';


you should correct the code and obtain this :

if (isset($context['user']['awaiting_mod']))
echo '<br /><a href="' . $scripturl . '?action=warnpmman">' . $context['user']['awaiting_mod'] . '</a><br />';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<b>', $txt[616], '</b>'


I'll update this package, in a few minutes. ;)

2 / Unnecessary, I think.
No support by PM or Mail.

Eleglin

Quote from: champ_hr on October 27, 2007, 07:50:50 AM
Quote from: Eleglin on October 26, 2007, 02:48:09 PM
Quote from: champ_hr on October 24, 2007, 05:47:28 PM
I have a problem with "Topic Where Raised:"

When I click on member in list of users that currently have some form of warning, I can't see in which topic I set a warning. "Topic Where Raised:" is a blank, no link or something else.

Forum is SMF 1.1.4.

Help please
Are you sure you wrote something there ?

Warning Management 
Previous Warning Details 
Current Level:  Warned 
Topic Where Raised:   
Time When Raised:  October 26, 2007, 07:33:17 
Reason For Raise:  Naslov teme uvijek mora biti u formatu "yyyy.mm.dd. - dddd" (2007.10.27. - Subota) a nakon toga može se dodati i dodatni opis. Ovo je potrebno da bi ispravno radilo primarno sortiranje koji je u ovoj podgrupi postavljeno prema "Nazivu" teme. 


New Level Details 
New Level:  (0=None, 1=Warned, 2=Moderated, 3=Muted. 4=Banned) 
Time Warning Lasts (Blank=Default):   
Reason For Raise:   


Topic Where Raised: ??????????????????????????
is blank, what mast be heare


Sorry for my English

Do you need Croatian translatation ?
I see... or I don't see too.
Topic where raise is not empty when we give a warning but is empty in the warning manager.
I haven't find a simple solution, and .. well, I think it's a really small problem. I will be looking for this, when I will have more time, but here I can't. Sorry :(
But I'll really appreciate a Croatian translation, which could be useful for other people. You can post it here or by PM. 
No support by PM or Mail.

shumar

#164
Is there any chance to see which of my moderators approve posts for moderated users ?

I have one of users that is moderated, when he try to post, I get this error:

8: Undefined index: return_to_post
/Sources/Post.php
Line:1652

Alder

Eleglin, thnx for mod.
I found small problem - moderator can clean off warning and add warning to itself :(
How to fix this problem?

P.S. Sorry for my bad english, I`m from Ukraine :)


Eleglin

Quote from: shumar on November 12, 2007, 09:08:45 AM
Is there any chance to see which of my moderators approve posts for moderated users ?
I don't think. Give this permission to people you can trust.
QuoteI have one of users that is moderated, when he try to post, I get this error:

8: Undefined index: return_to_post
/Sources/Post.php
Line:1652
Hem... Although he gets this error, are the messages sent on the post moderation manager ?
Quote from: Alder on November 12, 2007, 10:37:01 AM
Eleglin, thnx for mod.
I found small problem - moderator can clean off warning and add warning to itself :(
How to fix this problem?

P.S. Sorry for my bad english, I`m from Ukraine :)
Do you mean that the moderators can moderate themselves or delete the warnings the get ?
No support by PM or Mail.

shumar

Quote from: Eleglin on November 12, 2007, 04:00:32 PM
QuoteI have one of users that is moderated, when he try to post, I get this error:

8: Undefined index: return_to_post
/Sources/Post.php
Line:1652
Hem... Although he gets this error, are the messages sent on the post moderation manager ?
Yes, messages are in PMM.

Alder

Eleglin, yes. One of my forum moderators said me about this bug. I created a test user, give him moderator status and add warning to him (I was authorized as admin). After this I logout from forum and login as test moderator. I was able to add warning itself and remove warning. For remove I`ve add warning with level 0.

Eleglin

Quote from: Alder on November 12, 2007, 05:33:52 PM
Eleglin, yes. One of my forum moderators said me about this bug. I created a test user, give him moderator status and add warning to him (I was authorized as admin). After this I logout from forum and login as test moderator. I was able to add warning itself and remove warning. For remove I`ve add warning with level 0.
I'll be looking about that for a further update (if I have time) but it's not really a big problem, since the moderators are people you have chosen because you trust them.
No support by PM or Mail.

Paracelsus

I found a problem, which is not exactly a problem.

When a GlobalModerator has permission to warn and manage moderated posts, it can only see the correspondent menu in the Admin part IF he has also some "Member Moderation" feature activated. This is because of the coupling that is made in Subs.php. This means a GlobalMod can't see the links to Warn Manager and Moderated Posts Manager even though he/she can access them using the direct link to the page.

Since I'm no expert in PHP, what I did was to create a 'manage_warnings' string in Subs.php which I then used in the admin control menu, which my GlobalMods have access to (because of News that they are allowed to change) and it works, although the links for warn and moderated post manager "jump" from Member Control in admin menu to the first section, below the News and Newsletters. If anyone knows a better way to do it, just say so.

[SAP]Francis

Quote from: [SAP]Francis on October 18, 2007, 06:33:58 AM
Problem, Moderators can't have permissions to Warn persons... So moderators can't warn persons.
Will this problem be fixed? I know you awnsered to put him in Global mods put I don't want that since they can warn in ALL the forum.

Vehicles Forum

Founded By Francis Morissette

Eleglin

Quote from: Eleglin on October 18, 2007, 08:35:23 AM
It's a very interesting question.

A warning applicates to an user on the whole forum. That's why we have set theses permissions as general permissions, and not as board permissions.
Well, as you know, moderators don't have "general permissions" since they are set per board. They have specific permissions which can only be used on the board they moderate.

If you want these permissions for a moderator, you should assign him on a "global moderator" group, and assign the relevant group the permissions you wish them to have.


Quote from: [SAP]Francis on November 14, 2007, 10:13:47 PM
Quote from: [SAP]Francis on October 18, 2007, 06:33:58 AM
Problem, Moderators can't have permissions to Warn persons... So moderators can't warn persons.
Will this problem be fixed? I know you awnsered to put him in Global mods put I don't want that since they can warn in ALL the forum.
No, because it's not a real problem. And after all, all warnings will affect the warned users in the whole forum, so it's not a real local setting, but a global setting.  ;)
No support by PM or Mail.

[SAP]Francis

Okay, then, but, if I want to do it myself, could you help me out?

( Dunno PHP :'( )

Vehicles Forum

Founded By Francis Morissette

R_Rabbit10

SMF 1.1.4
Mod version 1.41

For some reason this mod does not work correctly on my forum.
Warned members for level 2 and 3 can continue to post without being moderated or being muted.
Does anyone have any idea what can cause this behaviour?

Thank you.

These are the other mods installed om my forum:
Quote
1. PM On Registration 1.0.2   [ Uninstall ] [ List Files ] [ Delete ] 
3. Custom Profile Field Mod 3.16   [ Uninstall ] [ List Files ] [ Delete ] 
5. Instant Message Spyer 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
6. Country Flags 1.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
7. Users Online Today Mod 1.4.0   [ Uninstall ] [ List Files ] [ Delete ] 
8. Instant Message Spyer 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
10. Reason For Editing Mod 1.14   [ Uninstall ] [ List Files ] [ Delete ] 
12. Signature Settings Mod 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
15. VisualWarning 1.41   [ Uninstall ] [ List Files ] [ Delete ] 
18. Registration Read 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
19. Global Announcements 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
20. Updated Registration Agreement 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
21. Ad Managment 2.3   [ Uninstall ] [ List Files ] [ Delete ] 

shumar

5. Instant Message Spyer 0.1   [ Uninstall ] [ List Files ] [ Delete ]
8. Instant Message Spyer 0.1   [ Uninstall ] [ List Files ] [ Delete ]

Why same mod twice ???

R_Rabbit10

I
Quote from: shumar on November 19, 2007, 04:30:49 PM
5. Instant Message Spyer 0.1   [ Uninstall ] [ List Files ] [ Delete ]
8. Instant Message Spyer 0.1   [ Uninstall ] [ List Files ] [ Delete ]

Why same mod twice ???
I don't know, good question. Installed it a long time ago to see what it is like. Never used it afterwards.
No one any idea to why the mod does not work properly?

shumar

Baned users doesn't have red dot under their username in posts ??

Eleglin

No, this mod uses the classical ban system of SMF.
No support by PM or Mail.

pcigre

I have an problem when I try to uninstall old Visual Warning mod.

It says that is version 1.32 but i think that some moded version from visual warning topic.

When i try to uninstall it (so i can install fresh for 1.1.4.) i get error:

This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.

Also when I try to access Features and Options I get this error

Fatal error: Cannot redeclare visualwarningsettings() (previously declared in /path/forum/Sources/ModSettings.php:367) in /path/forum/Sources/ModSettings.php on line 444

Any solution please?

Advertisement: