![]() |
Quote:
|
Interesting Newsletter Mod.
I have 3 questions: -1. Is there a way/option to Exclude Certain Usergroups from Getting the Newsletter? (this is very important because even if the users are subscribed to threads, for some usergroups would be nice for them Not to receive Newsletters). :confused: -2. How can I Massive Disable the Option "Receive Community Bulletin Newsletters"? :confused: (I can see that is Enabled by Default but I need to disable it for Existing Users once this Mod Installed) -3. How can I choose for the "Receive Community Bulletin Newsletters" to be Disabled by Default? :confused: (I think is better to let the Users Choose if the want to be Included on the Newsletter and not to Force them to Receive the First One to Choose to be Excluded) My Best Regards. :) |
Quote:
Quote:
Code:
UPDATE {prefix-if-used}user SET receivebulletin = '0'; Quote:
Or, if you haven't yet installed it, 1. edit product-Commbull.xml 2. at around line 22, find Code:
if (!isset($user_cols['receivebulletin'])) $db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD receivebulletin SMALLINT (5) UNSIGNED DEFAULT '1' not null"); Code:
if (!isset($user_cols['receivebulletin'])) $db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD receivebulletin SMALLINT (5) UNSIGNED DEFAULT '0' not null"); Code:
$db->query_write("UPDATE " . TABLE_PREFIX . "user SET receivebulletin=1"); Code:
$db->query_write("UPDATE " . TABLE_PREFIX . "user SET receivebulletin=0"); |
thanks DJ for responding :) ... I have absolutely nothing that I can add to that. I had already changed the mod for future updates to change the default settings to 0 to comply with SPAM policies.
|
Quote:
Quote:
I Have One Final Question that Comes From My First Question: -1A How Can I Exclude Certain Usergroups From Receiving the Newsletter? :confused: - What is the Option I Should Set and Where is it Located (or the Process / Plugin Edits / File Edits I Should Modify) to Exclude Specific Usergroups From Getting the Newsletter? :confused: I Tried to Find it but I Didn't Saw it. :( I Appreciate Your Support, the Mod is Very Interesting and I'll be Testing it on my Test Forum. ;) My Best Regards. :) |
1 Attachment(s)
It's in the setup for the newsletter itself:
Admin CP | Users | Send CommBull Newsletter (or words to that effect) In there you can select which forums to include and how many of each type of thread/poll etc. to include as well as which usergroups will receive the newsletter. |
Quote:
I Found the List of Usergroups at the End of ACP > Community Bulletin > Settings Below the "Include Info From Forums..." and under the Title "Mail users from the following usergroups...". :up: I Appreciate Your Guide. My Best Regards. :) |
Sure would like to see an example of an HTML email before using this. Can someone post a screenshot. Thanks... :up:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 01:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|