News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

vWarn Mod

Started by Valodim, September 12, 2005, 08:30:40 PM

Previous topic - Next topic

Valodim

I'm sorry I didn't reply, had some troubles with my pc :P

uploading a new version in a few minutes, including the warn button. also, the "Warn User" is no longer shown for guests' posts, expiry dates < 0 are shown as 0 in warn user dialogue to avoid confusion, and an option for the auto-unwarn delay is available in features and options.

scs: works fine for me. any error log entries (like "can't open stream")? does it show this line in the uninstall steps?

1. Execute Code vWarnDBu.php


mrandall131: just gave it a try and took a look at the code, it should all be working just fine. you sure you're using the latest version, the warning group still exists, etc, etc?

mrandall131

Yep, I thought I was.  I'll uninstall and grab this latest version later. 

J. Williams

Encountered a problem

The button shows up twice

And heres a big error log

  Scs   Today at 06:07:26 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?topic=3.new 
8: Undefined index: can_warn
File: /home/southcha/public_html/Community/Themes/default/Display.template.php (eval?)
Line: 401

   Scs   Today at 06:07:20 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=packages;sa=uninstall2;package=vWarn_111.05.tar.gz 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:07:16 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=packages;sa=uninstall;package=vWarn_111.05.tar.gz 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:07:13 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=packages 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:07:10 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=admin 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:07:05 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?topic=3.new 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:58 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?topic=3.new 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:56 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:54 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=profile;u=1;sa=theme 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:53 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=theme;sa=pick;u=1;th=1;sesc 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:51 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=theme;sa=pick;u=1;sesc 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:50 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=profile;u=1;sa=theme 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:47 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?action=profile 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:36 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php?topic=3.new 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

   Scs   Today at 06:06:34 PM 
81.97.89.10     453bb465e0976cd01c594b8f9fdbb2b7 
http://www.southchaddertonschool.jxhosting.co.uk/Community/index.php 
8: Undefined variable: modSettings
File: /home/southcha/public_html/Community/Sources/Security.php
Line: 231

Joshua Jon Williams
Back in Action.

Valodim

aw I'm sorry, forgot to put $modSettings into the global vars in the unwarn routine for the mod file. fixed (no new version, only 5 people downloaded by now) :)

Quote
The button shows up twice

8: Undefined index: can_warn

you sure it got uninstalled and installed correctly? those are two errors which shouldn't occur on a proper install.  ::)

made the can_warn thingie more failsafe, anyways...

xd3vilx

i got this error while install the mods...

QuoteDatabase Error

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate latin1_general_ci NOT NULL,
`valid` tinyint(4) NOT
File: /home/ddren09/public_html/forum/Packages/temp/vWarnDB.php
Line: 13

J. Williams

Search the post for anwsers
Joshua Jon Williams
Back in Action.

xd3vilx

i found the reason...my host is using SQL v 4.0.25-standard... :'(

VxJasonxV

I read back on page 4  that you made this mod 1.1 rc1 compatible on the 22nd, but I'm still having problems.

I just removed 1.03 and added 1.05, and I'm still getting the same error as before.
Quote from: The Permissions PageYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '< 0
ORDER BY minPosts, IF(ID_GROUP < 4, ID_GROUP, 4), groupName' at line 3
File: /home/.taily/rhythmatic/rhythmatic.net/forums/Sources/ManagePermissions.php
Line: 201

J. Williams

Jason

Uninstall the mod,
Look for managepermissions template in the default theme
Delete the template
If so,go in to cpanel,find the template that looks the same but with ~ on the end
Rename it to original & there you go

If still not solved,do this!
Go into sources folder
Delete the managepermissions.php
Look for the same file with a ~ on the end
Rename the ~ one to original file
Joshua Jon Williams
Back in Action.

Valodim

#69
damn, why is that error back?! I fixed it before adding 1.1rc support >_<

anyways, fixed.

uploading a sql4.0 version in a moment, could you tell me if that one works, then? I'd prefer not having to downgrade my mysql just to test that. thanks :)

VxJasonxV

Looks good, thanks Valodim!

cotdagoo

seems to install fine on mysql 4.0.x now!

I had a few errors when installing about not being able to open/copy the gif files from the temp dir, but everything else was smooth.

Valodim

yeah that seems to be a bug in 11rc, it can't get the files extracted right. couldn't find a way around that yet :(

cotdagoo

#73
any luck on the unwarn user bug? I had a moderator test the function on himself, and well we can't seem to unwarn him, even though the log says unwarned. edit: it seems to unwarn the user for the time being, but seems the warning is re-set after a couple hours.

really appreciate all the work you've done with this mod :)

Valodim

#74
aaah, that's it! a'ight, I know 'sup now, thanks. I'll fix it later this day.

\\ edit

FIXED. thank you very much. the "warn user" routine didn't invalidate the old entries, and the auto-unwarn routine processed old entries, too, giving back old warnings. should work now. minor but important. :D

improved modlog-link, too. anything else I could do for you? ;)

J. Williams

Joshua Jon Williams
Back in Action.

mrandall131

#76
The unwarning seems to work in 1.1 RC1 for me.

Gary

Can you create more than 3 warning levels? coz I want to have 7 different levels. That do various things.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

J. Williams

Go into membergroups in admin section & add them
Joshua Jon Williams
Back in Action.

Gary

One more question, is it compatable with SMF 1.1 RC 1?
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Advertisement: