Mod Powers

Mod Powers

PostAuthor: viragotech » Sun May 13, 2012 6: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
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Helter » Tue May 15, 2012 10: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: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Tue May 15, 2012 2: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
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Helter » Tue May 15, 2012 4: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
<!-- IF S_EMAIL_SEARCH_ALLOWED -->

REPLACE WITH
<!-- 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: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Tue May 15, 2012 6: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
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Helter » Tue May 15, 2012 7: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: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Wed May 16, 2012 1: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
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu May 17, 2012 2: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:
'S_EMAIL_SEARCH_ALLOWED'=> ($auth->acl_get('a_user')) ? true : false,
and change to:
'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...
 || $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 6: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
Images: 0
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: Michaelo » Thu May 17, 2012 3: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
Images: 0
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: Mod Powers

PostAuthor: viragotech » Thu May 17, 2012 9: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
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu May 17, 2012 10: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
Images: 0
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: Helter » Fri May 18, 2012 12:02 am

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: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Fri May 18, 2012 9: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
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Helter » Fri May 18, 2012 5: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: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Mon May 21, 2012 2: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
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Mod Powers

PostAuthor: Helter » Mon May 21, 2012 5:42 pm

ive not seen a mod like that. I know Michaelo was using a "Fixed" Topic icon
You do not have the required permissions to view the files attached to this post.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Thu Jun 07, 2012 11:33 pm

Think I asked once before but how do you edit the top of the page menu items?

Id like to ditch the chat and replace it with google+

https://plus.google.com/u/0/106212513726926489709

Image
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Helter » Fri Jun 08, 2012 12:24 am

with IM3 youll have to edit the file directly. forum root/styles/proSilver/template/overall_header.html
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Fri Jun 08, 2012 1:17 pm

Sweet,

where do I find the chat icon to change it and or add a google + one?

User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Mod Powers

PostAuthor: Helter » Fri Jun 08, 2012 7:32 pm

buttons.css
/* Icon images
---------------------------------------- */
.sitehome, .icon-chat,


colors.css
/* Icon images
---------------------------------------- */
.sitehome                  { background-image: url("{T_THEME_PATH}/images/icon_home.gif"); }
.icon-chat                  { background-image: url("{T_THEME_PATH}/images/icon_chat.gif"); }
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Mod Powers

PostAuthor: viragotech » Sat Jun 09, 2012 12:08 am

I can't find it in the prosilver folder, or main image icon folders, less IM blind ;)
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

PostAuthor: Helter » Sat Jun 09, 2012 7:25 pm

it is in styles/prosilver/theme/
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4527
Likes: 37 posts
Liked in: 104 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,802.95
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD3 Support Forum

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot], Vendethiel