You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 71 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How to add forum moderator directly into database [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Maerowitz
Nuke Soldier
Nuke Soldier


Joined: Jun 07, 2004
Posts: 22


PostPosted: Sat Sep 17, 2005 11:01 pm Reply with quoteBack to top

I like others get an error due to a bug when I try to add a forum moderator through the control panel. I have been able to add moderators directly into the database by using the following steps. This worked for me but use at your own risk. As always backup your database before making changes.

In table: bbauth_access
1. Browse data then add new row (not new tables but new row of data).
2. group_id = a number that is not currently being used. If you have 1-4 use 5.
3. forum_id = insert the forum number where you would like to add the moderator, this can be found in the forum admin panel or in the url of the forum
4. Fill in the rest of the fields with a 1 for yes or a 0 for no depending on the options you need the moderator to have. Make sure auth_mod is a 1.

In table: bbgroups
1. Browse data then add new row (not new tables but new row of data).
2. group_id = use the same number as you did in bbauth_access step 2.
3. group_type = I used 1 for this field but try 2 if 1 does not work.
4. group_name = A short name for the group.
5. group_description = A short description for the group.
6. group_moderator = 1 (must be a 1)
7. group_single_user = 1 (must use a 1 if this is not a multiple user group)

In table: bbuser_group
1. Browse data then add new row (not new tables but new row of data).
2. group_id = use the same number as you did in bbauth_access step 2.
3. user_id = The user id you want to make a moderator. Can be found in the users table on the users record if you do not know it.
4. user_pending = 0

--- End ---
Find all posts by MaerowitzView user's profileSend private message
tomasdexter
Nuke Soldier
Nuke Soldier


Joined: Apr 26, 2005
Posts: 16


PostPosted: Fri Oct 07, 2005 7:21 pm Reply with quoteBack to top

uhh stuck on step one lol Embarassed i cant browse bbauth_access Mad but this is perfect since i have never been able to make mods cuz of the blank page with permissions
Find all posts by tomasdexterView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Fri Oct 07, 2005 10:25 pm Reply with quoteBack to top

http://www.nukefixes.com/ftopic-1386-30.html#5100

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
tomasdexter
Nuke Soldier
Nuke Soldier


Joined: Apr 26, 2005
Posts: 16


PostPosted: Sat Oct 08, 2005 8:19 am Reply with quoteBack to top

fixgroup.php? that didnt do anything aside from printing out the code on a white page Shocked what is is supposed to do
Find all posts by tomasdexterView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Sat Oct 08, 2005 9:07 pm Reply with quoteBack to top

Are you using a standard text editor? That code should work if you created and executed the php file correctly

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
tomasdexter
Nuke Soldier
Nuke Soldier


Joined: Apr 26, 2005
Posts: 16


PostPosted: Sat Oct 08, 2005 11:31 pm Reply with quoteBack to top

yeah i used notepad and a php editor i have i thought it was weird to..but it didnt work Shocked dunno ill keep trying. but im still not clear what im supposed to do with it Embarassed

*edit* ok i got it. extra space in the copy and paste Very Happy but still dont get what its for
Find all posts by tomasdexterView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Sun Oct 09, 2005 3:00 pm Reply with quoteBack to top

To fix moderator permissions due to missing group entries

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
tomasdexter
Nuke Soldier
Nuke Soldier


Joined: Apr 26, 2005
Posts: 16


PostPosted: Mon Oct 10, 2005 7:48 am Reply with quoteBack to top

ok i cant even get to the screen that changes permissions forum admin/ permissions page is just blank Confused i really have no clue how to fix it
Find all posts by tomasdexterView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Mon Oct 10, 2005 10:33 am Reply with quoteBack to top

Using the latest BBToNuke files? Received any error messages? Anything in your error log?

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
tomasdexter
Nuke Soldier
Nuke Soldier


Joined: Apr 26, 2005
Posts: 16


PostPosted: Wed Oct 12, 2005 3:51 am Reply with quoteBack to top

Module's Version: 2.0.8
Module's Description: phpBB 2.0.7 port by NukeCops
thats current right? all i could find was 2.0.5 in ur downloads and no no error in my error log and no errors on the page its just blank


**edit update**
ok well i got it kinda. i just did it threw the db. but im a little confused on the "group id" portion what is the group id. how come i have several ppl with the same group id. can those be changed to whatever?
Find all posts by tomasdexterView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Wed Oct 12, 2005 11:50 am Reply with quoteBack to top

You'll need to download the BBToNuke upgrades from http://www.nukeresources.com - OR even better, just download the latest Patched files for your version. They will upgrade your forums to BBToNuke 2.0.17

Group id is a permissions thing in the database. Every user and usergroup has their own id. When you're given a permission, it applies to the group id. Thus the user permissions and the usergroup permissions can use the same system. Usually the error happens when there is no group id created when a user registers in phpNuke. Thus the fixgroup script to solve this

I can confirm that latest BBToNuke files work. I'm not confirm this for older versions.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
tomasdexter
Nuke Soldier
Nuke Soldier


Joined: Apr 26, 2005
Posts: 16


PostPosted: Thu Oct 13, 2005 3:17 am Reply with quoteBack to top

ok awesome ur a genius lol i been playing with this and posting for months and that upgrade fixed it finally Laughing
Find all posts by tomasdexterView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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 vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.212 Seconds - 302 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::