quote: if MemberID=-1 then 'If guest, update based on IP strSql = strSql & "WHERE AU_IP = '" & Chkstring(strUserIP, "SQLString") & "' " & _ "AND MEMBER_ID = " & MemberID else 'Update members based on MemberID strSql = strSql & "WHERE MEMBER_ID = " & MemberID & " AND MEMBER_ID <> " & intAdminMemberID end if my_conn.execute (strSql) else 'Is a new user, make new record If strLoginStatus = 0 AND MemberID <> intAdminMemberID then
but I'm wondering if I can use 2 specific member id`s and what do I need to change to achieve this please. The pieces in red are for hiding super superadmin on active users, can this be changes to use 2 specific member id`s instead?
I haven't tested this, but something like this might work:
quote: & " AND ((MEMBER_ID <> " & yourMemberID1) OR (MEMBER_ID <> yourMemberID2))
and the other part AND ((MEMBER_ID <> " & yourMemberID1) OR (MEMBER_ID <> yourMemberID2))
yourMemberID1 and yourMemberID2 should be the two member id's you want to hide.
You posted this in the wrong forum, Help: General / Current Version (v3.4.xx) is only for base code help. This should have been posted in the MOD Add-On Forum (W/O Code) instead.
quote:You posted this in the wrong forum, Help: General / Current Version (v3.4.xx) is only for base code help. This should have been posted in the MOD Add-On Forum (W/O Code) instead.
Sorry about that, its just the other topic regarding the a similar thing was in this section also. Thanks for your help regards the above, its much appreciated
EDIT: couldn't get it work with the above so have done the below and all works fine now with 2 member Id`s thanks again
quote:& " AND MEMBER_ID <> " & yourMemberID1 & " AND MEMBER_ID <> " & yourMemberID2 and the other part AND MemberID <> yourMemberID1 AND MemberID <> yourMemberID2