vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - [OzzModz] ACP Authentication (https://vborg.vbsupport.ru/showthread.php?t=312555)

Alan_SP 09-21-2014 12:22 AM

Quote:

Originally Posted by ahobilam (Post 2515607)
Can you suggest any other Mod for this purpose?

Create usergroup with admin privileges allowed, but give them only access to users' options when you put someone in that usergroup. Would this be OK for you?

ahobilam 09-21-2014 05:36 AM

Thanks for the response.
I tried with Admin privileges,
but it is allowing for everything but not allowing to edit the user profile.
https://dl.dropboxusercontent.com/u/...ermissions.jpg

alcazarx 09-21-2014 06:48 PM

Quote:

Originally Posted by LLent (Post 2515923)
hey ozzy any chance you can make this individual so each admin can put there own password for this ???

Me is not ozzy, but maybe allowed to answer too :rolleyes:

It would be possible, even without an extra login like this nice, awesome mod (*hint hint*).
Have seen this in an old CMS where Administrators had 2 passwords, one for the frontend and one for backend.
So theory is, to add another password field in the db (can be NULL or '' or something for non-admins) and change the login-function to check if user wants to login to ModCP/AdminCP, if yes use the second password field for authentication.
This password could be changed in the UserCP (only displayed for Mods/Admins).

Thanks.

Alan_SP 09-21-2014 08:34 PM

Quote:

Originally Posted by ahobilam (Post 2515987)
Thanks for the response.
I tried with Admin privileges,
but it is allowing for everything but not allowing to edit the user profile.

Maybe I wasn't clear in my explanation.

You need to create new usergroup. This usergroup should have admin privileges set to yes, i.e. like you made new type of admins.

After that, when you promote someone into this usergroup, give it only access to certain areas of ACP. Some areas goes by default, but many don't.

I didn't meant to suggest that you edit permissions already allowed to supermoderators. Also, there's permission for making certain usergroup supermoderator usergroup. In same group of permissions you make admin's usergroup. Actually, in that group of permissions there are only these two options.

DreadsUK 10-27-2014 11:52 AM

If i've lost the password, where can i find it in the ftp? thanks

ozzy47 10-27-2014 12:11 PM

Note: If you forget the username or the password, or have a problem logging in, just add the following to the includes/config.php right below the <?php tag :
PHP Code:

define('DISABLE_HOOKS'true); 

Then you can assess your ACP, and make the necessary adjustments to the mods settings, then remove that line from the includes/config.php

Note: If you have never edited your includes/config.php before, please read this first, Editing Your config.php File

DreadsUK 10-27-2014 12:12 PM

Quote:

Originally Posted by ozzy47 (Post 2520214)
Note: If you forget the username or the password, or have a problem logging in, just add the following to the includes/config.php right below the <?php tag :
PHP Code:

define('DISABLE_HOOKS'true); 

Then you can assess your ACP, and make the necessary adjustments to the mods settings, then remove that line from the includes/config.php

Note: If you have never edited your includes/config.php before, please read this first, Editing Your config.php File

thats already in there for some reason. still wont let me access without the password tho :(

ozzy47 10-27-2014 12:17 PM

Then it is not from this mod, you must have some other authentication going on.

But you can check the setting table, the settings, ozzmodz_secure_acp_username
and ozzmodz_secure_acp_password

DreadsUK 10-27-2014 06:15 PM

Quote:

Originally Posted by ozzy47 (Post 2520218)
Then it is not from this mod, you must have some other authentication going on.

But you can check the setting table, the settings, ozzmodz_secure_acp_username
and ozzmodz_secure_acp_password

managed to remember the password and it is this mod.

at the top of config is says this

Code:

<?php
//define('DISABLE_HOOKS', true);


ozzy47 10-27-2014 06:18 PM

Well yeah, the two // means that line is commented out, thus not disabling your mods. :)


All times are GMT. The time now is 03:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01233 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete