Joomla AEC component trigger user updation - components

I have installed the AEC(Account Expiration Control) component in my Joomla(2.5) website. I want to add a micro-integration script to run when the User register to the site or while updating the profile information. I have checked the example integration script and found that the
on_userchange_action
method is triggered when user register or update his details.
How can I trigger this method when editing a user using Admin user. I have tried to edit the user in 3 places.
Joomla User Manager
Jom Social User Manager
AEC Members
Any help is appreciated.

I am not familiar with AEC but to trigger an action you can check if building a plugin that is triggred by for example by:
onUserAfterSave

Several events have been renamed for Joomla 2.5, here is the list of current Joomla event triggers -
http://docs.joomla.org/Plugin#Events
The one you are looking for is probably onAfterStoreUser

Related

How to get user activity?

I am trying to create a custom portlet in Liferay 7.2 that shows an activity feed of the user. I want a feed of the activity that consists of creation, updates or deletion of pages by the user logged in.
I know that we have a "Profile" widget that shows the social activity of the user, but I want to show the "site activity".
Is this possible? And if case this is possible, where should I start?
Nothing out of the box for this kind of features in the community edition.
For DXP version, look at this post: https://liferay.dev/forums/-/message_boards/message/94584688
To implement something custom, start from here: https://github.com/amusarra/liferay-portal-security-audit

Hybris SmartEdit - grant user edit rights just for one content page

I'd like to let some of our staff edit one of the pages on our website which is build on SAP Hybris 6.7, but I can't find the way to achieve this.
For example one of the pages has Page ID cmsitem_00016005 (see atached screenshot) and I'd like the user to be able to login to SmartEdit and then edit ONLY this page. Is this even possible?
JF
Smartedit screenshot for cmsitem_00016005
Authorization working type based in hybris. You can create new page type (item.xml) then set rights for it.
Dirty solution: using validator for checking custom user rights.

IBM Maximo 7.5 How to force a user to logout with action or automation script?

In Maximo 7.5 - Is it possible to force a user to logout using actions or automation script? The case scenario is - User follows the workflow and automaticaly gets logged out after the last action.
Thank you!
I've checked the presentation xml and found the answer, it takes about 3 minutes. Your mxevent is - signout. Just in case, next time try to explore all sources u have.

NetSuite Echosign Customization

I'm new to Netsuite and Adobe EchoSign and coming from .NET background. My Client is a NetSuite cloud Customer and using Adobe Echosign App inside their forms.
Now, they want to change the behavior of Echosign. i.e., when the user clicks the 'Send For Signature' button, they want to take a different action in the next page like automatically sending the mail to customer based on some condition instead of clicking the 'Send For Signature' button again in the next page.
I would like to know.
1. What are my options here?
2. Should I get a Netsuite App developer license to make those modifications
3. Can I change anything realted to Adobe Echosign script code?
Any guidance will be helpful. I want to find whether I can handle this task.
1. What are my options here?
I believe you will want to use SuiteScript to hide the default Send for Signature button and then write new code to create a new custom button to serve your purpose. That way you'll be overriding the default Send functionality. You'll create a script to display the button, and another to react to it being clicked.
2. Should I get a Netsuite App developer license to make those modifications
Yes and no. :) You will need to be granted login access on your Client's NetSuite account to develop and test these scripts. Ideally, they will have a sandbox account. If you do get a developer license, you could use your account for testing / learning so you don't mess up their NS account.
3. Can I change anything realted to Adobe Echosign script code?
No, it's a "managed" bundle and that would be bad practice even if you could. Instead, you will want to determine which of their SuiteScripts are called when their Send button is clicked, and then figure out how you can call the scripts from your script. I believe they have a script or two that handles all communication with their web service so that's your best bet.
Good luck.

Development questions related to Liferay 6

I am using Liferay version 6.06. I have developed a Login Portlet using Liferay plugins SDK under which the View JSP consists of a login screen. Upon submitting credentials from this view JSP it will be received by the processAction Method of my Custom Portlet class. All this works good.
I have two questions:
Currently the Login Portlet is being part of Sample Category under Liferay screen (I want to have my own screen, where initially upon entering http://localhost:8080/mycontext, I want to show that Login screen).
And once the credentials are received inside the processAction method of my Custom Portlet class, I want to display my own two portlets.
Could anybody tell me how to achieve this?
Beside you don't need a customized login for your Usecase, in case you still need to customize the login process you should:
build a hook which is a kind of plugin able to interact with Liferay's core functionalities.
In case you don't know take a look [here] http://www.liferay.com/it/documentation/liferay-portal/6.0/development/-/ai/hooks
or just use the property login.events.post=my.custom.PortletAction
and put your business logic after successfull user login

Resources