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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Add Usergroups to Private Forums RSS Feed 2.0 Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

skwayb
Starting Member

17 Posts

Posted - 02 September 2005 :  17:00:24  Show Profile
I am trying to add the usergroup mod security to gelliot's privae forum version of the RSS feed. I am adding this code.


'#######    Begin UserGroup MOD     #######
	strDeniedForums = Session(strCookieURL & "DeniedForums" & MemberID)
	if strDeniedForums <> "" and strDeniedForums <> "-1" then
		strSql = strSql & " AND F.FORUM_ID NOT IN(" & Session(strCookieURL & "DeniedForums" & MemberID) & ") "
	end if
'#######     End UserGroup MOD      #######


behind this in the rss.asp
strSql = strSql & strAllowedForums


So it looks like this


strSql = strSql & " WHERE T.FORUM_ID = F.FORUM_ID"
strSql = strSql & strAllowedForums
'#######    Begin UserGroup MOD     #######
	strDeniedForums = Session(strCookieURL & "DeniedForums" & MemberID)
	if strDeniedForums <> "" and strDeniedForums <> "-1" then
		strSql = strSql & " AND F.FORUM_ID NOT IN(" & Session(strCookieURL & "DeniedForums" & MemberID) & ") "
	end if
'#######     End UserGroup MOD      #######
if Request.QueryString("FORUM_ID") <> "" then
	strSql = strSql & " AND T.FORUM_ID = " & cLng(Request.QueryString("FORUM_ID"))
end if


I am having a brain freeze. I am sure there is more I need to mod to make it work. I don't even think those I can pass those variables to the Usergroup since they probably not available to select since inc_header.asp isn't included. Gelliott or anyone else have any ideas? Would be a sweet addition to the mod.







Edited by - skwayb on 02 September 2005 17:00:40
  Previous Topic Topic Next Topic  
 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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07