Thread: Administrative and Maintenance Tools - Commbull (Community Bulletin) 5.1b
View Single Post
  #72  
Old 21 Jan 2010, 23:19
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
I have the previous version, 4.5f, which does run successfully via a cron job, running on 4.01. It required some modification of the installation instructions but it does work. I expect you should be able to get this version running as well, although as the coder noted the cron capability doesn't work.

1. Edit product-Commbull.xml and find the following line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


2. Upload the files and import the product.

3. Now you need to do the template edits so that members can opt-in or opt-out of your newsletter. The current instructions are as follows:

4. Template modifications
--------------------------------------

Template: "Modify User Option" -> "modifyoptions"

After:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now, obviously this won't work in 4.x. These need to be modified as follows:

1. Edit Template: "Modify User Option" -> "modifyoptions"

FIND:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


ADD AFTER:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That first part (above) is the option to receive or not receive the newsletters.

Next would be the option for HTML or plain text emails, which should be:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


However, I was unable to get that second option to stick, for reasons which escape me. I could check the box to specify HTML, which is far superior, but the next time I enterd my settings page, it was always unchecked again.

What I did instead was omit that second entry entirely. That means that everyone who gets the newsletter will receive the HTML version (the default option), but frankly on my forum it was extremely rare that anyone did not opt for HTML, since it has live links.

Last edited by djbaxter; 21 Jan 2010 at 23:25.
Reply With Quote