Advertisement:

Author Topic: Automatic Newsletter for SMF2  (Read 92672 times)

Offline HoverClub

  • Jr. Member
  • **
  • Posts: 198
  • hoverclub.org.uk
    • The Hovercraft Cruising Club
Re: Automatic Newsletter for SMF2
« Reply #140 on: April 18, 2013, 04:12:00 AM »
I have removed your mod because you are ignoring my error report.

Quote
Hi,

I have installed this mod to my site. It introduced 15 errors on hxxp:validator.w3.org/check?uri=yoursitehere.com [nonactive]
Can you update your mod to complain with w3 validator?

Thanks!
I didn't ignore it - if you had installed the updated mod a couple of months ago you would have found that the validator warnings (not errors) had been fixed (not detailed in the change log as they weren't errors or function fixes/additions).  If it still throws errors then you should look to your theme (which you didn't even specify!).

Offline kenso

  • Jr. Member
  • **
  • Posts: 115
    • Ozfarmer farming forum, Classifieds and Store
Re: Automatic Newsletter for SMF2
« Reply #141 on: April 23, 2013, 08:37:10 PM »
Hi just tried to install your mod but we get this error, is there a fix?

Table '_forum.smf_gallery_cat' doesn't exist
File: /home/xxxxxxx/public_html/Sources/ManageSettings.php
Line: 2103

ozfarmer(dot)com(dot)au

using SMF 2.0.4 | SMF © 2013, Simple Machines
SimplePortal 2.3.5 © 2008-2012, SimplePortal
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

TheListener

  • Guest
Re: Automatic Newsletter for SMF2
« Reply #142 on: April 23, 2013, 08:42:33 PM »
Kenso do you use the SMF Gallery mod?

Also the way you typed out the forums address was a waste of time.

Look at your signature.

 ;)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Automatic Newsletter for SMF2
« Reply #143 on: April 23, 2013, 08:48:44 PM »
Well, the mod looks like it tries to check for the gallery and if present does some stuff - which suggests at one point the gallery was installed but is not any more. But the gallery didn't clean up after itself.

The best way to fix that is to go to the smf_settings table, look for an entry called gallery_max_filesize and remove it.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline kenso

  • Jr. Member
  • **
  • Posts: 115
    • Ozfarmer farming forum, Classifieds and Store
Re: Automatic Newsletter for SMF2
« Reply #144 on: April 23, 2013, 11:18:57 PM »
I did use Gallery Mod once but I cannot find any reference to it in the DB. Maybe re install Gall Mod? And the xxx thing was just habit  ;D
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Automatic Newsletter for SMF2
« Reply #145 on: April 23, 2013, 11:20:29 PM »
-sigh-

If you go into the smf_settings table, you will find a reference to the gallery, as I have outlined, as indicated by the mod.

You can reinstall the gallery but the fact that you uninstalled it means you're not using it and that you would be better served by removing the entry mentioned.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline kenso

  • Jr. Member
  • **
  • Posts: 115
    • Ozfarmer farming forum, Classifieds and Store
Re: Automatic Newsletter for SMF2
« Reply #146 on: April 23, 2013, 11:24:36 PM »
Thanks for the reply, I have been into PhpMyAdmin / smf_settings to look for the gallery file you recommended but I cannot find any instance of it.
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Automatic Newsletter for SMF2
« Reply #147 on: April 23, 2013, 11:29:52 PM »
It's not a file. It's a row in the smf_settings table. You went through every single entry (there are typically *hundreds*)?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline kenso

  • Jr. Member
  • **
  • Posts: 115
    • Ozfarmer farming forum, Classifieds and Store
Re: Automatic Newsletter for SMF2
« Reply #148 on: April 23, 2013, 11:40:46 PM »
Sorry I did mean line. Well I only searched the first 300 didn't realize there was more. I found some lines after downloading it as a CSV into excell. Just remove gallery_max_filesize?

gallery_max_height
gallery_max_width
gallery_max_filesize
gallery_who_viewing
gallery_commentchoice
gallery_shop_picadd
gallery_shop_commentadd
gallery_set_showcode_bbc_image
gallery_set_showcode_directlink
gallery_set_showcode_htmllink
gallery_set_images_per_page
gallery_set_images_per_row
gallery_thumb_width
gallery_thumb_height
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Offline kenso

  • Jr. Member
  • **
  • Posts: 115
    • Ozfarmer farming forum, Classifieds and Store
