Skip to Content Skip to Menu

alpha user point CB friend rule

10 years 10 months ago #239125 by thewebsurfer
alpha user point CB friend rule was created by thewebsurfer
hi, does anyone knows Alpha user point? I need a rule for a CB friend request accepted.
Really don't know where to start..
i tried to study the happybirthday rule but i don't get so much for what i need..
www.alphaplug.com/index.php/downloads.html?func=startdown&id=39

Please Log in or Create an account to join the conversation.

10 years 10 months ago #239132 by thewebsurfer
Replied by thewebsurfer on topic alpha user point CB friend rule
this is the doc
www.alphaplug.com/index.php/products/alphauserpoints.html?start=2

the CB function is in comprofiler.class.php --> saveConnection

help me please..

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239181 by krileon
Replied by krileon on topic alpha user point CB friend rule
We don't support AlphaUserPoints . The only integration we have for it is for CBSubs, but that's likely to be deprecated. You can try using CB Auto Actions and its Code action to run PHP that'll use AlphaUserPoints API to add points. Please contact them for further AlphaUserPoints usage information as we are not its developer (Please understand these are support forums for our products. Please use the community forums for general discussions).


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.

Please Log in or Create an account to join the conversation.

10 years 9 months ago - 10 years 9 months ago #239203 by thewebsurfer
Replied by thewebsurfer on topic alpha user point CB friend rule
their support take me here :(
it's more a CB thing than AUP

www.alphaplug.com/index.php/products/alphauserpoints.html?start=2
i follow the istruction, paste the code in comprofiler.class.php and using cb autoactions both, but the rule doesn't work.
i really don't know how to do that..
Last edit: 10 years 9 months ago by thewebsurfer.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239209 by krileon
Replied by krileon on topic alpha user point CB friend rule
Never modify core code. CB is filled with Triggers. Triggers let CB plugins or even 3rd party extensions hook into CBs usages. This is how CB Auto Actions is able to function (acts on those triggers). Using CB Auto Actions and its Code action you could run AUP API for example to add points. Looking at the page you linked the below is an example usage for CB Auto Actions Code action.

Code:
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php'; if ( file_exists( $api_AUP ) ) { require_once ( $api_AUP ); } $aupid = AlphaUserPointsHelper::getAnyUserReferreID( '[user_id]' ); if ( $aupid ) { AlphaUserPointsHelper::newpoints( 'function_name', $aupid ); }

Please understand the above is just an example. I in no way have tested it or can guarantee it'll function. Please consult with AUP for further usage information regarding their API.


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.

Please Log in or Create an account to join the conversation.

10 years 9 months ago #239283 by thewebsurfer
Replied by thewebsurfer on topic alpha user point CB friend rule
i tried using autoaction in so many way none of them works :(
a question: the onAfterAcceptConnection event happens even if i set off "mutual friend" in CB configuration?
mine it's more a "became fan" system than a "friend system"

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum