Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Hiding specific member id`s in active users
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rasure
Junior Member

289 Posts

Posted - 24 January 2005 :  12:43:21  Show Profile  Visit rasure's Homepage
I've got this to work taken from here http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=49793


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?

Psychic & Spiritual Development Resources

Edited by - rasure on 25 January 2005 15:49:23

masterao
Senior Member

Sweden
1678 Posts

Posted - 25 January 2005 :  17:44:47  Show Profile  Visit masterao's Homepage
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.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 25 January 2005 :  17:59:49  Show Profile  Visit rasure's Homepage
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


Psychic & Spiritual Development Resources

Edited by - rasure on 25 January 2005 20:43:17
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 26 January 2005 :  14:21:53  Show Profile  Visit masterao's Homepage
No problems, rasure. Im glad you got it working.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07