Author |
Topic |
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 January 2001 : 13:18:39
|
I'll have to get back on this later, been tied up all day, and hav to go baby sitting now, but will sort later.
'Resistance is futile' |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 January 2001 : 16:16:36
|
I have mailed you my post_info, showing the bits you need.
'Resistance is futile' |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 18 January 2001 : 16:41:28
|
HuwR... I'm using your Mod Com. and when I turn on PM it will not stay...
Any Club where "I" Messed up?
You can check it out on my site.. www.eastpasco.com
Thanks, Rick
My Demo Site www.eastpasco.com
Edited by - rick7165 on 18 January 2001 16:42:01 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 January 2001 : 16:59:11
|
quote:
HuwR... I'm using your Mod Com. and when I turn on PM it will not stay...
Any Club where "I" Messed up?
You can check it out on my site.. www.eastpasco.com
Thanks, Rick
My Demo Site www.eastpasco.com
Edited by - rick7165 on 18 January 2001 16:42:01
download this file [url="http://195.149.32.155/tools/fix_modtable.txt]fix_modtable.asp[/url]
copy to your forum directory, and open it in your browser, this will delete and reinsert the records in FORUM_MODS.
If you still get problems enabling the mods after this, mail me your config.asp file
'Resistance is futile' |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 18 January 2001 : 17:41:07
|
Huw... I didn't work I did something better... Check your mail.
Let me know what I've done wrong.. I'm really working hard to learn this, but the brain is not working well today.
Thanks, Rick
My Demo Site www.eastpasco.com |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 19 January 2001 : 04:40:47
|
Huw, Are you trying to drive me nuts ?
I got that post_info.asp file that you sent me but the one you sent me previously was very different.
This new one seems to require filed on FORUM_FORUM called F_HIDDEN and F_PASSWORD_NEW.
I am on SR2 and these fields do not exist on the database. I am now so confused that I can't understand what you have sent me?
And what is this new field? Request.Form("HideForum")
And a side question also - When a forum is edited or removed, where is the corresponding code for updates and deletes from FORUM_ALLOWED_MEMBERS? It is done I assume (somewhere?).
btw - Good morning..
KatsKorner
Edited by - kat on 19 January 2001 04:41:57 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 January 2001 : 04:55:26
|
Kat,
I only sent the file to show you where the deletion code goes, you should be able to work out where to put it from that. the calls to the functions should be clearly marked.
'Resistance is futile' |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 19 January 2001 : 04:57:17
|
So in other words, I can use the functions but don't change the database calls fom what i already have?
KatsKorner
|
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 19 January 2001 : 05:03:16
|
quote:
Huw, Are you trying to drive me nuts ?
I was only kidding btw...
KatsKorner
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 January 2001 : 05:11:51
|
quote:
So in other words, I can use the functions but don't change the database calls fom what i already have?
KatsKorner
That should be fine, after the inserts and updates, there should be an error trap, just put the function calls in the else part of the statement, so it only runs if the forum posted ok
'Resistance is futile' |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 19 January 2001 : 05:16:35
|
Ok I have done that.
All seems fine so far except that when i delete the whole forum, it doesn't remove the records from the FORUM_ALLOWED_MEMBERS table.
Also, it doesn't delete a member when you edit a forum and remove them from the list. HAVE FOUND WHY - JUST NEED TO WORK OUT A FIX. It doesn't actually remove the user from the AuthUsers form. Instead it deletes the user you asked to be removed but the form isn't initialised and so the users get added again, except the ones that were left in this list get duplicated.
so if you have a userlist of 1,2,3 initally and you remove user 2, you get a userlist of 1,2,3,1,3 instead. Then you end up with FIVE record on the database insted of two...
KatsKorner
Edited by - kat on 19 January 2001 05:22:48
Edited by - kat on 19 January 2001 05:32:12 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 January 2001 : 05:53:56
|
That's odd, because the updatecode should delete the list first, then re create it.
'Resistance is futile' |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 January 2001 : 05:56:13
|
Ok, mine does it too, odd, never used to, I'll see if I can get to the bottom of it
'Resistance is futile'
Ok, One of my sites does it, the other works ok, I am just checking the diff, I think one is using my original code, but the other is using the code that was included with Snitz.
Edited by - huwr on 19 January 2001 05:59:03 |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 19 January 2001 : 06:05:59
|
Ok..
I was thinking that somehow, the list is not getting initalised somewhere because the request.form("AuthUsers") thinks it has more values than it should - contains both the old and new values.
KatsKorner
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 January 2001 : 06:14:52
|
Even odder, the code is identical on bothe sites? but one seems ok the other does as you describe.
'Resistance is futile' |
|
|
Topic |
|