Sub Menu
Links Menu
Online Users

In total there are 235 users online :: 2 registered, 0 hidden and 233 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

Mod Powers

Mod Powers

PostAuthor: viragotech » Sun May 13, 2012 5:07 pm

Is there any way to give mods the power to see the email address of users and or also search for members via email???

seems to be only admins can do or see that.

always someone who can't rembmer their username or info and searching by email address is the easiest way but only Im allowed to do that.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

PostAuthor: Helter » Tue May 15, 2012 9:17 am

are they Global Moderators with full mod permissions? Do you want to allow them user administrative permissions?
Under ACP/USERS AND GROUPS/Groups' Permissions
choose "Global moderators"
under "Select type:" choose "Admin Permissions" "Go" then "Advanced Permissions"
Under the "Users AND Groups" tab choose "can manage users" = yes

then you can watch the moderator log to see if the permissions are ever abused
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Mod Powers

PostAuthor: viragotech » Tue May 15, 2012 1:04 pm

no I don't want them to have full admin rights, but I see no reason why mods aren't allowed to see email addresses or search by them?

they can IP search, which lets them find lost accounts most time but not email.

xxxx.com/memberlist.php?mode=searchuser&sk=c&sd=d
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

PostAuthor: Helter » Tue May 15, 2012 3:52 pm

im sure there is a setting for that but I cant find it atm.
For now since mods have perms to search via ip but guests and bots do not,
OPEN root/ALL ACTIVE STYLES/template/memberlist_search.html

FIND
Code: Select all
<!-- IF S_EMAIL_SEARCH_ALLOWED -->

REPLACE WITH
Code: Select all
<!-- IF S_IP_SEARCH_ALLOWED -->


now anyone with permission to search via ip will have access. This should only be Global Mods and Admins
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Mod Powers

PostAuthor: viragotech » Tue May 15, 2012 5:18 pm

Do i need to use a special editor?

you warnd me once about editing file for some reason or such with this IM3

thanks dude ;)
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

PostAuthor: Helter » Tue May 15, 2012 6:51 pm

you only need to be concerned when editing language files as they have to be utf8 w/o bom and should use linux line endings. Template files can be edited with any editor.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Mod Powers

PostAuthor: viragotech » Wed May 16, 2012 12:23 pm

so close but its not working 100%, they can now see that search line, and they can search by email, but it shows 100s of results for a said email where there should only be 1.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu May 17, 2012 1:58 pm

Create a new group (something like Mods)...
Make your moderators part of this group...
Get the new group_id ( in this sample code I am using 8 as the group ID)
Edit the code to allow this group to see the email address while searching members...

Notes:
Not sure if ($user->data['group_id']) returns the default group ID, if so you may have to make this the default group for all moderators...

In: memberlist.php (it should already be part of this code assuming phpBB3, so the edit above may refer to IM?)
Find:
Code: Select all
'S_EMAIL_SEARCH_ALLOWED'=> ($auth->acl_get('a_user')) ? true : false,
and change to:
Code: Select all
'S_EMAIL_SEARCH_ALLOWED'=> ($auth->acl_get('a_user')) ? true : false || $user->data['group_id'] == 8,


To allow them to see email addresses in other areas you would need to modify the php code...
Probably something like find 'S_EMAIL_SEARCH_ALLOWED' ... and add to following code to the logic criteria...
Code: Select all
 || $user->data['group_id'] == 8


Note also this edit may simply allow viewing of members email address, I don't see any code to search by email, so this would need to be added...

If the member has forgotten their username and wants to find out what it was, we might have to edit the 'Forgot My Password' code to allow email address in place of username. It is very common to allow a user to login in with either Username or Email these days...
Last edited by Michaelo on Thu May 17, 2012 5:40 pm, edited 12 times in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: Michaelo » Thu May 17, 2012 2:17 pm

@Helter, your edit above should already be part of the normal memberlist_search.html code in phpBB3, so are you referencing IM here?
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: Mod Powers

PostAuthor: viragotech » Thu May 17, 2012 8:25 pm

Yea, a forgot my info and only needing to input an email address would be a great solution.

that one thing people don't forget ;)
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu May 17, 2012 9:28 pm

There is an actual mod for it... http://www.phpbb.com/customise/db/mod/p ... via_email/
It might be the best way to go...
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: Helter » Thu May 17, 2012 11:02 pm

Michaelo";p="40122 wrote:@Helter, your edit above should already be part of the normal memberlist_search.html code in phpBB3, so are you referencing IM here?


no, i just changed the template switch since there was no acp setting to allow mods to search users via email
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Mod Powers

PostAuthor: viragotech » Fri May 18, 2012 8:50 am

Well its sort of up to Helter to the best course of action to take, since he often has to hold my hand while we cross the street so to speak when it comes to modding and changing things ;) [Can't ever thank him enough]

I don't want to make his job any harder.

Maybe in the next updates to IM3 you could remove the need to input your username to get sent your full info.

you know on the lost password page, you just have to give your email address and it sends you both your username and password.

don't really need folks to be able to log in via email.

but just be able to use email to request their full account info.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

PostAuthor: Helter » Fri May 18, 2012 4:00 pm

the mod is really simple so I installed it for you. The only issue I see is that you still need your username and email only to request a new password, but they can now login using only their email and password
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Mod Powers

PostAuthor: viragotech » Mon May 21, 2012 1:32 pm

Cool, thanks.

Another small annoyance, have they come up with a thread title prefix mod yet?

when people find or figure out a problem with their motorcycle, we ask them to go back and edit the title to say (SOLVED)

don't ask me whey, but only about 20% can actualy do that right, and it drives the mods nuts.

Even though I made it so simple, just hold shift and type, but so many just don't get it.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 10:30 am
Cash on hand: 0.00

Next

Return to IntegraMOD3 Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot]

cron