T O P I C R E V I E W |
modifichicci |
Posted - 17 June 2006 : 08:52:39 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" />< |
15 L A T E S T R E P L I E S (Newest First) |
furk |
Posted - 11 October 2006 : 06:30:53 Would be nice the option to set via admin panel if send email, PM...or both...< |
modifichicci |
Posted - 07 October 2006 : 16:04:54 Next days... I'll give a look at it.< |
Simko |
Posted - 07 October 2006 : 15:26:47 Thanks for answering modifichicci. The user will see the PM earlier than the E-mail (most of them just delete such E-mails and never read them...). Yeah, you are right, if the user doesn't come the the forum, he doesn't read the PM, but then theres no need to read the warning, if he doesn't come back ever :-) Would be nice if you can write a script for that.< |
modifichicci |
Posted - 07 October 2006 : 15:16:04 It's not to change, we have to write the code to send PM to user... It's not quite difficult, but it needs time..
But why Pm and not email? If user doesn't come in forum he doesn't read the pm...< |
AnonJr |
Posted - 07 October 2006 : 12:50:35 Just a helpful hint, if you need us to look at a file (as opposed to a relatively small chunk of code) its usually considered good etiquette to post a link to a .txt version of the file instead of posting the entire contents...< |
Simko |
Posted - 07 October 2006 : 11:46:00 Thanks, I've installed the mod, but I'm pretty new to this... sorry :-) What do I have to change here
________________
Thanks AnonJr... I really don't know what to change, even it is only a "relatively small chunk of code", if I knew it, I wouldn't post in here and asking for help... < |
modifichicci |
Posted - 07 October 2006 : 05:06:35 You have first to install the PM mod, and then to modify the code of inc_warnmembers_email.asp to set for a PM..< |
Simko |
Posted - 07 October 2006 : 04:04:23 I'll install this mod to the newest version of snitz forums which I'm currently modify. I'd like to send the warning via PM, not E-mail, cause via PM the User will recognice earlier. Could someone maybe give me the codes for the sites I need there to send the warning via PM?< |
modifichicci |
Posted - 17 July 2006 : 13:32:19 The same for me...< |
AnonJr |
Posted - 17 July 2006 : 12:21:01 Thanks for the clarification. Now I need to copy that down somewhere before my short-term-memory-thing kicks in... < |
Shaggy |
Posted - 17 July 2006 : 05:13:22 quote: Originally posted by AnonJr I'll double check, but I think the option "message" is being used when it is sent back to the browser and the option "sqlstring" is for when the text is inserted into a SQL String...
"sqlstring" is used when insterting a string in the database, "message" is used to parse any forum code in a string when adding it to the database. For the most part, "display" will be used when writing values from the database with seperate function (formatstr) used to parse any additional forum code.
< |
modifichicci |
Posted - 15 July 2006 : 12:31:14 Done zip updated, thanks.
Change txtMessage = ChkString(Request.Form("strWarnMessage"),"message")
to txtMessage = ChkString(Request.Form("strWarnMessage"),"sqlstring")
both in admin_warning and pop_warning < |
AnonJr |
Posted - 15 July 2006 : 11:04:33 Hmmm. Never noticed it... in other areas items that are being passed to the SQL String are checked like I put above, but the message isn't in that particular case.< |
AnonJr |
Posted - 15 July 2006 : 11:01:22 I'll double check, but I think the option "message" is being used when it is sent back to the browser and the option "sqlstring" is for when the text is inserted into a SQL String...< |
modifichicci |
Posted - 15 July 2006 : 10:52:18 Yes you are right, but that string is quite sure i think as only administrator or moderator can write.. but i'll change it ( but in post_info message is checked with txtMessage = ChkString(Request.Form("Message"),"message") )< |