3.2 & 3.3 Extensions Database 3.2 / 3.3Email List

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

romaamor
Users
Users
Posts: 24
Joined: 04 Jun 2015, 02:39
    Windows 7 Chrome

Re: Email List

Post by romaamor »

Easier to alter the extension than to explain.

User avatar

uruguayito
Donator
Donator
Posts: 120
Joined: 02 Jul 2015, 19:40
    Windows 8.1 Chrome

Re: Email List

Post by uruguayito »

Very usefull ....
thanks

ask: Do you plan to include the option to export the emails for groups?
Sorry for my bad English. :oops:
I'm a latin american man.
Spanish is my language.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Email List

Post by dmzx »

First post updated

User avatar

zendiver
Users
Users
Posts: 1
Joined: 11 Nov 2015, 02:31
    Windows 7 Chrome

Re: Email List

Post by zendiver »

Nice extension and very clean, thank you.

Quick question if I may: All of the other icons in my nav are text free, is it OK to remove the "Email List" portion of the link so just the icon and the rollover title remains?

I wanted to ask before altering. Again, thanks for the ext.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Email List

Post by dmzx »

zendiver wrote:Nice extension and very clean, thank you.

Quick question if I may: All of the other icons in my nav are text free, is it OK to remove the "Email List" portion of the link so just the icon and the rollover title remains?

I wanted to ask before altering. Again, thanks for the ext.
Open: ext/dmzx/emaillist/styles/prosilver/template/event/overall_header_navigation_append.html
Find This may be a partial find and not the whole line

Code: Select all

<!-- IF S_EMAIL_LIST --><li class="small-icon icon-members"><a href="{U_EMAIL_LIST}" title="{L_EMAIL_LIST}" role="menuitem">{L_EMAIL_LIST}</a></li><!-- ENDIF -->
Replace with Replace the preceding lines with the following

Code: Select all

<!-- IF S_EMAIL_LIST --><li class="small-icon icon-members"><a href="{U_EMAIL_LIST}" title="{L_EMAIL_LIST}" role="menuitem"></a></li><!-- ENDIF -->

User avatar

uruguayito
Donator
Donator
Posts: 120
Joined: 02 Jul 2015, 19:40
    Windows 8.1 Chrome

Re: Email List

Post by uruguayito »

uruguayito wrote: 12 Aug 2015, 18:55 Very usefull ....
thanks

ask: Do you plan to include the option to export the emails for groups?

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Email List

Post by dmzx »

uruguayito wrote: 19 Aug 2016, 16:33
uruguayito wrote: 12 Aug 2015, 18:55 Very usefull ....
thanks

ask: Do you plan to include the option to export the emails for groups?
Need to check on this.

User avatar

testingground
Users
Users
Posts: 24
Joined: 26 Apr 2016, 09:36
    Ubuntu Chrome

Re: Email List

Post by testingground »

How do I give my global mod access to this aswell as me (founder)?

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Windows 10 Chrome

Re: Email List

Post by martin »

Remove the user id code and change to group code maybe some thing like this ? i have not tested.

Code: Select all

// Founders Mods only access
		if ($user->data['group_id'] == '5' || $user->data['group_id'] == '4')
		{
			trigger_error('NOT_AUTHORISED');
		}
Image

User avatar

testingground
Users
Users
Posts: 24
Joined: 26 Apr 2016, 09:36
    Ubuntu Chrome

Re: Email List

Post by testingground »

Ive just tried that and for some reason it is ignoring the change and still only allowing founder access
Yes I have cleared cache etc

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Windows 10 Chrome

Re: Email List

Post by martin »

Also there is this

Code: Select all

if ($this->user->data['user_type'] != USER_FOUNDER)
in the listener line 73.

change it to groups as well.

User avatar

testingground
Users
Users
Posts: 24
Joined: 26 Apr 2016, 09:36
    Ubuntu Chrome

Re: Email List

Post by testingground »

I assume you mean this:

Code: Select all

// Founders only access
		if ($this->user->data['user_type'] != USER_FOUNDER)
		{
			return;
		}
		// add lang file
		$this->user->add_lang_ext('dmzx/emaillist', 'common');

		$this->template->assign_vars(array(
			'U_EMAIL_LIST' 			=> $this->controller_helper->route('dmzx_emaillist_controller'),
			'S_EMAIL_LIST'			=> ($this->user->data['user_type'] == USER_FOUNDER) ? true : false,
		));
What do I change it too?

User avatar

humpty
Users
Users
Posts: 5
Joined: 06 Sep 2016, 19:33
    Windows 7 Chrome

Re: Email List

Post by humpty »

When logged on as the founder I see the button near top left. So far so good! It takes me to https://forum.xxxxxx.com/app.php/emaillist, but that page is blank. So I can't see the email list. Board version 3.1.9.

Thanks

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Email List

Post by dmzx »

humpty wrote: 06 Sep 2016, 19:42 When logged on as the founder I see the button near top left. So far so good! It takes me to https://forum.xxxxxx.com/app.php/emaillist, but that page is blank. So I can't see the email list. Board version 3.1.9.

Thanks
Can you set redirect in ACP to on to check.

User avatar

humpty
Users
Users
Posts: 5
Joined: 06 Sep 2016, 19:33
    Windows 7 Chrome

Re: Email List

Post by humpty »

Where can I find the redirect in the ACP? (Am not yet familiar with all of phpbb yet!)

Thanks

Post Reply Previous topicNext topic