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

Destructionx

I get these two Errors.

6.     Execute Modification     ./Themes/default/Display.template.php     Test failed
7.    Execute Modification    ./Sources/Post.php    Test failed

I'm using 1.1.11, but it had the same problem with 1.1.10.

Problem: When I Give someone a warning, It does not show on their name.  I'm Using the default theme.

Destructionx

Sorry for bumping this, But can anyone help me?

Sabre™

You should not install the mod if you receive errors on installation, Unless you are going to do the 'manual edits' to the failed templates. This will need to be the case for you.
So, you need to look [HERE], and make the changes it suggests for your Display.template.php and Post.php.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


tomaschx

Hm, the warning dots/images in general are not showing.

I had an error the following error...

7.    Execute Modification    ./Sources/Post.php    Test failed

I installed it manually, though.

Help? :<

Kindred

if you are running a custom theme. you will have to manually install it into that theme as well...   specifically display.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

GunDude

This is a GREAT mod, thanks to the original authors and current support people! 

I have an issue, and it was the same with 1.1.10 and now 1.1.11 --

Post Moderation does not work.  You can give someone this level, and when they post it still gets posted in the forum, never having a chance for it to be moderated.

Everything else with this mod seems to work fine, but it'd be even better if that function worked.

Thanks in advance.

sc2sick

I searched the thread, but is there a way to warn anonymously as an admin/moderator?

spiros

I have this mod installed and I am planning to upgrade to SMF 2. Has anybody experienced any issues with the upgrade, or do you think I should take some special action before upgrading.

Kindred

I believe that much of this mod is already standard in 2.0
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

spiros

I mean whether it being installed might cause problems in the way of upgrading...

Kindred

oh... no...   actually, upgrading to 2.0 will remove ALL mods from your forum (it won't lose any data, but, since you are replacing all of the forum files, the mods are essentially gone until you reinstall them on 2.0
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Carlos Faria

Error in translation:



What happens?  ???

[SAP]Francis

#592
Quote from: [T]uGa [M]aSter on December 18, 2009, 02:16:41 PM
Error in translation:



What happens?  ???
On the end of line 127, add a semi-colon. (;)

Vehicles Forum

Founded By Francis Morissette

Carlos Faria


GunDude

Anybody?

Quote from: GunDude on December 14, 2009, 11:34:48 AM
This is a GREAT mod, thanks to the original authors and current support people! 

I have an issue, and it was the same with 1.1.10 and now 1.1.11 --

Post Moderation does not work.  You can give someone this level, and when they post it still gets posted in the forum, never having a chance for it to be moderated.

Everything else with this mod seems to work fine, but it'd be even better if that function worked.

Thanks in advance.

GunDude

Another problem has arisen, now that I've actually used it to warn a user -- my error log gets filled with:

8: Undefined index: visualw_image_
File: /home/tbaja0/public_html/forum/Sources/Load.php
Line: 1058

and

8: Undefined index: visualw_color_
File: /home/tbaja0/public_html/forum/Sources/Load.php
Line: 1059

Here are the two lines from Load.php

Quote
'link' => ($modSettings['visualw_image_' . $warn] != "" ? '<img src="' . $settings['images_url'] . '/' . $modSettings['visualw_image_' . $warn] . '"/>' : '') .
         ($modSettings['visualw_color_' . $warn] != "" ? '<font size="2" color="' . $modSettings['visualw_color_' . $warn] . '">

Anybody have any ideas? 

Kindred

that line of code should only be called if $warn is defined...  form the error code, it looks like ti is being called for everyone.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

infyquest

has anyone experienced permission problems with this mod.

mariusfv

Yes i tested on smf 1.1.11 and worK all function...

For that have errors on install ...i tested if you have installed Mod "Admin Lock" unistall him(not compatible) due the fact of modification on display.php...etc
sO MOD IS OK and all function work ok !


santac

Hi,

I can't find this in my custom theme (babylon):
$remove_button = create_button('delete.gif', 121, 31, 'align="middle"');

It's only in the default theme, and there is a warn button line.

so where should I put the warn button in my custom theme?
now i can't warn the users ;)

Advertisement: