FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » 2.6.x Recent posts list with date and time
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: 2.6.x Recent posts list with date and time [message #20659 is a reply to message #20655] Sat, 23 October 2004 11:44 Go to previous message
Wild_Cat is currently offline  Wild_Cat   Ukraine
Messages: 144
Registered: November 2002
Location: Odessa, Ukraine
Karma:
Senior Member
Abraxa, this is me who is not familiar with bit operations (if you read my previous panic questions about it)! Very Happy At least hasn't been until yesterday.

What you say was about what I was thinking at first, but counting that it is possible (even if not commonly logical) to make permissions visible=0 and readable=1 means you will get in this case 3 with your code!

I mean, if you have
10
&
10
--
11

or did I get the operation meaning wrong?

I thought it's just safer to be independent from visible if I move one bit right and only take into account readable permission.


Lady of Avalon

[Updated on: Sat, 23 October 2004 12:00]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extra User Info
Next Topic: Email Participation patch
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 09:48:25 GMT 2024

Total time taken to generate the page: 0.04546 seconds