Okay heres the new one.. it 1) Puts the Dates into Chronologicl Order of the events added into the Calendar Table and 2) Puts the Dates into Chronological Order for the events added by Threads by the User for the User only.. Still left is to allow more then the User see posts of the group he is in.. I know the Key is $user['U_Groups'] and also $U_Groups and $U_Number of the Users table and $B_Posterid of the Posts table.. since the Posts are assigned by $B_Posterid which if used to query the Users table on the $U_Number will provide you with $U_Groups which you can use to compare to $user['U_Groups'].. other alternative is to enter a new field called $B_Groups in the Posts table and then just compare $B_Groups to $user['U_Groups']
I don't know which will be easier.. I will work further after the Holidays..