[TaylorJ] Blogs

[TaylorJ] Blogs 1.3.0

No permission to download
What do you mean by blog edit though? Neither my post you quoted or the one I replied to said anything about blog editing.

For example a user wanted to edit his blog post but it's not available for now. Or I can't edit his blog post without accessing DB
 
For example a user wanted to edit his blog post but it's not available for now. Or I can't edit his blog post without accessing DB
Ahh, that will be out sometime today with the release. You can use the template code change I posted on the previous page to fix it for now though.


Also update on the future of the addon. There will definitely be a paid for premium version, not sure of the price point yet, as there are a few features which will take some extra work to accomplish and also the purchase of XFES to have one of them functional (that specific feature will also require XFES to be installed). I'm also not sure when this will be available, but it should probably be sometime this month.
 
Taylor J updated [TaylorJ] Blogs with a new update entry:

1.2.0

Features
  • Better blog post comments handling - Comments now have a global toggle. If turned on new blog posts will be created with comment threads, if turned off no comment threads will be created. Any blog posts with comment threads before the option is turned off will keep their threads/comments.
  • Blog creation limit - Is now handled by a user group permission rather than a global addon setting. Admins can now set a limit based on a users group to better accommodate for higher...

Read the rest of this update entry...
 
And I have necessary permissions as you can see @Taylor J.

1730531401684.webp

Yes, of course @grabacontroller
 
Do you by chance have developer mode enabled for some reason? This isn't happening on my local installs nor my staging site nor production site. Maybe try rebuilding the addon and making sure all templates are not modified?

I'll try but I got this error on blog deletion:

Code:
TypeError: TaylorJ\Blogs\Utils::adjustUserBlogPostCount(): Argument #1 ($blog) must be of type TaylorJ\Blogs\Entity\Blog, null given, called in /home/forum/public_html/sosyal/src/addons/TaylorJ/Blogs/Entity/BlogPost.php on line 373 in src/addons/TaylorJ/Blogs/Utils.php at line 142
TaylorJ\Blogs\Utils->adjustUserBlogPostCount() in src/addons/TaylorJ/Blogs/Entity/BlogPost.php at line 373
TaylorJ\Blogs\Entity\BlogPost->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1715
XF\Mvc\Entity\Entity->delete() in src/XF/ControllerPlugin/DeletePlugin.php at line 18
XF\ControllerPlugin\DeletePlugin->actionDelete() in src/addons/TaylorJ/Blogs/Pub/Controller/BlogPost.php at line 169
TaylorJ\Blogs\Pub\Controller\BlogPost->actionDelete() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
 
I unnistaled my previous version, deleted the files that xenforo ask, and then installed the new version.
The counter of blog posts still there.
1730591486131.webp

So, I tried to cleanup using the tools > cron entries
1730591537364.webp

But nothing changed. I still have 2 blog posts and my forum dont have any blog posts yet (because I had deleted them before).
 
I unnistaled my previous version, deleted the files that xenforo ask, and then installed the new version.
The counter of blog posts still there.
View attachment 313366

So, I tried to cleanup using the tools > cron entries
View attachment 313367

But nothing changed. I still have 2 blog posts and my forum dont have any blog posts yet (because I had deleted them before).
Fixed in 1.2.2 which I will have out tonight.

If you don't want to have to uninstall and reinstall you can just edit that user in your db directly and change the xf_user's taylorj_blogs_blog_post_count column to 0.

Edit: I should add for anyone in the future as well, that cron in the screenshot above is to update the blog post's view count number, not blog post count number.
 
Last edited:
The fix will actually be tomorrow. After building out the rebuild tool for blog post counts I found out that blog posts are not being successfully/properly handled (deleted) on blog deletion.
 
Nice!

I am very happy that the addon is gradually getting better and better. With forum users testing and reporting these problems, the addon is being refined and becoming more functional and complete.

Congratulations on your effort!
 
Taylor J updated [TaylorJ] Blogs with a new update entry:

1.2.2

Bug fixes/Feature
  • Blog posts are now deleted when their respective blog is deleted. Since this was not being handled properly before a new feature in Tools > Rebuild caches has been created "Cleanup blog posts that were not removed on blog deletion". This will go through all blog posts in your database and if it finds one that doesn't have a blog anymore it will delete that blog post. After you run this tool it is required to run the "Rebuild user blog post count totals" cache tool...

Read the rest of this update entry...
 
Hello! I'm contacting you because the forum I'm on has been having a lot of problems due to this addon. We did an update and the addon threw an error that basically caused us to lose the entire website

Originally, the addon was supposed to have been deleted a long time ago (long before the update), but for some reason it still "appears" even now, is there a way to delete it completely? considering it's what's causing what seems to be the interference when updating the website so we can use it

Sorry for my bad English, it's not my native language
 
Hello! I'm contacting you because the forum I'm on has been having a lot of problems due to this addon. We did an update and the addon threw an error that basically caused us to lose the entire website

Originally, the addon was supposed to have been deleted a long time ago (long before the update), but for some reason it still "appears" even now, is there a way to delete it completely? considering it's what's causing what seems to be the interference when updating the website so we can use it

Sorry for my bad English, it's not my native language
What are the exact errors / problems being caused? Can't really help otherwise.
 
What are the exact errors / problems being caused? Can't really help otherwise.

When the forum was updated it showed this associated with your addon:

1731040232544.webp

After that point the forum stopped working, but as I said, as far as I knew (before updating it) we had deleted the addon

However, it still appears within the administration section of the website
 
Back
Top Bottom