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

Home » FUDforum » How To » Actions List.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Actions List. [message #17506] Thu, 01 April 2004 16:51 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member

Is there a way to remove non logged in people from the actions list?

Pais.
Re: Actions List. [message #17507 is a reply to message #17506] Thu, 01 April 2004 16:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hack the code.

FUDforum Core Developer
Re: Actions List. [message #17508 is a reply to message #17507] Thu, 01 April 2004 17:18 Go to previous message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
I did. And I admit I'm a tube Smile I did this:

43,45d42
< if ($r[1] < 2) {
< continue;
< }



I assumed $r[1] was the users ID and anon was set to 1. This assumption has proved wrong. $r[0] is the action $r[2] is the forum id, $r[1] is I don't know, well when it's anon I don't. It appears to be some large number. So, this works:

if ($r[1] > 2000000000) {
continue;
}

Just incase anyone was intrested.

Pais.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: add a site navigator on the left of each page.
Next Topic: Session Id in URL and Cookies
Goto Forum:
  

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

Current Time: Fri Nov 22 14:35:10 GMT 2024

Total time taken to generate the page: 0.02018 seconds