News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Select Admin for Notifications

Started by Sarge, May 18, 2007, 09:22:09 PM

Previous topic - Next topic

Sarge

Link to Mod

This mod allows an admin to select only one admin (or another member with proper permissions) to receive notifications regarding new member registrations.

After the mod installation, the member to be notified can be selected in Admin > Registration > Settings tab > "Select administrator to notify" -- the default value is All, which is the default SMF setting.

Version history:
1.2
Applied a workaround for a bug in SMF (versions 1.1.1 and earlier) that can cause text strings to appear at the top of forum pages after uninstall. SMF 1.1.2 and later don't have this issue. From the SMF changelog:

Quote from: changelog.txt
! The package manager wasn't uninstalling "end" searches correctly. (Subs-Package.php)

1.1
Fixed a bug regarding proper permissions.

1.0
First release.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

JungleBunny

Thanks Sarge 8) 8)

Works perfect with 1.1.2

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Rafferty

The Script lines removed ok manually thanks sarge. My version is 1.1.3, installation still doesn't work correctly. On installing, I have a blank Admin/Registration page screen. It has unistalled correctly though. Thanks for your help.
Don't Follow me I got No Idea what I'm Doing

Sarge

Quote from: Rafferty on September 16, 2007, 05:22:34 AM
On installing, I have a blank Admin/Registration page screen.

Are you using the new version (1.2) that I posted to the mod site today? It installs, works and uninstalls fine in all my SMF 1.1.3 forums where I tested it.

Do you have any other mods installed? The best way to fix the issue is to upload all files from the SMF 1.1.3 Large Upgrade package, except for upgrade.php and the two .sql files, to your forum directory on the server. This will remove all mods, so you should uninstall them before doing the upload; after that, you should be able to reinstall all mods.

Or, send me these files: ManageRegistration.php and Subs-Post.php (both from the Sources directory) and Register.template.php from Themes/default/ and I will try to find what's wrong.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

airdance

Installed, works like a charm on my 1.1.3 with TinyPortal. Excellent mod, just what we were looking for. Thanks !  ;)

Davy-D

Hi.

Great mod but I have a problem as follows: the readme states, that:

"This mod adds a select list to allow an admin to select only one admin (or another member with proper permissions) to receive notifications."

How can I grant another member the proper permissions? Which permission needs to be set in order to select ANY specific non-admin member of my board?

Any help is pretty much appreciated.

Thx
Davy

dvk01

could this be updated to give a checklist of admins/ members to receive notifications

I have several forums where some of the admin are involved in registration/welcome to new members & some not and this only allows 1 or all

ccbtimewiz

mm, interesting modification.

Only problem is, I'm able to select any administrator except for myself. Is that normal? x.x

Sarge

Quote from: dvk01 on October 31, 2007, 10:30:37 AM
could this be updated to give a checklist of admins/ members to receive notifications

Good suggestion, I will update it.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Sarge

Quote from: ccbtimewiz on November 10, 2007, 10:14:54 AM
Only problem is, I'm able to select any administrator except for myself. Is that normal? x.x

Is "Administrators" your primary membergroup?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Sarge

Quote from: Davy-D on October 24, 2007, 04:56:27 PM
Which permission needs to be set in order to select ANY specific non-admin member of my board?

It's the moderate_forum permission. Be careful who you give this permission to, it's very powerful.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

ccbtimewiz

Sorry for the late reply, but yes. My default group is "Administrator" (or rather, group 1).

Am I supposed to see myself as one of the users whom can be picked? I made another account and gave them admin rights and I was able to choose that account but not my other, so my account won't show up on any account attempting to edit it.

Is that normal? o.o;

Rafferty

Probably my fault Sarge but I had problems installing with 1.1.3 initially but didn't uninstall it prior to upgrading to 1.1.4. After installing 1.1.4, the mod didn't show up in my mod list so I installed your mod 1.2 over it i think, now i have 3 drop down boxes in the admin menu. I tried uninstalling the mod but the 3 boxes are still there. How do i remove those so i can start over.
Don't Follow me I got No Idea what I'm Doing

