The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Hello,
Is there a MOD that lets you prevent certain people from posting in certain forums?
I know theres the allowed member list option, the problem is I want people to be able to read the topics in this forum even when they are not loged in, but only allow certain people to reply.
Every member of my forum has a title, could I use that varable to control who can post?
Thanks in advance!<
Is there a MOD that lets you prevent certain people from posting in certain forums?
I know theres the allowed member list option, the problem is I want people to be able to read the topics in this forum even when they are not loged in, but only allow certain people to reply.
Every member of my forum has a title, could I use that varable to control who can post?
Thanks in advance!<
Last edited by leesh695 on 07 March 2008, 10:23
Posted
You will want to use the usergroups mod and modify it so they are the only ones allowed to post. I am not sure if there is any other way.<
Posted
Is there a Command I could use that auto redirects or stops the page loading?
I want somthing like..
If Forum_ID = 1 and membertitle is not A or B or C or D then Either Stop page loading or autoredirect
I have this that muzishun and anonjr helped me with in my inc_header, allowing me to use MemberTitle as a variable.
If mLev > 0 Then
strSql = "SELECT M_TITLE FROM " & strMemberTablePrefix & "MEMBERS WHERE MEMBER_ID = " & MemberID
set rsMTitle = Server.CreateObject("ADODB.Recordset")
rsMTitle.open strSql, my_Conn
MemberTitle = rsMTitle("M_TITLE")
rsMTitle.close
set rsMTitle = nothing
End If<
I want somthing like..
If Forum_ID = 1 and membertitle is not A or B or C or D then Either Stop page loading or autoredirect
I have this that muzishun and anonjr helped me with in my inc_header, allowing me to use MemberTitle as a variable.
If mLev > 0 Then
strSql = "SELECT M_TITLE FROM " & strMemberTablePrefix & "MEMBERS WHERE MEMBER_ID = " & MemberID
set rsMTitle = Server.CreateObject("ADODB.Recordset")
rsMTitle.open strSql, my_Conn
MemberTitle = rsMTitle("M_TITLE")
rsMTitle.close
set rsMTitle = nothing
End If<
Last edited by leesh695 on 07 March 2008, 18:09
Posted
Ok, I have found my own fix to it,
I have included this line in post.asp
if strRqForumID = "" and MemberTitle = "" then response.redirect("")
You just add the correct variables in the ""'s
I made a little asp page like " You cannot post in this topic" works fine for me
<
I have included this line in post.asp
if strRqForumID = "" and MemberTitle = "" then response.redirect("")
You just add the correct variables in the ""'s
I made a little asp page like " You cannot post in this topic" works fine for me
Last edited by leesh695 on 07 March 2008, 21:51
Posted
Glad you got it working
<
Posted
Thanks & Thank you for your suggestion too.
<
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...