﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Personal " Ignore"  list</title><link>http://www.aspplayground.net/forum/</link><description /><copyright>(c) ASP Playground Support Forum</copyright><ttl>30</ttl><item><title> RE: RE: Personal " Ignore"  list (Saud)</title><description>  Hi gene, &lt;br&gt;   &lt;br&gt;  4000?! Who would need that much space for a signature?! &lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s2.gif" alt="" /&gt; You are just too generous I guess &lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s3.gif" alt="" /&gt; &lt;br&gt;   &lt;br&gt;  I know you have modified your copy of ASPGD .. but still it can work as an example in the vertical alignment of the mebers details section. &lt;br&gt;   &lt;br&gt;  The other two things (display message URL &amp; block/unblock) were pointed out to recommend them for the next update. I think you are doing a good job at your forum. </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373951</link><pubDate>Fri, 16 Aug 2002 22:05:36 GMT</pubDate></item><item><title> RE: Personal " Ignore"  list (gene)</title><description>  Hi Saud, &lt;br&gt;   &lt;br&gt;  Careful on using my forum as an example... we' ve modified a few things, including the display message URL and signature length (4000 characters -- EGADS!  But let' s see somebody complain about not having enough sig room NOW! &lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s4.gif" alt="" /&gt;) &lt;br&gt;   &lt;br&gt;  Gene &lt;br&gt;   </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373950</link><pubDate>Fri, 16 Aug 2002 21:57:45 GMT</pubDate></item><item><title> RE: Personal " Ignore"  list (Saud)</title><description>  Samuel, &lt;br&gt;   &lt;br&gt;  I just visited Gene' s forum. I liked the " Display Message URL"  option .. and the block/ublock icons next to the member name. &lt;br&gt;   &lt;br&gt;  Also, I noticed in the same forum, that " Member Details"  is vertically centered rather than being top vertically. For members with longer than average signatures the display of members details is not quite right.  Check this member' s profile for example. &lt;a href="http://www.tcoyf.com/forum/showProfile.asp?memid=16010" target="_blank"&gt;http://www.tcoyf.com/forum/showProfile.asp?memid=16010&lt;/a&gt; </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373947</link><pubDate>Fri, 16 Aug 2002 17:59:44 GMT</pubDate></item><item><title> RE: RE: Personal " Ignore"  list (Samuel)</title><description>  Thanks Gene for your demonstration! I will add this feature in our version 1.9&lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s1.gif" alt="" /&gt;. </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373944</link><pubDate>Fri, 16 Aug 2002 14:54:23 GMT</pubDate></item><item><title> RE: Personal " Ignore"  list (gene)</title><description>  Yes, I' m using cookies and it was easy to do, your code is easy to follow.  Here' s what changed: &lt;br&gt;   &lt;br&gt;  &lt;b&gt;session.asp:&lt;/b&gt; Immediately after you retrieve the mem ID, I call a create-cookie function that' s in a separate include file that we use for our custom functions.  The create-cookie function pulls data from a new stored procedure that lists everyone in the user' s block list and writes the data into a cookie using a delimited string. &lt;br&gt;   &lt;br&gt;  &lt;b&gt;address.asp:&lt;/b&gt; Added two new " case"  statements for your " mode"  querystring variable: block, unblock.  The " block"  code simply calls an existing stored procedure to add a user to the block list, the " unblock"  code runs a " delete"  SQL statement.  These case statements also call the create-cookie function and rewrite the ignore cookie.  I also call my create-cookie function to rewrite the cookie when a user adds/removes someone from his list via the address book (in your other case statements). &lt;br&gt;   &lt;br&gt;  &lt;b&gt;tt.asp:&lt;/b&gt; I check the mem ID of the poster against the delimited cookie string, if it' s found, I alert the user by displaying &lt;font size="1"&gt;&lt;b&gt;&lt;font color="#FF0000"&gt;***ignored***&lt;/font&gt;&lt;/b&gt;&lt;/font&gt; above their name in the message list.  Everything else in tt.asp remains as it was. &lt;br&gt;   &lt;br&gt;  &lt;b&gt;tm.asp, m.asp:&lt;/b&gt; I compare each message' s mem ID with the cookie string and if the ID is in the block list, I blank the avatar, the location, the signature, etc. and replace the body variable with a message telling them the user is on their ignore list and provide a hyperlink to unblock.  I also created two icons (&lt;img src="http://www.tcoyf.com/forum/image/block.gif" /&gt; and &lt;img src="http://www.tcoyf.com/forum/image/unblock.gif" /&gt;) that display next to the user name in avatar area of the post that serve as on-the-fly methods to add/remove members on a user' s block list (by calling &lt;i&gt;address.asp?mode=block&amp;mem=nnnn&lt;/i&gt; and &lt;i&gt;address.asp?mode=unblock&amp;mem=nnnn&lt;/i&gt;).  Here' s what it looks like: &lt;br&gt;   &lt;br&gt;  &lt;div align="center"&gt;&lt;img src="http://www.tcoyf.com/forum/image/blocked_example.gif" /&gt;&lt;/div&gt; &lt;br&gt;   &lt;br&gt;  Gene </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373942</link><pubDate>Fri, 16 Aug 2002 11:09:46 GMT</pubDate></item><item><title> RE: RE: Personal " Ignore"  list (Samuel)</title><description>  Nice work! So you just store everything in cookies? Was it easy to write for you? &lt;br&gt;   &lt;br&gt;  Last time you asked for report abuse enhancements and now the ignore list. &lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s2.gif" alt="" /&gt; I guess it would be a good idea to switch off that " Debate it"  forum. </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373931</link><pubDate>Thu, 15 Aug 2002 23:03:31 GMT</pubDate></item><item><title> RE: Personal " Ignore"  list (gene)</title><description>  Thanks for the suggestion about using the existing " Block List"  -- I went ahead and did it, it works well.  I couldn' t wait for 1.9, too many " Report Abuse"  messages hammering away at me everyday &lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s5.gif" alt="" /&gt;.  Perhaps I should just get rid of the " Debate It!"  forum... &lt;br&gt;   &lt;br&gt;  Gene </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373930</link><pubDate>Thu, 15 Aug 2002 20:54:32 GMT</pubDate></item><item><title> RE: Personal " Ignore"  list (Samuel)</title><description>  thanks Gene for this suggestion. This can be done by integrating the block list in address book, and store the member ID in cookies (session variable is not a good idea here) &lt;br&gt;   &lt;br&gt;  I will think about this and see if I can put it into our 1.9 feature list. &lt;br&gt;   &lt;br&gt;  Thank you again! </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373928</link><pubDate>Thu, 15 Aug 2002 15:50:52 GMT</pubDate></item><item><title> Personal " Ignore"  list (gene)</title><description>  Hi Samuel, &lt;br&gt;   &lt;br&gt;  Let' s create a hypothetical situation: &lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s4.gif" alt="" /&gt; a forum has one particular user that drives the rest of the members *nuts* but is within the limits of the rules and the site admin doesn' t want to ban the user because of the furor that would erupt (" censorship"  accusations from supporters, etc.) &lt;br&gt;   &lt;br&gt;  The only practical solution is to implement a personal " ignore"  list for each member to maintain.  The hypothetical forum admin can do this on his own, but this might be a really cool feature to have in ASP-PGD. &lt;br&gt;   &lt;br&gt;  BTW, since performance is an issue for the hypothetical forum, the ignore feature would need to be implemented using a cookie or session variable (you' re the performance pro, you tell me which is better &lt;img src="http://www.aspplayground.net/forum/upfiles/smiley/s2.gif" alt="" /&gt;). &lt;br&gt;   &lt;br&gt;  It might work like this: &lt;br&gt;   &lt;br&gt;  1) User logins to site, check to see if they have the " ignore"  feature enabled in their profile. &lt;br&gt;   &lt;br&gt;  2) If " ignore"  is enabled, concatenate the users (with either the member ID or username) in the ignore table into a single delimted string (ie. " #username1##username2##username3#" , etc.) and save as a cookie or session variable. &lt;br&gt;   &lt;br&gt;  3) When user visits tt.asp, if they have the ignore feature enabled in their profile, compare each member name/ID with the ignore list before writing the HTML.  If " #username1#"  is found, then print " IGNORED: "  next to their username.  Keep the link to the topic. &lt;br&gt;   &lt;br&gt;  4) When an ignored user' s topic is found in tm.asp or m.asp, show the message with the user' s name, NO avatar, and put this in the message area:  &lt;br&gt;   &lt;br&gt;  &lt;blockquote class="quote"&gt;&lt;div style="width:50%;font-weight:bold; padding-bottom:4px;"&gt;&lt;/div&gt;This user is on your ignore list and the text is blocked. &lt;br&gt;   &lt;br&gt;  &lt;a href="http://foo.com" target="_blank"&gt;Click here to remove them from your ignore list and display this post&lt;/a&gt;. &lt;br&gt;   &lt;br&gt;  &lt;a href="http://foo.com" target="_blank"&gt;Click here to turn off the ignore feature and display this post (you can turn it back on later within your profile)&lt;/a&gt;.&lt;/blockquote&gt; &lt;br&gt;  Whadya think? &lt;br&gt;   &lt;br&gt;  Thanks, &lt;br&gt;   &lt;br&gt;  Gene </description><link>http://www.aspplayground.net/forum/fb.ashx?m=373921</link><pubDate>Thu, 15 Aug 2002 10:31:49 GMT</pubDate></item></channel></rss>