Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+34 votes
2.1k views
in Plugins by
closed by

Its been years since I was active on this platform. After I saw it wasn't sustaining me as I expected I took a leave to a mobile developer. Also some of you took to insult me on this site something that took a while for me to recover from. 


I recently received overwhelming request to fix issues in my plugin: Blog Post and decided to come back and do it. The added features are:

  1. Edit article
  2. Hide article
  3. Delete article

The plugin is free but if you wish to promote my work my paypal is open for such: https://paypal.com/jacksiro with anything from $30.

Find the plugin here: https://github.com/JaxiroKe/q2a-blog-post

Q2A version: 1.8.6
closed with the note: new update

5 Answers

0 votes
by
edited by

I did everything as described, but I am getting an error.

by
Please check your web server's error log for the error as the message tells you. We can't do that for you.
0 votes
by

Hi @

Thank you for this plugin and for the good work you have been doing for the Q2A community.

I have a few question.

1. Please is it possible to restrict the blog to only admin and moderators 

2. Can the post from the blog be separated from the question on the home page, rather one can call up its title and content to a widget on the home page

3. Also can images posted on the blog be called up also just before or after the title of the article posted on the blog.

Thanks, i look forward to read from you

by
Hello, I think this is already addressed in the latest plugin
+2 votes
by
edited by

Hello

There are a few issues related to this plugin, especially connected with categories.

1. An option to simply delete category (by using control panel) doesn't work. It must be done only by editing database.

2. Even if we publish a post in specific category, it will be visible in every category.

3. Problem with proper linking. When viewing "all articles" section, each article has a link */blog/article-title which is working good. But when viewing any specified category, links to posts appear as */blog/blog/article-title, which is incorrect and takes you to a blank page.

4. Even if publishing blog posts is limited only to administrators, every user has an additional button "all articles" in their user panel. It's irrelevant and should be visible only for these users, which are able to publish blog posts, not for everyone. // To be honest, I think this feature could be completely deleted, it's not needed.

by
+1
All the bugs fixed in the new repo here: https://github.com/JaxiroKe/q2a-blog-post.
+3 votes
by
edited by

Hello everyone, I came back here specifically to fix the update that was requested by SwiezeWinogrono, But I lost access to my Github account when I lost my device so I had to fork my repo to my new GitHub account https://github.com/JaxiroKe/q2a-blog-post.
In case of anything please let me know in the comments and also submit an issue on github repo

by
+1
Great work. I see that this plugin is correctly using the q2a code styling which makes it easier for anyone to use and maintain.
by
On Q2A v. 1.8.6 and php 8.0 I receive an error message on (domain)/blog:

Warning: Undefined variable $navcategories in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 51 Warning: Undefined array key "" in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 63 Warning: Trying to access array offset on value of type null in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 63 Warning: Undefined variable $suggest in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 109 Warning: Undefined variable $navcategories in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 112 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php:112 Stack trace: #0 (domain)/public_html/qa-plugin/q2a-blog-post/user/blog-post.php(202): qa_article_feed() #1 (domain)/public_html/qa-include/pages/default.php(107): blog_post->process_request('blog') #2 (domain)/public_html/qa-include/app/page.php(195): require('(domain)...') #3 (domain)/public_html/qa-include/qa-page.php(47): qa_get_request_content() #4 (domain)/public_html/qa-include/qa-index.php(188): require('(domain)...') #5 (domain)/public_html/index.php(27): require('(domain)...') #6 {main} thrown in (domain)/public_html/qa-plugin/q2a-blog-post/article/article-feed.php on line 112
by
Have you submitted an issue on the repo? If not please do and please give full info:
- context of what you did that lead this error.
- q2a version
- php version
0 votes
by
edited by

Its not working ! 

In Errors log file:

[26-May-2023] PHP Notice:  Undefined variable: navcategories in /home/***/qa-plugin/q2a-blog-post/article/article-feed.php on line 51
[26-May-2023] PHP Notice:  Undefined index:  in /home/***/qa-plugin/q2a-blog-post/article/article-feed.php on line 63
[26-May-2023] PHP Notice:  Undefined variable: suggest in /home/***/qa-plugin/q2a-blog-post/article/article-feed.php on line 109
[26-May-2023] PHP Notice:  Undefined variable: navcategories in /home/***/qa-plugin/q2a-blog-post/article/article-feed.php on line 112
[26-May-2023] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/***/qa-plugin/q2a-blog-post/article/article-feed.php on line 112

by
Have you submitted an issue on the repo? If not please do and please give full info:
- context of what you did that lead this error.
- q2a version
- php version
by
Yes, I followed the instructions that came with the plugin.
Q2a version: 1.8.6
Php version: 7.4
by
There is solution for this problem ?
by
+1
is this issue is fixed ?
by
No, i just remove it .
...