WT Forums

Home | WT Forums | Hogpedia | Warthog blog | Hosted sites
It is currently 02 Apr 2025, 07:10

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 19 Sep 2014, 17:52 
Offline
Board Tech
Board Tech
User avatar

Joined: 02 Dec 2010, 14:17
Posts: 44
Location: LKPR/Prague, Czech Republic, Central Europe
Career field: A-10 Enthusiast
Today, I've recieved word from JackB that some of our users were unable to see subforums once they logged in, but they were able to read everything when logged out.

Root cause of this was that these users were not members of any group in phpBB administration.

Since I didn't now what the extent of this failrue might be, I wrote a PHP script which detects groupless users in phpBB database and gives you SQL commands to fix them by making them a member of the Registred users group.

If anybody else encoutered similar problem on their board, I am attaching the PHP script here. You'd just have to put it into your board's root directory (where the config.php file is) and run it. It is passive, which means it only reads from the database -- it doesn't change anything, you have to manually copy the pre-prepared INSERT commands yourselves to the phpBB database.

It would be also easy to modify and use if someone wanted to add all phpbb users into a group they weren't in before.

Oh, and I apologize to all affected users (there were 16).


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group