noahy / q2a-newsletter Goto Github PK
View Code? Open in Web Editor NEWNewsletter plugin for question2answer
Newsletter plugin for question2answer
No questions or answers are listed in the newsletter. When pressing "process" the following warnings appear:
Notice: Undefined variable: qhtml in ...\qa-plugin\q2a-newsletter-master\qa-plugin.php on line 158
Warning: implode() [function.implode]: Invalid arguments passed in ...\qa-plugin\q2a-newsletter-master\qa-plugin.php on line 158
Notice: Undefined variable: ahtml in ...\qa-plugin\q2a-newsletter-master\qa-plugin.php on line 159
Warning: implode() [function.implode]: Invalid arguments passed in ...\qa-plugin\q2a-newsletter-master\qa-plugin.php on line 159
Notice: Undefined variable: chtml in ...\qa-plugin\q2a-newsletter-master\qa-plugin.php on line 160
Warning: implode() [function.implode]: Invalid arguments passed in ...\qa-plugin\q2a-newsletter-master\qa-plugin.php on line 160
Q&A version 1.5.4
default plugin settings
questions and answers in the database
Is it possible to send this out automatically once a day or once per week? There doesn't seem to be a plugin that does this.
In qa-plugin.php I find
$selectspec="SELECT postid, BINARY title AS title, BINARY content AS content, format, netvotes, userid FROM ^posts WHERE type='Q' AND FROM_UNIXTIME(#) <= created AND netvotes > 0 ORDER BY netvotes DESC, created ASC LIMIT ".(int)qa_opt('news_plugin_max_q');
Is this right? It looks like the # is not right.
I read this question
and saw that this is commented out to make it so that all questions despite having no plus votes file into the newsletter, but I am getting no questions in my newsletter, so I thought this line might be the problem.
Is there a way to default users to receive the newsletter?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.