By MD King on Tuesday, 02 November 2021
Posted in Technical Issues
Replies 1
Likes 0
Views 720
Votes 0
We use the following code to assign points, but seems to have stopped running lately, also, where can I find the api and function documentation now?

Thanks!
MD

// Assign Points
Foundry::points()->assign( 'conditioned' , 'conditioning' , $user->id );

It's correct your code markup doesn't like : :
// Assign Points
Foundry::points()->assign( 'conditioned' , 'conditioning' , $user->id );
Hey there,

You should use ES::points()->assign($command, $extension, $userId) and there is no documentation for it.

Example: https://monosnap.com/file/9qtWoP9MGEOXb8OIsGuPgXVXNMAApL

You can troubleshoot it at JoomlaFolder/administrator/components/com_easysocial/includes/points/points.php if is still not assigned point for you.

For your information, our support does not cover this scope.

By the way, it is our forum bug where the reply will remove that 'p'oint with ':' on the code.
·
Tuesday, 02 November 2021 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post