Welcome, Guest. Please Login or Register.
July 07, 2024, 11:41:13 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  admin « previous next »
Pages: [1] Reply Ignore Print
Author Topic: admin  (Read 1865 times)
rinspeed
Noobie
*
Posts: 23


I'm lost duhhh!!

WWW
admin
« on: November 20, 2003, 09:00:30 AM »
Reply with quote

I would like the globalmoderator to have access to a small admin module, in wich they can see the users, and control the groups/catagories users have access to.

to explain this:

a user visits the forum as a guest. They see a limited part of the board (1 catagory), after registration they still see the same, only they can post in it.
after aproval, they are allowed to see another 2 catagories and are able to post in it also.

and on request they are allowed to see the special member catagory (with all the cooking recipe's)

So the global moderators don't need to change the catagies, they only need to be able to change the group the user belongs too.

Now I have to give them full admin rights to do this. (very scary, since I don't even know what everything means)

this is the forum currently online:
www.ruitenberg.org/forum/

Rinspeed
Logged

dunno, what's that??
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:admin
« Reply #1 on: November 20, 2003, 02:42:55 PM »
Reply with quote

This shouldn't be too hard... just have to give global mods the ability to edit profiles so that they can change member groups.  The rest of that you can do with categories and setting them visible only to certain member groups, and making sure that guest posting is turned off.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Ayeka
Jr. Member
**
Posts: 80


Good & Evil, there is never one without the other.

WWW
Re:admin
« Reply #2 on: November 20, 2003, 05:22:40 PM »
Reply with quote

That one is easy.  Open up your Sources\Profile.php in notepad or something

Look for this:  (near the very beginning of the file)


   $user=urldecode($user);
   if ($username != $user && $settings[7] != 'Administrator')
      fatal_error($txt[80]);


and replace it with the following:


   $user=urldecode($user);
   if ($username != $user && $settings[7] != 'Administrator' || $settings[7] != 'Global Moderator')
      fatal_error($txt[80]);


That should give Global Mods and Admins the rights to modify profiles. :)
Logged

--Ayeka
Master of the purple!
HAHAhahahahahaha!
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:admin
« Reply #3 on: November 20, 2003, 05:46:21 PM »
Reply with quote

Quote from: Ayeka on November 20, 2003, 05:22:40 PM
That one is easy.  Open up your Sources\Profile.php in notepad or something

Look for this:  (near the very beginning of the file)


  $user=urldecode($user);
  if ($username != $user && $settings[7] != 'Administrator')
     fatal_error($txt[80]);


and replace it with the following:


  $user=urldecode($user);
  if ($username != $user && $settings[7] != 'Administrator' || $settings[7] != 'Global Moderator')
     fatal_error($txt[80]);


That should give Global Mods and Admins the rights to modify profiles. :)

It takes a bit more than that, actually...

Have you looked at the Global Moderator Center mod?

-[Unknown]
Logged
rinspeed
Noobie
*
Posts: 23


I'm lost duhhh!!

WWW
Re:admin
« Reply #4 on: November 20, 2003, 07:50:30 PM »
Reply with quote

Ehh,

this means I have to edit the code of the application.

I'm not really good at that. I'm a bit afraid to edit, because I might goofy it up.

I did not look at any mod regarding this issue.

Should I?

I wil give it a look.

Rinspeed
Logged

dunno, what's that??
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:admin
« Reply #5 on: November 20, 2003, 09:21:50 PM »
Reply with quote

Be careful though, if you give global mods the ability to edit membergroups, they may be able to promote themseloves or others to admin status, unless you carefully take that out
Logged
rinspeed
Noobie
*
Posts: 23


I'm lost duhhh!!

WWW
Re:admin
« Reply #6 on: November 27, 2003, 08:25:29 PM »
Reply with quote

Why is it not working
Logged

dunno, what's that??
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  admin « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.059 seconds with 21 queries.