News:

Wondering if this will always be free?  See why free is better.

Main Menu

Visual Warning Mod

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

Previous topic - Next topic

Eleglin

Quotebut i think that some moded version from visual warning topic.
I don't understand.
Quote
Cannot redeclare visualwarningsettings() (previously declared in /path/forum/Sources/ModSettings.php:367) in /path/forum/Sources/ModSettings.php on line 444
I think you have installed this mod twice.
Could you please attach the file modsettings.php ?
No support by PM or Mail.

pcigre

QuoteI don't understand.

Not official version i think.

Here is file.

Eleglin

Quotefunction VisualWarningSettings()
{
   global $txt, $scripturl, $context, $settings, $sc;

   $config_vars = array(
         // Visual Warning Options?
         array('text', 'visualw_mess_ban'),
         array('text', 'visualw_mess_mute'),
         array('text', 'visualw_mess_pmod'),
         array('text', 'visualw_mess_warn'),
      '',
         array('text', 'visualw_color_ban'),
         array('text', 'visualw_color_mute'),
         array('text', 'visualw_color_pmod'),
         array('text', 'visualw_color_warn'),
      '',
         array('text', 'visualw_image_ban'),
         array('text', 'visualw_image_mute'),
         array('text', 'visualw_image_pmod'),
         array('text', 'visualw_image_warn'),
      '',
         array('text', 'muteAutoTime'),
         array('text', 'moderationAutoTime'),
         array('text', 'warningAutoTime'),
      '',
         array('check', 'visualw_pmod_edit'),
      );
      
   // Saving?
   if (isset($_GET['save']))
   {
      saveDBSettings($config_vars);
      redirectexit('action=featuresettings;sa=visualwarning');
   }

   $context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=visualwarning';
   $context['settings_title'] = $txt['visual_warning_mod'];

   prepareDBSettingContext($config_vars);
}
You have this part of code twice. This is not normal.
You should delete one of these two parts.

For the problem of uninstallation, please verify that you still have the package on your FTP
No support by PM or Mail.

pcigre

@Eleglin: thank you. now i can access Features and Options.

Still can't uninstall. Looks like that i deleted original package from server. All packages I donwloaded and uploaded doesn't fit :(

pcigre

There is :

10.     VisualWarning     1.32     [ Uninstall ] - but uninstal doesnt work :(

Eleglin

Quote from: pcigre on November 22, 2007, 01:51:02 PM
There is :

10.     VisualWarning     1.32     [ Uninstall ] - but uninstal doesnt work :(
If you have deleted your packages, you can't delete your mods with the package manager...
You should upload them on the correct folder.... or uninstall the mod manually.  :)
No support by PM or Mail.

pcigre

Problem is i can't find right version to upload it then uninstall, and i never did manual uninstall. Is there any tutorial for that?

Eleglin

You haven't save your files, database and packages before ?  ???
Sorry, but I haven't kept versions before 1.33
No support by PM or Mail.

pcigre

Quote from: Eleglin on November 23, 2007, 07:24:14 AM
You haven't save your files, database and packages before ?  ???
Sorry, but I haven't kept versions before 1.33

I have db backups, but not file backups before instaliing mod.

pcigre

I found in backup folder file named:

2007-03-31_before_visualwarning132.tar.gz

but i dont think that can help me muck....

Eleglin

Visual warning was the latest mod you have installed ?
No support by PM or Mail.

pcigre

Quote from: Eleglin on November 24, 2007, 10:37:16 AM
Visual warning was the latest mod you have installed ?

Noup. I installed some more later...

Eleglin

I attach Visual warning 1.33 here.
You should look for a manuel "uninstallation" since you had a different version. The code is not really different, so you shouldn't have problèmes.

Please backup your files and database before any thing.
No support by PM or Mail.

ssoltz

Quick question:

How do I make the warning level indefinite?

I am assuming by leaving the defaults blank?

I am sure the answer to this easy one is somewhere, I just can't find it.

Thank you,
Steve Soltz
SSK Creatives, Inc.

Eleglin

QuoteHow do I make the warning level indefinite?
What do you mean ?
No support by PM or Mail.

[SAP]Francis

I found a bug when warning someone.

It sends a PM but with the subject: "You have recieved an Offical warning"

Please not that it is Official.

Vehicles Forum

Founded By Francis Morissette

sgilleland

I ran thru almost all of the posts and didn't see anything definate on this subject......

Is there a way to make all users default to Moderator Approval upon creation?  Then you could remove it if need be?  I have a situation that I need this asap and I am aware that 2.0 has this ability, but I need it asap.  If you become a charter member can you download 2.0 right away?  Is there too many bugs in it yet?

Thanks,
Skip

Eleglin

Thx Francis, I will fix this very soon.  ;)

@sgilleland:
-> This mod is for post-moderation only, not for pre-moderation.
-> Of course, you can become Charter Member, and use 2.0 if you want. But keep mind that it is a Beta version, not stable, and which can have many bugs... or not. I haven't try it, and I probably won't until the official and stable version... because i don't want to crash my forum.  ;)
No support by PM or Mail.

ssoltz

Quote from: Eleglin on November 28, 2007, 02:58:56 PM
QuoteHow do I make the warning level indefinite?
What do you mean ?

I mean...how do you make the ban last forever?

Thank in advance...very helpful mod...
Steve Soltz
SSK Creatives, Inc.

Eleglin

I'm a little busy so I will make a quick answer. ;)
Since the visual warning use the classical ban system, you can edit/modify the ban in the section of your Administration Area. (the classical area on the normal and basic SMF 1.x. ).
Can't make a more extensive response for the moment. ;)
No support by PM or Mail.

Advertisement: