<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1040952" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1040952</link>
    <description></description>
    <language>en</language>
          <item>
    <title>If it&#039;s a messaging system</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/transferring-data-between-pages#comment-1229422</link>
    <description> &lt;p&gt;If it&#039;s a messaging system you made on your site, I made one of these recently.&lt;br /&gt;
I simply made a blocked list and friends list for members.&lt;/p&gt;
&lt;p&gt;So they could set their own message system to be one of three things:&lt;br /&gt;
1) Recieve all, could block certain users&lt;br /&gt;
2) Recieve only from friends, user sending had to be on reciepient&#039;s friends list&lt;br /&gt;
3) Block all, only admin/mods could send this person a message&lt;/p&gt;
&lt;p&gt;1, 2 and 3 are a set label in each users row in the DB table - allow_all, friends and block_all (DB field named messagetype)&lt;br /&gt;
Default upon registration is allow_all. &lt;/p&gt;
&lt;p&gt;Then the queries are in if else. So for example -&lt;br /&gt;
If $row[&#039;messagetype&#039;] == &quot;allow_all&quot; - then check sender is not on blocked list, if yes then tell sender is blocked for this user, else allow message to be sent&lt;/p&gt;
&lt;p&gt;you get the idea&lt;br /&gt;
It is a little tricky, but not hard to check for the correct things depending on what the user has their messaging preferences set to.&lt;/p&gt;
 </description>
     <pubDate>Tue, 01 Apr 2008 09:05:58 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1229422 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I see what you mean, at the</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/transferring-data-between-pages#comment-1229411</link>
    <description> &lt;p&gt;I see what you mean, at the moment users can view any profile and send a message to a user (not using that users email because it&#039;s not displayed, messages go to the message table. I&#039;m guessing I would need a friends list or some sort of privacy setting that users could use to control who can send them a message?&lt;/p&gt;
 </description>
     <pubDate>Mon, 31 Mar 2008 17:47:52 +0000</pubDate>
 <dc:creator>drew22299</dc:creator>
 <guid isPermaLink="false">comment 1229411 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Adding to what pr0gr4mm3r</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/transferring-data-between-pages#comment-1229406</link>
    <description> &lt;p&gt;Adding to what pr0gr4mm3r wrote, do you allow anyone send messages to anyone?&lt;/p&gt;
&lt;p&gt;What I&#039;m asking (and I &#039;think&#039; is what pr0gr4mm3r was getting at) for what reasons (or under what circumstance) would you NOT want a certain user to send another user an email?&lt;/p&gt;
&lt;p&gt;If users have access to all profiles, and therefore all email addresses as they are in the profiles, maybe it is not a problem?&lt;/p&gt;
 </description>
     <pubDate>Mon, 31 Mar 2008 13:54:28 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1229406 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>What kind of users can</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/transferring-data-between-pages#comment-1229403</link>
    <description> &lt;p&gt;What kind of users can messages be sent to?&lt;/p&gt;
 </description>
     <pubDate>Mon, 31 Mar 2008 13:09:08 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1229403 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
