Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

UddeIm - Alpha User Points

  • enet
  • enet
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
14 years 8 months ago #126836 by enet
UddeIm - Alpha User Points was created by enet
Hi,

I'm using Uddeim and Alpha User Points.
I would like to add a new rule to decrease points everytime a user sends a message so I need to place an API right after the send line.

Does anybody know where is the function that sends PM on Uddeim?

I tried to search inside Uddeim files but it's too difficult for me to understand how it does it.

Thanks.

E-net

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

11 years 10 months ago #218884 by marriage_minded_man
Replied by marriage_minded_man on topic Re: UddeIm - Alpha User Points
Almost three years after this post, I'm trying to do the same thing. Did you figure out how to do it?

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
11 years 10 months ago #218902 by slabbi
Replied by slabbi on topic Re: UddeIm - Alpha User Points
FAQ Ch. 13.19?

AUP Forum (corresponding link can be found in the referenced FAQ).

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

  • jwall101
  • jwall101
  • OFFLINE
  • Posts: 29
  • Thanks: 2
  • Karma: 1
  • Add-ons
10 years 9 months ago #240787 by jwall101
Replied by jwall101 on topic Re: UddeIm - Alpha User Points
Hi.

Ok, so this thread has been quiet for over a year and I have added the code as per the FAQ. I was just wondering if there's a way that UddeIm can check the user points and only send a PM if there is a point left?

Any help would be gratefully received.

Thanks in advance.


Jonathan

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
10 years 9 months ago #240789 by slabbi
Replied by slabbi on topic Re: UddeIm - Alpha User Points
There are some ways to do this:

1. (not recommended) you could patch uddeIM and add your test.

2. The uddeIM API supports hooks (new in uddeIM 3.2). This allows to call a function when e.g. a message has been sent. In the hook you could check the points and create a message using the API when required.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

  • jwall101
  • jwall101
  • OFFLINE
  • Posts: 29
  • Thanks: 2
  • Karma: 1
  • Add-ons
10 years 9 months ago #240790 by jwall101
Replied by jwall101 on topic Re: UddeIm - Alpha User Points
Thanks Slabbi. I will look into this. Are you able to recommend any developers who may be able to assist?

Thanks for the great component. I've been a (paying) user for a number of years and try to spread the word as much as I can.

Regards,


Jonathan

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum