Marcel's code provided feed for public forums only. I am taking that one step further with the attached extension, which allows distribution of private forum content to authorized users only. In order to only serve up the topics to which the user has access, my RSS Config page offers each user a custom RSS link, which looks something like
rss.asp?memberid=1&key=a387wo3n
where the key is an excerpt from the middle of their encrypted password as stored in their member record. When rss.asp runs, if it finds a match between the user number and the middle excerpt of the key, then it uses a customized chkForumAccess function to return a array of allowed forums. Thus, instead of using F.F_PRIVATEFORUMS = 0 I build a string that results in something like F.FORUM_ID IN (3,6,13,19,24). Thus, each user gets a custom display of forums to which they have access.
This also provides a small help and terms page to familiarize users with RSS.
Thanks to Marcel for the initial script that gave me the idea, and give him appropriate credit for coding the initial rss.asp file!!
Version 1c - updated rss.asp file to RSS 2.0 standard, incorporated change to SQL to accomodate MySQL and SQL Servers, corrects a minor error.
Report a problem
Loading...
Post a Review
Loading...
Deleting a MOD
You have selected to delete this MOD.
This will also remove ALL related MODFiles
If this was the action that you wanted to do,
please confirm your choice, or cancel and return
to the page.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=56247
Marcel's code provided feed for public forums only. I am taking that one step further with the attached extension, which allows distribution of private forum content to authorized users only. In order to only serve up the topics to which the user has access, my RSS Config page offers each user a custom RSS link, which looks something like
rss.asp?memberid=1&key=a387wo3n
where the key is an excerpt from the middle of their encrypted password as stored in their member record. When rss.asp runs, if it finds a match between the user number and the middle excerpt of the key, then it uses a customized chkForumAccess function to return a array of allowed forums. Thus, instead of using F.F_PRIVATEFORUMS = 0 I build a string that results in something like F.FORUM_ID IN (3,6,13,19,24). Thus, each user gets a custom display of forums to which they have access.
This also provides a small help and terms page to familiarize users with RSS.
Thanks to Marcel for the initial script that gave me the idea, and give him appropriate credit for coding the initial rss.asp file!!
Version 1c - updated rss.asp file to RSS 2.0 standard, incorporated change to SQL to accomodate MySQL and SQL Servers, corrects a minor error.