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

Sabre™

Is that function added to the template?
Could you please attach your ModSettings.php to your next post
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Razortide

Of course ;-)

It's the one from Sources folder; I hope this is correct? I've found an entry  from 150-153

Sabre™

Sorry for the delay, had to reboot my system.
Try the attached file.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Razortide

Thanks a lot!

Do you mind telling me what you've done, so I don't have to ask next time? ;-)

Sabre™

It was a small niggle in the code, in which it was inserted into the karma function.
If I recall correctly, this line is part of the karma mod
$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=karma';
$context['settings_title'] = $txt['smf293'];

prepareDBSettingContext($config_vars);
}


and it was placed after the warning mods edits.
So without this in its proper position, the karma function didnt close, and spat itself when the warning mod function was introduced.
Something like that ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Razortide

Thank you. That helped me a lot.

Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


munze80

Quote from: uncajesse on July 17, 2009, 02:06:16 AM
I tweaked this to install on SMF v1.1.10, and removed the old ".mod" methods because they can't do regular expressions or (show that they are going to) skip non-existent files.

You must uninstall your old Visual Warning Mod before installing this one, as is the usual because this package doesn't support upgrades.  You won't lose any of your warning data.

This is just an update from v1.42, none of the issues with it's functionality have been addressed, but this should install on all v1.1.10.  Let me know if it doesn't, and attach your files that it fails on, and I'll fix em.

I may eventually fix the bug of the bans not timing out, if that really is a problem.  I haven't looked into it yet.  Anyways, enjoy.

When I want to install this mod smf reports me error to files load.php and defaultDisplay.template.php. Can you fix this? Thanks

Kindred

those errors are probably because you have other mods already installed. As with any other mod, you will have to manually apply the changes to those "failed" files.
Сл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."

qtime

Question about the update, I have 1.34 running, does the latest version have splitted permissions?
For example a certain membergroup can warn, other membergroup can warn and put on moderate status?

hariS.

Known as Ha[R]iS.

Kindred

Сл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."

hariS.

haha , you blind ? , can you that  word "warn" isn't in the square like others are ?
Known as Ha[R]iS.

Kindred

Please...

1- do not insult others, especially not the ones who are likely to help you.
2- We read through thousands of posts a day. I do not have time to look at a post with no actual information and try to decrypt what you THINK is wrong.
If you have a problem, then CLEARLY STATE what the problem you have is.

And, actually **NO** I can not see what you are talking about because your image links are dead.

Include your version of SMF, your version of the mod and the CLEAR description of the problem.


Сл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."

Sabre™

Kindred is correct hariS.
Please take a moment to read these:
How do I ask support questions the smart way?
How can I get my problems solved faster?

then attach your custom themes display.template.php after you have offered the required/requested information.
I say attach it 'again', because you have had changes to it from another thread.
Thank You :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


hariS.

#575
Hi my nice and beautiful fellows , my problem is related with this mode called "Visual Warning MOD".

The problem is with the position and background of the word "warrned" , wich won't appear in the square like nubmer of post does etc.

(This is the picture showing the problem ...

MY website link : www.jeditekodjoa.com

I am using SMF 1.1.10

I am using theme called DSV1 from dzinerstudio.com

MOD's installed




And in the attachment there is file wich you may want to use to fix the problem

Am I polite  now :S ?
Known as Ha[R]iS.

Kindred

and the reason it won't is because you have a custom theme with custom CSS.

Mods only install in the default theme, using CSS styling to appear in the default theme.

Any other theme means that you will probably have to modify the mod's CSS to make it appear. I suggest using firefox with the firebug add-on to find the specific CSS entry and modify it to match your other entries.

Posting your display.template.php is probably not relevant in this case becuase it is 90% likely that the issue is a CSS issue, not a coding issue.

for more specific info, I would need a link to a post showing the moderated icon and text.


oh, and the sarcasm was unnecessary as well...
Сл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."

Sabre™

Also, try the attached.

Quote from: Kindred on November 23, 2009, 07:50:55 PM
oh, and the sarcasm was unnecessary as well...

x2
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


hariS.

#578
Hi again my beautiful friends :(

@ Sabre , thx very much you helped me

Could you make me a favour and edit display.template for "Country flag mode as I encountered  the same problem with that MOD .

Visual Warning MOD : http://www.jeditekodjoa.com/index.php?topic=2741.0
(working well )

Country Flag MOD : http://www.jeditekodjoa.com/index.php?topic=3153.0
(have the same problem)


@Kindred , can you see the difference :

Before :


After :



Country Flag MOD :




Please don't link me to their support topic , as I seeked for the help  , they didn't answer , you can fix I KNOW THAT :D
Known as Ha[R]iS.

samurai-lupin

Hello,

I have just noticed that members who are under post moderation can not post any attachments. Is this a bug in my installation or is this feature missing?

Thank you

Advertisement: