Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 UserGroups v1.0 BETA2
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 10

redbrad0
Advanced Member

USA
3725 Posts

Posted - 10 July 2004 :  19:07:16  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
What is line 117 say of your admin_usergroups.asp file?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 10 July 2004 :  19:15:52  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I just installed this MOD and either I have something not setup right or maybe the MOD needs a small tweak.

Seniro:
Created a bunch of forums with the following settings...
1. Admins Only
2. Admins & Moderators
3. Users
4. Whatever
When you are not a registered member you are able to access all of the forums to read them. This is not good if you want to just have a section for your admin & moderators.

Fix:
This is not saying this is the best fix, but with some simple test's it seems to work. Create a group called Non Registered Users and set the group options to Hidden from members and hidden from moderators. Now you need to open the database and in table USERGROUP_USERS where you set the USERGROUP_ID to the ID number of the Non Registered Users you created and the MEMBER_ID to -1 with the MEMBER_TYPE to 1. What this does it allow you to select which forums you want Non Registered users to be able to view, or deny them access to.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

se99paj
Starting Member

17 Posts

Posted - 11 July 2004 :  12:54:29  Show Profile
redbrad, sorry I didn't get back to you sooner, I've been a little busy so couldn't get to a computer.

I have fixed the problem that I mentioned earlier but I have a new one, and I think its to do with this modification.

I am unable to get the search link to work it only works for the administrator. here is the error message

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'chkForumAccessNew'

/gc2004/forum/search.asp, line 180


I read earlier that there was a similar problem to this but when I did the change it completely killed my forum so I had to change them back, line 180 for search.asp is.

if chkForumAccessNewForum(Forum_PrivateForums,Forum_FPasswordNew,Forum_Subject,Forum_ID,MemberID) = true then
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 11 July 2004 :  13:36:29  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
quote:
Originally posted by se99paj


if chkForumAccessNewForum(Forum_PrivateForums,Forum_FPasswordNew,Forum_Subject,Forum_ID,MemberID) = true then



chkForumAccessNewForum is not a function (well not of mine. You need to search all your files to make sure that is a valid function or sub of your forum. I know that chkForumAccessNew is a valid function.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

se99paj
Starting Member

17 Posts

Posted - 11 July 2004 :  17:51:00  Show Profile
I did not do any changes for the usergroup modification, as it was my first mod I just replaced the existing files with the ones in the zip file.

Could the two functions actually be meant to be just one function and the two are both being used for the same thing.

The thing is this problem does not occur when testing on my laptop only when it has been uploaded onto the server??
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 11 July 2004 :  21:50:24  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Do a search do you have a function or sub called chkForumAccessNewForum

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 12 July 2004 :  06:41:12  Show Profile
quote:
Originally posted by redbrad0

I just installed this MOD and either I have something not setup right or maybe the MOD needs a small tweak.

Seniro:
Created a bunch of forums with the following settings...
1. Admins Only
2. Admins & Moderators
3. Users
4. Whatever
When you are not a registered member you are able to access all of the forums to read them. This is not good if you want to just have a section for your admin & moderators.

Fix:
This is not saying this is the best fix, but with some simple test's it seems to work. Create a group called Non Registered Users and set the group options to Hidden from members and hidden from moderators. Now you need to open the database and in table USERGROUP_USERS where you set the USERGROUP_ID to the ID number of the Non Registered Users you created and the MEMBER_ID to -1 with the MEMBER_TYPE to 1. What this does it allow you to select which forums you want Non Registered users to be able to view, or deny them access to.

Wouldn't it just be easier to make it a private forum? Then no one can read except those you assign to it.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 12 July 2004 :  08:33:58  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Hummmm I guess that would be easier. I guess I was thinking you could do it this way so that way you can specify what sections you want non members to have access to.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

se99paj
Starting Member

17 Posts

Posted - 12 July 2004 :  12:35:28  Show Profile
I think I must have been going nuts, I have searched through all of the files and cannot find chkForumAccessNewForum I think I typed it wrong.

Sorry!!

At the end of the day though I'm still stuck with the same problem.

I have searched through all of the files and acnnot see any other references to chkForumAccessNew Is this incorrect??? should there only be one reference
Go to Top of Page

Machina
New Member

Switzerland
74 Posts

Posted - 15 July 2004 :  04:40:57  Show Profile  Visit Machina's Homepage
quote:
Originally posted by Nikkol

quote:
Originally posted by redbrad0

Fix:
This is not saying this is the best fix, but with some simple test's it seems to work. Create a group called Non Registered Users and set the group options to Hidden from members and hidden from moderators. Now you need to open the database and in table USERGROUP_USERS where you set the USERGROUP_ID to the ID number of the Non Registered Users you created and the MEMBER_ID to -1 with the MEMBER_TYPE to 1. What this does it allow you to select which forums you want Non Registered users to be able to view, or deny them access to.

Wouldn't it just be easier to make it a private forum? Then no one can read except those you assign to it.


Hi :-)


I needed unregistered surfers to read some of the forums, not all.

I tried your solution. It's exactly what I wanted !

THANKS redbrad0!

Machina
-------
http://www.jaboulay.fr
--------
Snitz based site:
http://www.itu.int/YLinICTs
MODS Used : TMPJ's Header Cell Image, Site Integration, Front Page News, News Events Calendar, Nikkol's Usergroups, Simple Slash, Avatar, File Sharing, Links

Edited by - Machina on 15 July 2004 08:20:03
Go to Top of Page

se99paj
Starting Member

17 Posts

Posted - 15 July 2004 :  10:11:41  Show Profile
I think there is a problem with the usergroup modification, but only if you use the files that have already been modified.

Basically I wanted to install the usergroup mod so I copied and pasted all of the files from the zipped file into the forum diretory, this was my first modification so i thought that wouldn't be a problem.

But the search link does not work when you are not logged in as the administrator.

It is exactly like you guys said the chkForumAccessNew function is not present in the inc_func_secure.asp document. After copying and inserting the function the search link works correctly.

I have no idea if this is the correct way of doing it but it does work??
Go to Top of Page

Hoots
Starting Member

2 Posts

Posted - 25 July 2004 :  14:47:07  Show Profile
is there ne way of displaying the usergroup when you post???
Go to Top of Page

kev0153
Starting Member

14 Posts

Posted - 27 August 2004 :  10:27:27  Show Profile
I would like to use this mod to make a group to exclude one person. However, I have about 1200 memebers and I'm only able to add about 100 members (I get down to the "b's") After that it won't except anymore members. Any ideas?
Go to Top of Page

RedRazor
Starting Member

3 Posts

Posted - 28 October 2004 :  19:51:53  Show Profile
Hey, i know this is a old topic but can anyone help me with this?
'####### Begin UserGroup MOD #######
if isDeniedMember(fForum_ID, UserNum) = 1 then
chkDisplayForum = false
exit function
end if
'####### End UserGroup MOD #######
when every i put it in the snitz 4.4.04 its error out, same thing happens for this one:
'####### Begin UserGroup MOD #######
if isDeniedMember(fForum, UserNum) = 1 then
chkForumAccess = false
if Display then
doNotAllowed
response.end
end if
exit function
end if
'####### End UserGroup MOD #######

Any Ideals?
Go to Top of Page

RedRazor
Starting Member

3 Posts

Posted - 29 October 2004 :  06:21:33  Show Profile
it a typematch error for both
Go to Top of Page
Page: of 10 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07