Re: Automatic Newsletter for SMF2
« Reply #149 on: April 23, 2013, 11:45:47 PM »
Cool that fixed it!  ;) Thanks for your help!
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Automatic Newsletter for SMF2
« Reply #150 on: April 23, 2013, 11:51:54 PM »
All of those can go if you're not using the gallery, though only gallery_max_filesize actually *needs* to go.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline kenso

  • Jr. Member
  • **
  • Posts: 115
    • Ozfarmer farming forum, Classifieds and Store
Re: Automatic Newsletter for SMF2
« Reply #151 on: April 24, 2013, 12:36:04 AM »
I Have it set now and it seems to be working fine. One last thing how would I put the subscribe button in this area (pictured) on the home page?
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Offline HoverClub

  • Jr. Member
  • **
  • Posts: 198
  • hoverclub.org.uk
    • The Hovercraft Cruising Club
Re: Automatic Newsletter for SMF2
« Reply #152 on: April 24, 2013, 05:49:05 AM »
You'd need to add a simple portal PHP code block to the top centre position on the page - the block PHP code is included in this mod package (download the latest version).

The new version also fixes the detection of SMF Gallery discussed above.

Offline bidouilleur

  • Newbie
  • *
  • Posts: 3
Re: Automatic Newsletter for SMF2
« Reply #153 on: August 16, 2013, 10:50:29 AM »
hello Hoverclub

just installed the new version and found a little typo (see attached) NEWSLETTER

also I intend to use it on a french board so I did some translating but one variable is playing on me, no clue where to set it so it displays date in french (also see attached)

thanks for your insight


Offline HoverClub

  • Jr. Member
  • **
  • Posts: 198
  • hoverclub.org.uk
    • The Hovercraft Cruising Club
Re: Automatic Newsletter for SMF2
« Reply #154 on: August 16, 2013, 12:44:28 PM »
Thanks - I noticed the typo ten minutes after uploading the new version  :-[.  It's only in the Admin config so I'll correct it at the next update.

It uses the PHP date() function - this will also be changed at the next update.

Offline Gryzor

  • Sr. Member
  • ****
  • Posts: 783
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
Re: Automatic Newsletter for SMF2
« Reply #155 on: August 26, 2013, 06:14:52 AM »
Ok, here's an interesting problem:

Every time I send out a newsletter I get a couple of emails back saying that delivery failed for some accounts (two or three); all of them are in Russia and sound like spammers. The interesting thing is, there are NO users with those addresses in my db (I have checked both by the forum's search function and by looking in the db tables). Any ideas?

Offline HoverClub

  • Jr. Member
  • **
  • Posts: 198
  • hoverclub.org.uk
    • The Hovercraft Cruising Club
Re: Automatic Newsletter for SMF2
« Reply #156 on: August 26, 2013, 08:58:06 AM »
I assume you allow guests to subscribe?  If so, that's why you can't find forum users with those email addresses - you'll find the email addresses for all subscribers (registered users and guests) in the table hcb_newsletter.  Spammers shouldn't get anything useful from a newsletter.

Offline Gryzor

  • Sr. Member
  • ****
  • Posts: 783
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
Re: Automatic Newsletter for SMF2
« Reply #157 on: August 27, 2013, 12:24:00 AM »
Ahhh good idea, will check it out! Thanks :)

Offline Cat McFarlane

  • Jr. Member
  • **
  • Posts: 213
Re: Automatic Newsletter for SMF2
« Reply #158 on: September 03, 2013, 10:18:29 PM »
Hiya Hoverclub  :)

Awesome mod, but doesn't seem to be sending out newsletters.
 
Using latest version of smf and mod.
Installed fine.
Using Fresh Looks theme.
All options selected fine, and able to preview, after suggested change in order to be visible.
20 have subscribed, through click box at top of forum page.

Checked all settings throughout admin section and can't see why it isn't sending out ... no errors showing in log.

Thanks, Cat

Offline HoverClub

  • Jr. Member
  • **
  • Posts: 198
  • hoverclub.org.uk
    • The Hovercraft Cruising Club
Re: Automatic Newsletter for SMF2
« Reply #159 on: September 04, 2013, 03:12:59 AM »
Check Admin->Maintenance->Scheduled Tasks->Task Log for Newsletter entries. 
Check Admin->Maintenance->Mail->Enable Mail Queue is set
Check Admin->Maintenance->Mail->Browse Queue and check there aren't more than a handful of messages in the queue.