Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newsletter has no questions #4

Open
ajbraus opened this issue Feb 21, 2013 · 0 comments
Open

Newsletter has no questions #4

ajbraus opened this issue Feb 21, 2013 · 0 comments

Comments

@ajbraus
Copy link

ajbraus commented Feb 21, 2013

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

http://www.question2answer.org/qa/19200/qa-plugin-q2a-newsletter-master-qa-plugin-php-on-line-158?show=19200#q19200

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant