Author |
Topic |
davea
New Member
61 Posts |
Posted - 01 May 2001 : 18:55:53
|
That line BTW is this
<td bgcolor="<% =strCategoryCellColor %>" colspan="<%=sGetColspan(6, 5)%>">
Is ther any way to undo these data base changes ?? :/
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 May 2001 : 19:25:02
|
Add this function to your inc_functions.asp
Function sGetColspan(lIN, lOUT) if (strShowModerators = "1") Then lOut = lOut + 1 If (mlev = "4" or mlev = "3") then lOut = lOut + 1 If lOut > lIn then sGetColspan = lIN Else sGetColspan = lOUT End If End Function
|
|
|
davea
New Member
61 Posts |
Posted - 01 May 2001 : 19:43:03
|
That worked =) I did not get the mod working but i got the forums working again, which is a bonus at least =).
With that chnage that should make the mod work also right?
|
|
|
hevnsnt
Starting Member
USA
10 Posts |
Posted - 01 May 2001 : 20:02:48
|
Worked Great for me! I just entered the *******BAN IP MOD****** info where it needed to go.. works great.. thanks
|
|
|
davea
New Member
61 Posts |
Posted - 01 May 2001 : 20:33:50
|
umm the forum works ok, but it just does nto seem to working , the idiots are still registering and spamming away =)
|
|
|
pr0c
Starting Member
1 Posts |
Posted - 04 May 2001 : 21:43:58
|
I installed it, everything is ok, but when i ban people it does nothing, not even to myself!
|
|
|
e3stone
Average Member
USA
885 Posts |
Posted - 06 May 2001 : 18:49:00
|
You have to go into your Admin Options and turn the ban feature on. I wouldn't recommend banning yourself to test it, unless you have an access db and can download it to delete your ip from the banned ip field.
<-- Eric -->
http://insidewaco.com |
|
|
adamch25
Starting Member
USA
22 Posts |
Posted - 08 May 2001 : 11:27:05
|
I had the same problem and here is how I got it to work...just go into the admin options and turn off both settings and hit apply. Then turn them back on again and hit apply. For some reason they default to showing on the first time you go in, even though they are off/null. I could write a fix for this, but I don't feel like it
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 17 May 2001 : 02:24:40
|
quote: I had the same problem and here is how I got it to work...just go into the admin options and turn off both settings and hit apply. Then turn them back on again and hit apply. For some reason they default to showing on the first time you go in, even though they are off/null. I could write a fix for this, but I don't feel like it
hmmm, that shouldn't be. I'll look into it.
|
|
|
Adul
Starting Member
37 Posts |
Posted - 18 May 2001 : 13:38:28
|
quote:
quote: I had the same problem and here is how I got it to work...just go into the admin options and turn off both settings and hit apply. Then turn them back on again and hit apply. For some reason they default to showing on the first time you go in, even though they are off/null. I could write a fix for this, but I don't feel like it
hmmm, that shouldn't be. I'll look into it.
Solved my problm to. Anyway to add a redirect in the next version? maybe a list of urls that can be inputed into the database and it would randomly redirect this user to another site.
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 18 May 2001 : 18:13:37
|
quote: Anyway to add a redirect in the next version?
Why? I wouldn't want someone to redirect me to another site when I try to go to thier forum. I prefer they tell me that I am banned. How would they know that they are banned if you redirect them?
They only thing I would think of adding is the ability to have a customizable ban message.
|
|
|
nicr0s
Starting Member
17 Posts |
Posted - 04 June 2001 : 20:38:31
|
Davio - I think I have encountered a new error and was wondering if you could help (of if anyone else could).
Here's the story.
Lets say you ban 5 unique IP's (so all fields of the admin_ban_ip.asp page are filled in.
Usually you would have no problems as you cant insert anymore ip's on that page. BUT if you ban an IP from any other page using the BAN IP button it inserts that extra IP in. When you go to the admin_ban_ip.asp page it then displays an error. Im assuming that this is because it cant deal with the extra value in the db?
Think you could maybe increase the max number of bannable IP's and ranges to 20 or so? I have no clue how to do this :)
Please help! my messege board is being flooded to ****!
|
|
|
nicr0s
Starting Member
17 Posts |
Posted - 04 June 2001 : 21:27:38
|
Davio - I think I have encountered a new error and was wondering if you could help (of if anyone else could).
Here's the story.
Lets say you ban 5 unique IP's (so all fields of the admin_ban_ip.asp page are filled in.
Usually you would have no problems as you cant insert anymore ip's on that page. BUT if you ban an IP from any other page using the BAN IP button it inserts that extra IP in. When you go to the admin_ban_ip.asp page it then displays an error. Im assuming that this is because it cant deal with the extra value in the db?
Think you could maybe increase the max number of bannable IP's and ranges to 20 or so? I have no clue how to do this :)
Please help! my messege board is being flooded to ****!
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 04 June 2001 : 21:33:49
|
Thanks for pointing out that bug. I'll find a fix for that.
But for your predicament, why are you banning so many ip's? ALong with the "Email Random Password" mod and the "Require Unique Email Address" option set to On, you don't have to be banning so many ip's. When the user registers an email is sent to thier email address with the password. If thier email is not valid they will not get the password to login. If the email address is valid and they flood the forum, you can lock thier account. If they try to register again, they have to use a different email address to get the password. Don't know how many email addresses one user can have.
And if they get past that system, then you have the ban ip option.
|
|
|
nicr0s
Starting Member
17 Posts |
Posted - 04 June 2001 : 21:43:35
|
Davio - i installed the IP banning before I knew of the random e-mail passwords. I will have to get the Cdonts working on the server im using before I go any further with that one. Im new to asp so its been a learning experience over the past few months. :)
thought i would point that one out though as it caught me totally off guard. The industry that my website targets is generally mislead youth riding bikes... as you can imagine they love causing trouble!
|
|
|
Topic |
|