dvk01

Any news on an update so we can pick specific ADMINS as I run several forums where there are multiple admins but only 1 or 2 want to be involved in allowing members admission

1 of my forums only allow members that are known to be employed by certain organizations and only 2 people have the access to that list so there is no need for 5 admins to get 20 or 30 emails every day about new member requests

Elysia

Hi Sarge, I have a weird problem with the mod (now using version 1.2 but I tried 1.1 earlier and had the same issue) and wonder if you can help please? 

I have SMF 1.1.4 with 2 admins and 5 global mods. The global mods membergroup has the moderate boards permission. In the registration settings screen dropdown box which appeared after the mod was installed (no errors shown) it shows the 2 admins and only 3 of the global mods. There is no difference between the permissions for the GM<s in the list and the GMs who don't appear in it, and I can't figure out why my other 2 GMs aren't in the list.

Is there perhaps a max size limit on the number of people who can be listed in the dropdown? Any help would be most welcome. Thanks in hope. :)

VistaX

Hey,

I really like this mod. I have set it up so that I recieve all the notifications and I really recommend it to any administrators who want to know all your sites business.

Sarge

Quote from: Rafferty on December 21, 2007, 05:02:33 AM
Probably my fault Sarge but I had problems installing with 1.1.3 initially but didn't uninstall it prior to upgrading to 1.1.4. After installing 1.1.4, the mod didn't show up in my mod list so I installed your mod 1.2 over it i think, now i have 3 drop down boxes in the admin menu. I tried uninstalling the mod but the 3 boxes are still there. How do i remove those so i can start over.

This is the code installed by the mod in Themes/default/Register.template.php:

<tr class="windowbg2">
<th width="50%" align="right">
<label for="admin_to_notify_select">', $txt['admin_to_notify'], '</label> <span style="font-weight: normal;">(<a href="', $scripturl, '?action=helpadmin;help=admin_to_notify" onclick="return reqWin(this.href);">?</a>)</span>:
</th>
<td width="50%" align="left">
<select name="admin_to_notify" id="admin_to_notify_select">
<option value="0"', empty($modSettings['admin_to_notify']) ? ' selected="selected"' : '', '>', $txt[190], '</option>';
foreach ($context['atnmod_admins'] as $atnmod_admin)
echo '
<option value="', $atnmod_admin['ID_MEMBER'], '"', !empty($modSettings['admin_to_notify']) && $modSettings['admin_to_notify'] == $atnmod_admin['ID_MEMBER'] ? ' selected="selected"' : '', '>', $atnmod_admin['memberName'], '</option>';
echo '
</select>
</td>
</tr>


This code is probably present 3 times. Be sure to treat the above as a whole -- some of the lines are quite common in that file.

Download the file via FTP, remove my code, save the file and reupload it; make sure it overwrites the original file.

You will probably have to remove my code from other files too. Find the changes using SMF Package Parser -- make sure you have selected "Operation: Uninstall" and "Show: All Edits".

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Sarge

#18
Quote from: ccbtimewiz on December 06, 2007, 03:17:25 PM
Am I supposed to see myself as one of the users whom can be picked? I made another account and gave them admin rights and I was able to choose that account but not my other, so my account won't show up on any account attempting to edit it.

Quote from: AnneN on January 26, 2008, 11:05:24 PM
There is no difference between the permissions for the GM<s in the list and the GMs who don't appear in it, and I can't figure out why my other 2 GMs aren't in the list.

Check out the notification options for those admins/GMs from their Profile > Notifications and Email > "For topics and boards I've requested notification on, notify me of". If they have selected "Nothing at all," that's why :)

It just makes sense to me to not send e-mail to people who don't want to, therefore they're not selectable.

[edit]
Added quote.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

pinkfreak

Has anyone created a 1.1.4 version of this yet? ???
Thanks

Advertisement: