Members Menu
Navigation
Home
What is SnitzBitz?
MODs
Articles
Forums

Site Stats
Active Users
   Members  0
   Guests  4
Page Views
   Today  647
   This Month  15295
   This Year  504420


 MODsRSS Feed Extensions   Add A File To RSS Feed Extensions

RSS Feed Extensions
No Files For This MOD Found

RSS Feed Extensions Addon's
MOD Version: 1c  
Forum Version: 3.4
Author: gelliott
Uploaded: 7/8/2005 7:44:52 AM
Rating:
Votes: 1
Download Count: 1144
Download Now
This set of files is based on the rss.asp file written by Marcelgoertz (way to go Marcel!!) and posted at

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.
 Write A Review  |  Read Reviews  |  Report Error/Update



© 2002 - 2008 SnitzBitz.com. All Rights Reserved.
Designed by Brad & Hosted by the Snitz community while Powered by Snitz Forums 2000