Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Alpha User Point Rule "Submit an Article" does not work with CB Blogs

  • haidinh
  • haidinh
  • OFFLINE
  • Posts: 94
  • Thanks: 8
  • Karma: 0
9 years 6 days ago - 8 years 10 months ago #272596 by haidinh
Hi supporters,

I installed a rule from Alpha User Point to assign points to users when they submit an article in Joomla core.

When I use Joomla menu "Create Aricle", it works.

But when I create CB blogs with Joomla Model, it does not work.

Can you help me to solve this issue?

Thank you and regards,

Hai
Attachments:
Last edit: 8 years 10 months ago by krileon.
The topic has been locked.
  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
9 years 6 days ago #272629 by krileon
We're not the developers of Alpha User Points. I've no idea how they're tracking any of that so there's nothing I can suggest. CB Blogs is using a standard Joomla content object ->store which fires the onAfterStore event which I assume AUP should be using, but again we're not the developers of AUP so I've no idea.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: haidinh
The topic has been locked.
  • haidinh
  • haidinh
  • OFFLINE
  • Posts: 94
  • Thanks: 8
  • Karma: 0
9 years 5 days ago #272637 by haidinh
Thank you Krileon, I am asking the developer for help.
The topic has been locked.
  • haidinh
  • haidinh
  • OFFLINE
  • Posts: 94
  • Thanks: 8
  • Karma: 0
8 years 11 months ago - 8 years 11 months ago #272848 by haidinh
Hi Krileon,

I Contacted Alpha User Points developer and he said "The rule/plugin use the trigger "onContentAfterSave" (native Joomla). If CBblogs have this trigger, it normally must working..."

Do you have any idea on this?

In his rule, there is a code line:

"public function onContentAfterSave($context, $article, $isNew)"

I change that code into:

"public function onAfterSave($context, $article, $isNew)"

but it still does not work.

Can you suggest me something instead of "onAfterSave" phrase?

Hai
Last edit: 8 years 11 months ago by haidinh.
The topic has been locked.
  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
8 years 11 months ago #272876 by krileon
onContentAfterSave is the correct function name. I don't have anything further to suggest as again we are not AUPs developer. I've no idea what their code is doing and why CB Blogs isn't working with it. You can use CB Auto Actions to act on the blog create trigger then a Code action to fire AUP API as needed as an alternative.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The topic has been locked.
  • haidinh
  • haidinh
  • OFFLINE
  • Posts: 94
  • Thanks: 8
  • Karma: 0
8 years 11 months ago #272901 by haidinh
Hi Krileon,

Can you suggest which type of autoAction I can use?

I see a lot of types:

Action
CB Activity
Acymailing
CB AntiSpam
CB Blogs
CB Paid Subscription
Code
Connection
Content
Email
Field
CB Gallery
CB GroupJive
CB Invites
K2
Kunena
Login/ Logout
CB Menu
Private Message
CB Privacy
Query
Redirect
Registration
Request
Usergroup

Thank you and regards,

Hai
The topic has been locked.
Moderators: beatnantkrileon
Powered by Kunena Forum