Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
tourniqu3t
Regular
Regular



Joined: Jan 16, 2009
Posts: 91

PostPosted: Mon Apr 15, 2013 8:45 pm Reply with quote

How to add users moderator and get them in moderator group
 
View user's profile Send private message
tourniqu3t







PostPosted: Wed Apr 17, 2013 11:34 pm Reply with quote

*bump* Does anyone know how to do this? The user's name supposes to show green name too.
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu Apr 18, 2013 12:03 am Reply with quote

are you referring to "groups moderator"? It's been awhile since I messed with that, but I think you have to be logged in as the moderator group "moderator" and then click on usergroups within the forums. then add other mods. There is a way to add them in the forums acp as well (user admin - permissions)
 
View user's profile Send private message Visit poster's website
tourniqu3t







PostPosted: Thu Apr 18, 2013 10:27 am Reply with quote

Yes, I am referring to "groups moderator". I put my other user as "test" in usergroups. Then I logged into test and go in forums. My user doesn't show green name. It doesn't look like it has no powers.

And also I tried to add test via User Admin -> permissions. I put all forums as "Is moderatored"

I received the error message like this

Code:
Could not obtain moderator status


DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.us' at line 3

SELECT ug.user_id, COUNT(auth_mod) AS is_auth_mod FROM nuke_bbauth_access aa, nuke_bbuser_group ug WHERE ug.user_id IN () AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.user_id

Line : 561
File : admin_ug_auth.php


And I tested on user level and changed from user to administrator. It doesn't work too. administrator level is not really moderator. right?
 
spasticdonkey







PostPosted: Thu Apr 18, 2013 10:57 am Reply with quote

There is a "fix group" script in the distro:
UtilityFiles/DBFixes/

Sounds like you may need to run it, but there are some other posts about it if you search the forums; which I might look at first.
 
tourniqu3t







PostPosted: Thu Apr 18, 2013 12:50 pm Reply with quote

Do I just upload fix group.php and open that file via webpage?
 
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1548

PostPosted: Thu Apr 18, 2013 1:02 pm Reply with quote

Load it in the module folder of 'Forums' and then execute it from this folder.

_________________
Github: RavenNuke 
View user's profile Send private message
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Thu Apr 18, 2013 1:09 pm Reply with quote

Yes... it's a forums thingy. argggg.

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
tourniqu3t







PostPosted: Thu Apr 18, 2013 1:40 pm Reply with quote

Which folder do I have to place it in? There is more than one folder "Forums".
 
neralex







PostPosted: Thu Apr 18, 2013 2:28 pm Reply with quote

module folder of 'Forums' = /modules/Forums/
 
tourniqu3t







PostPosted: Thu Apr 18, 2013 6:11 pm Reply with quote

I placed it in there. I have to execute this file by typing [ Only registered users can see links on this board! Get registered or login! ] right?

If yes, I received the message like this

Code:
You can't access this file directly...
 
tourniqu3t







PostPosted: Fri Apr 19, 2013 12:22 am Reply with quote

*bump* I believe that it's fixed. You are right about placing fixgroup.php in /modules/Forums/fixgroup.php

But you forgot to say that I should type the hyperlink like this after I place the file in /modules/Forums/

Code:
 http://www.yoursite.com/modules.php?name=Forums&file=fixgroup 


That should be executed after you type or copy that in url.

Note: You must log in your main accounts as site admin and GOD before you try to execute fixgroup.php.
 
tourniqu3t







PostPosted: Mon Apr 22, 2013 7:10 pm Reply with quote

spasticdonkey wrote:
are you referring to "groups moderator"? It's been awhile since I messed with that, but I think you have to be logged in as the moderator group "moderator" and then click on usergroups within the forums. then add other mods. There is a way to add them in the forums acp as well (user admin - permissions)


I noticed that user admin - permissions doesn't make the username into green username when I add the username as the moderator on the forums. It only works great with group Admin -> Permissions.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©