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

Home » FUDforum » FUDforum Installation Issues » Anon has all privs.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Anon has all privs. [message #17334] Fri, 26 March 2004 13:27 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Something very wierd going on with my FUD now.

Even users not logged in have all privs. Have I messed something up converting from phorum?

My groups settings are attached.


FYI: Forum Version: 2.6.1

[Updated on: Fri, 26 March 2004 14:20]

Report message to a moderator

Re: Anon has all privs. [message #17351 is a reply to message #17334] Fri, 26 March 2004 19:45 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
Wrong group manager, you need to look @ the one linked to from the front page.

FUDforum Core Developer
Re: Anon has all privs. [message #17385 is a reply to message #17351] Sun, 28 March 2004 01:14 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Ah, Here is the other group manager.index.php?t=getfile&id=1058
Re: Anon has all privs. [message #17390 is a reply to message #17385] Mon, 29 March 2004 00:58 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
The settings you are showing me are particular to the forum/group shown, is this the same forum where anon users have extra privileges?
Re: Anon has all privs. [message #17391 is a reply to message #17390] Mon, 29 March 2004 01:40 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Same settings on all forums and same problems across the board.

Pais.
Re: Anon has all privs. [message #17393 is a reply to message #17391] Mon, 29 March 2004 13:47 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
I think I know what could be the problem, try running the following queries and tell me what output do you get.

SELECT users_opts & (1048576|524288) FROM fud_users WHERE id=1;
SELECT count(*) FROM fud_mod WHERE user_id=1;

(change fud_ to whatever sql prefix you are using).
Re: Anon has all privs. [message #17395 is a reply to message #17393] Mon, 29 March 2004 13:55 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
I figure this out last night. I've been working up the courage to say what I did Sad

I ran a script on my forum db to convert DNS->IP then added:
$m->ip_addr = $obj->host;

And modified the Name to be the alias:
'".addslashes($obj->name)."',


The part that makes me an idiot is I (don't know why) changed.
q("DELETE FROM ".$DBHOST_TBL_PREFIX."users WHERE id>1");
to
q("DELETE FROM ".$DBHOST_TBL_PREFIX."users WHERE id>0");

Doh! I haven't run your sql, but I'm assuming that's what I did wrong Sad


The good news is I may pester you less now, the forums are up on my site using FUD Smile

Re: Anon has all privs. [message #17396 is a reply to message #17395] Mon, 29 March 2004 14:10 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Changing that query resulted in the removal of anon user, which will certainly prevent anon access to the forum, but also solve your problem.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: system has ran out of disk space
Next Topic: Spaces in logins.
Goto Forum:
  

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

Current Time: Thu Sep 19 02:47:49 GMT 2024

Total time taken to generate the page: 0.02349 seconds