Warn Members Mod 2.00 - Postet den (3139 Views)
Average Member
modifichicci
Innlegg: 787
787
Set and implemented by Modifichicci

Support on http://www.herniasurgery.it/forum/


This mod is derived from Crash Award Members and Crash Warn Members Mods
As these mods are old and created for an old version of snitz forum and with some errors for MySql, I have adapted them to create a new Warn Members Mod working on all snitz in access and MySql. New features:
1) Admin section from admin home
2) Mod set on /off from Config Features
3) Capability to set warning from topic of the member to be warned
4) If a warn is set,, in topics of meber warned there is the Warn Remove icon. This is view only by admin and moderators. 5) In topics, under the members data will be shown an icon and the word Warning: clikking on icon show the warning message. This is visible by all members
6) A mail is sent to warned members when a warn is set and when a warn is removed.
New add for cdosys mail, can send mail with html formatting if present in message. 24 june 2006




Instructions in text file. File to be edited:
config.asp
admin_home.asp
admin_config_features.asp
inc_iconfiles.asp
pop_config_help.asp
topic.asp

Difficulty (1 _10) = 2

Download:
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=227

Italian Version available on
http://www.superdeejay.net/download/files/Mod_Ammonizioni.zip

Image Portal Version available in Download section of
http://www.hernisurgery.it/forum/
(registration required)

Try it and feedback errors and modify.
Thank you.

Update 18 june 2006
Admin Name set from db, don't need any changes in file of the mod! Zip updated.
Update 24 june 2006
Corrected some bugs in three files (admin_warning, pop_warning, pop_warn_message)

Update 4 july 2006
Correct some errors shown from feedback, added lines for inc_mail to send HTML mail with Cdosys and Cdonts also. Deleted java lines generating errors in some forums (probably used from old snitz version)

<moved to="MOD Add-On Forum (W/O Code)" by="Shaggy" /><
   
 Sidestørrelse 
Postet den
Average Member
modifichicci
Innlegg: 787
787
Just alittle correction to instructions file:

in topic.asp
after
<!--#INCLUDE FILE="inc_subscription.asp" -->
<!--#INCLUDE FILE="inc_moderation.asp" -->

add

<!--#INCLUDE FILE="inc_warning_functions.asp" -->

sorry...<
Postet den
Average Member
modifichicci
Innlegg: 787
787
Others little errors detected:
in pop_warning.asp
add at the top after the others include:

<!--#INCLUDE FILE="inc_header_short.asp" -->

in admin_warn_members.asp
at line 84
" <td valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & Call Paging() & "</font></td>" & vbNewline & _
"</tr></table>"
put
Call Paging() inside " "
it became like this:


" <td valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & "Call Paging()" & "</font></td>" & vbNewline & _
"</tr></table>"


Zip updated!<
Postet den
Junior Member
JBaldwin
Innlegg: 137
137
Postet den
Average Member
modifichicci
Innlegg: 787
787
I have updated the zip to correct some bugs in admin_warning, pop_warning and pop_warn_message. Now the formatting is shown properly and it works from admin page also.
The JS issue isn't solved, but it works in quite all forums we have installed this mod. <
Postet den
Junior Member
TonyB7
Innlegg: 267
267
Just in case this is something I might be interested in, what exactly does this mod do? I mean, what am I 'warning' members about?<
Postet den
Junior Member
JBaldwin
Innlegg: 137
137
I believe its intention was to WARN members who abuse the forum rules, use bad language etc. It inserts a "WARNING: ! " below the avatar of the offending member. Anyone can click on the exclamation point icon to view the entire warning given by the ADMIN or the MOD. You can see my demo in my forum here:

http://www.absolutelyfreerolls.com/forum/forum2/topic.asp?TOPIC_ID=873<
Postet den
Average Member
modifichicci
Innlegg: 787
787
There was a little bug in sending mail:
if you have formatted the message, it was sent with the code tag.
Now I have modifyed pop_warn_membermail.asp and a little modification to inc_mail, so if there is a html code a html mail is sent.
It works with cdosys, but it can be adapted to others system, I think.
ZIP UPDATED<
Postet den
Support Moderator
Shaggy
Innlegg: 6780
6780
As there seem to be a good few glitches in this, I've moved it to the "W/O Code" forum for now.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Postet den
Postet den
Starting Member
Pull My Finger
Innlegg: 43
43
Originally posted by modifichicci
Any feedback?
First I like to say "Thank You" modifichicci!
IM using SHN forum code and just installed this 2 days ago. So far it's working GREAT!
There was a few things that I had to fix... 1- Fixed the Javascript Error as per JBaldwin thread in the Help: MOD Implementation forum. I to was getting that Javascript Error also and I removed lines 13,14,15,16, and 17 on inc_warning_functions.asp. That fixed the problem for Me!
2- On pop_warning_message.asp the following text was in another lang... Nome Membro:
Icona ammonizione:
Messaggio ammonizione:
Chiudi finestra
I Corrected to... WARNING MESSAGE:
Member Name:
Warning Level:
Warning Message:
Close Window

3- On admin_warning.asp when "setting" a warning to a member from the admin section on my forums the following text would show up 2 times...Warning set - Sent email to Member!. On admin_warning.asp I comment out line 81

4- On admin_warn_delete.asp when "removing" a warning to a member from the admin section on my forums the following text would show up 3 times...Warning removed! - Sent email to Member. On admin_warn_delete.asp I comment out lines 57 and 106


That's about it! I made a few personal changes for my site such as adding a openWindow function just for the mod itself so the text don't wrap for my members in popups who have their Screen Resolution set to 800x600, I Made the pop windows wider. Also a few minor personal changes to look better with SHN forum code

Thanks again modifichicci!
<
Du må legge inn en melding