Seite 1 von 1

Ban user

Verfasst: Di 15.Feb, 2005 10:24
von Blisk
Is it possible to ban user for a certain time, like 2 hours, 5 hours 1 day.....

Verfasst: Di 15.Feb, 2005 10:28
von oxpus
Yes. Look here in the Hacklist or on download section for "Bantron".
And also in the forum "Snippets" for fixes for the mod...

Verfasst: Mi 16.Feb, 2005 08:16
von Blisk
I did install bantron, but now when I click redcard to ban user I get this.

No template file set

DEBUG MODE

Line : 93
File : /html/forum/includes/emailer.php

Verfasst: Mi 16.Feb, 2005 11:12
von oxpus
Hm, the only file this mod will change is the sessions.php.
And there only new entries, no replacements...
There might be an error on the Yellow Card Mod, not within installing the Bantron.

Verfasst: Mi 16.Feb, 2005 11:40
von Blisk
yes I found out, when I BAN user Blisk I get error, when I ban some other there is NO error.

Verfasst: Mi 16.Feb, 2005 15:41
von oxpus
Banning yourself ??? ;)
The red button should not be displayed on the users own posts.
A bug in the Yellow Card Mod?
Attach the viewtopic.php to take a look on this.

Verfasst: Mi 16.Feb, 2005 15:49
von Blisk
not myself, on my forum I have 2 nicks blisk is a test nick, my using nick is bassman.
:D

Verfasst: Mi 16.Feb, 2005 16:12
von oxpus
There's a problem, if there are existing more than one user with the same nickname: The Yellow Card Mod uses the nickname to identify the user, not the unique user id.
So the mod may have a a problem to find the right user and the email is malfunction.
To change this, I must have the mod release you are using to check the files and (if needed) install the mod...

Verfasst: Mi 16.Feb, 2005 16:20
von Blisk
There is not 2 the same nicknames, it is inpossible to register, and the nicknames doesn't have the same mail.
I use the (builded in 1.52) version of yellowcard mod.

Verfasst: Mi 16.Feb, 2005 16:24
von oxpus
Will this error only be displayed on banning this one user?
Really this one only?

Verfasst: Mi 16.Feb, 2005 16:43
von Blisk
yes!
I already tested for other users.
You can test it too.
you can ban Blisk, mama, floki, mačoo.
these are my testnicks :D

Verfasst: Mi 16.Feb, 2005 16:47
von oxpus
Okay, I think we must take a look to card.php...

Verfasst: Mi 16.Feb, 2005 16:55
von Blisk
ok here it is.
I also checked i have 1.4.11 version, latest