Print Page | Close Window

Blocking user in Buddy List

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3460
Printed Date: 01 April 2026 at 4:05pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Blocking user in Buddy List
Posted By: clavi
Subject: Blocking user in Buddy List
Date Posted: 11 June 2003 at 6:47pm

Hello all,

May I know if there is any problem with the blocking
function in the Buddy List? I've added someone in my
Buddy List and blocking her from messaging me. But
I'm still able to receive PM from her. I'm using v7.01.

Thank you in advance.

Clavi.




Replies:
Posted By: pam b
Date Posted: 12 June 2003 at 1:16am
i have the same problem with mine,even with "this member may not message me" i still receive them ?

-------------
regards,pam


Posted By: WebWiz-Bruce
Date Posted: 12 June 2003 at 2:10am

I've looked at the code and found that there is a problem with the Access version as SQL server and Access have different fields for bolleon fields so if you are using the access version change line 195 of pm_post_message.asp from:-

strSQL = strSQL & "WHERE " & strDbTable & "BuddyList.Block = 1 AND " & strDbTable & "BuddyList.Buddy_ID = " & lngLoggedInUserID & " AND " & strDbTable & "BuddyList.Author_ID = " & lngToUserID & ";"

To:-

strSQL = strSQL & "WHERE " & strDbTable & "BuddyList.Block = True AND " & strDbTable & "BuddyList.Buddy_ID = " & lngLoggedInUserID & " AND " & strDbTable & "BuddyList.Author_ID = " & lngToUserID & ";"



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: pam b
Date Posted: 12 June 2003 at 2:19am
thanks Borg

-------------
regards,pam


Posted By: clavi
Date Posted: 12 June 2003 at 4:04am

boRg... you are absolutely a genius!

Thank you so much!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net