I'm not really familiar to alfresco, so I wish that the question will not bother everyone. However I hope for your help.
When I create a trial user for alfresco by webscript, but I want the user will be delete after 30 days trial. How can I do that? Can anyone give me an idea? (I hope that I will not have to use java-backend webscript because I never do it before.)
Thanks you very much!
You could use a scheduled custom action triggered every day that checks if some user has been created more than 30 days ago. For the custom action you should see my blog, or just google it, you'll find a lot of material about.
If you need some help with the javascript action that is triggered, just let us know.
Related
I have an issue with woocommerce. I am new to woocommerce as well as wordpress, but need to check if the current user is in trial period or already renewed user.
I hope you would like to teach me kindly.
Currently I am using action hooks in woocommerce, woocommerce_subscription_status_changed exactly. This hook function does have parameter $subscription, which might be able to give me that info, I believe.
Is there a function like wcs_is_in_trial?
Thanks,
Alexis
Hello people of stackoverflow.
I want to know if maybe anyone of you knows, if there is a plugin that can set available/unavailable dates including hour schedule in calendar, so the customer can choose her appointment.
I already got the form, but the list for available dates is written in so you have to manually edit them in code and it would be so much better if editing is possible directly on wordpress. So instead of choosing the dates from option values i would like to have a popup calendar and available hours for that day.
Any help or guidance to help would be much appreciated.
There is a software you can implement into your wordpress that works as you have described, it's called "Salonized", maybe it will help.
I am trying to make Woocommerce communicate the buying order to a particular URL when you buy something. I have an RP on that URL with a program that does some math with the data to display different things to the user.
I have been trying to find the answer to my question on how to achieve this for a few days but I canĀ“t seem to find it. I don't know if there is a really simple way or if, on the contrary, this takes a lot of work.
Thanks in advance!
Q1: I would like to know for how long time a project (url/id) is stable and available on meteorpad.
I would like to create running test pads which can be stored as examples or details for descriptions in issue trackers and knowledge boards like GitHub or MeteorForum.
So if I save a link to the meteorpad project in a post, is this safe that also in next future someone can have a look at this? This would be often much better than just to copy parts of the sources to your own entries.
Q2: Is there a difference (overall pad life time) if you create the pad as a registered user or not?
Thanks for feedback
Tom
Have found the info about the MeteorPad launch on this page : https://www.meteor.com/blog/2014/09/01/meteorpad-meteor-code-playground
Have twitted the created, Mike Risse with your question. I'll let you know if he replies. Or you can check yourself my tweet here : https://twitter.com/geniium/status/593841039783366657
Cheers!
I am working on a little mobile app for facebook and have been studying the Facebook Api's for weeks now.
My problem I need help with is comments, I have my app retrieving them via post_id/comments?access_token=**&limit=10 but the problem with this way is that the comments are being sent oldest first, so if i wanted to get the newest comments and there were 200 comments i'd have to call the api because of pagination 19 times to get the most recent. Is there any way of telling the graph api to send the newest comments first? I really want to avoid having to get all the comments at once just to sort them myself - sometimes there are over 2000 comments.
I did a little experimenting with fql last night and found I was able to specify ORDER BY time in the query and also LIMIT and less than time to do my own kind of pagination. The problem with this way is that the person name (who had made the comment) isn't returned, only an id for that person. Please correct me if im wrong but that would then mean having to make a call to the api to find out the name of the commenter for each comment made on a post - again sometimes over 2000. I think this is not a solution for mobile.
I just want my app to show comments newest first. Please can any one of any advice?
Regards
http://developers.facebook.com/docs/reference/rest/fql.multiquery/