Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Triggers fire in CB Auto actions

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

Triggers fire in CB Auto actions

  • elouan.robinet
  • Topic Author
  • Offline
  • User
  • User
More
8 years 2 months ago #24074 by elouan.robinet
Triggers fire in CB Auto actions was created by elouan.robinet
Hi,
I have a problem with the triggers in Auto Actions with Adsmanager. In fact, I want to fire a SQL query when a new user is registered via Adsmanager. Indeed, to post an ad, users who are not registered will be automatically registered. I tested the SQL query with the trigger "AfterUserUpdate" and "AfterUpdateUser" and it works. I tested with the trigger "AfterUserApproval" and it works.
But when I use the trigger "AfterUserRegistration" and "AfterNewUser" the query is not fired. I think that automatic registration via Adsmanager does not fire the triggers "AfterUserRegistration" and "AfterNewUser".
What do you think ?
Thank you !
More
8 years 2 months ago #24089 by loic
Replied by loic on topic Triggers fire in CB Auto actions
Hello,

It is possible, however I don't see what we can do about that :/

Best regards.
  • elouan.robinet
  • Topic Author
  • Offline
  • User
  • User
More
8 years 1 month ago - 8 years 1 month ago #24313 by elouan.robinet
Replied by elouan.robinet on topic Triggers fire in CB Auto actions
Hi,

Thank you for you answer. I looked to the Adsmanager code to find the function which creates the user account when an ad is posted.
I found in it a hack "OUTROUVER" which is currently commented in the file users.php (administrator/components/com_adsmanager/models/user.php).

/** Don't post the code of a whole file on this forum without reason **/

I would like to know what the hack serves and how to activate it.

Thank you !
Last edit: 8 years 1 month ago by loic.
More
8 years 1 month ago #24335 by loic
Replied by loic on topic Triggers fire in CB Auto actions
Hello,

for what I've seen, the hack is here to add some field in the user registration of AdsManager.

You can do the same thing if you need.

Best regards.
  • elouan.robinet
  • Topic Author
  • Offline
  • User
  • User
More
8 years 1 month ago #24388 by elouan.robinet
Replied by elouan.robinet on topic Triggers fire in CB Auto actions
Hi,

How can i use the hack ? I just have to un-comment it ?

Best regards.
More
8 years 1 month ago #24399 by loic
Replied by loic on topic Triggers fire in CB Auto actions
Hello,

Yes you can uncomment it and remove the condition.
Please be aware that this is custom dev and might not be working as you want it to be.

Best regards.
Moderators: perry
Time to create page: 0.141 seconds
Powered by Kunena Forum