Full author transaction history in Plone - plone

Is there a way to view an authors full transaction history in Plone?
The use case is that i would like to see which user accounts are actually being used, if they have been active, and what parts of the site they are working with/on.
I can visit a particular user account at <site>/author/<username> and this will show me 'Latest content created by this user' as well as a link to 'All content created by ...' but this doesn't show all their transactions eg publishing items, editing existing objects etc.
Is there a way to see the full history of everything a user has done over time?

No, there isn't that feature natively in Plone. The author view is simply performing a catalog search with Creator index.
Try to take a look at https://github.com/collective/collective.auditlog (no official release yet). But note that this add-on will store data on external db.

Related

Place order button to automatically download

I'm new here and was directed to try this forum for my quandary with WooCommerce.
I’ve created downloadable products that are free. – I’m using Storefront WooCommerce Theme for WordPress.
– Before the download is available I would like the users information ie: email, name. I’m using the checkout page (place order) for this and bypassing the cart. So instead of collecting payment I’m collecting contact info. I have customized that page and buttons to only gather the information required for download.
– Once they enter the information they are able to download the file, but only from a different page (another click). I’d like download to automatically download on the place order button click.(I've changed the text to read: download specifications)
In summary:
– I would like to have the file download automatically without the place order summary page more of a thank you for your interest page.
Any suggestions would be much appreciated. Thank you again for any help you can give me.
I'm not sure why the negative votes, I thought this was a place to share and find answers.
I did a work-around which works for now. I may revisit this later. There are still 3 clicks but the flow is a lot nicer.
• I copied the woo thank you php check out template to my child theme and made some custom changes to eliminate the extra order information
• changed button title for smoother flow while still gather the user information in my order information.
• I can trim the template even more but that will take a while because the download function is attached to the order table which is actually the information I want to record.
• Then, I thought about attaching a form to the button at the single product page to capture the user info but that opens another can of worms in record keeping since it won’t populate the order table.
What I wanted to do requires lots of heavy lifting which will take some time for me to figure. If I come up with the answer to my original question I will share with the forum.

Drupal 6.x Add More Module - No end to adding more

Simple question for all of you here dealing with Drupal 6.x...
With Drupal's Add More module, is there a way to configure my webform so that there is no limit on how many of a specific fields I can add more of?
Please see my image for example:
For example, I'd like to enable the user to add as many titles as they would like. Is that doable?
Unfortunately, it's not currently possible to add unlimited "add another" functionality with webforms. And if this functionality does become a reality someday, I doubt it will be backported to the Drupal 6 version of the module. From the webform modules author (quicksketch):
there is no progress on this subject. The ability to support multiple
values requires a tremendous amount of re-architecting, including
changes to the way CSVs are generated, analysis, the database
structure, and the UI (both for administrators and users). I wouldn't
expect this feature to be added any time soon.
See this thread for more information:
http://drupal.org/node/354381
I would suggest using a node and the CCK module plus rules and views to collect this information.
Assumptions:
Anonymous users can fill out the current form
You need some way of retrieving the data that is submitted
Regular users of the site should not be able to view submissions
Very loose directions:
Create a content type and add all of the fields that your current webform contains to it. CCK has the ability to store unlimited values out of the box. On the field settings page, inside the Global Settings fieldset, select "Unlimited" for the "Number of Values" field.
Give anonymous users permission to Create [your-new-content-type] Content on the Role Permissions page.
Using the Rules module, create a new triggered rule that fires on "Content is about to be viewed" with an condition "Content has type [your-new-content-type]" and an action of redirect to homepage (or a custom error page that you created). (Note: this is a bit of a performance hit. There are better ways to restrict access to this content type, but for the sake of this tutorial, this was the easiest to explain)
Using the Views module, create a new view with Style set to Table. Add each of the fields in [your-new-content-type] in the fields section. Under "Access" choose "role" and select the role that is assigned to your user. Add a "page" display, give it a Path and save. This is the page you will use to view submissions.
Optional:
Use the Rules module to send yourself (or the submitter) an email when a node of [your-new-content-type] is created.

Presenting user editable fields from Wordpress Database

I'm currently in the process of writing my first Wordpress Plugin, which is extending WPmembers. Essentially, the logic flows as follows.
User logs in
Database is referenced to see if this is their first login, if true..
The user is presented with an information verification screen... once verified
Information goes to Salesforce via POST.
My issue is with step three, while I understand displaying fields from the database, I'm unsure of how to make those fields editable by the user.
Any tips? I'm sure this has been done before but after several days of googling I've been unable to find a use case that's similar enough to mine to be put to use.
This should help:
Adding and using custom user profile fields
Published by Justin Tadlock on September 10, 2009

Searching users and showing user records in Plone

I want to implement search functionality in plone. Search depending on users , users email. Want to display user full details.
Is there any existing add on which I can use (or) I have to write my own code.
Plone does not do "users by content" by default.
User objects are not registered as content
Thus, the standard Plone search functionality does not cover users
If you wish to make users visible for everyone and searchable
There is add-on http://pypi.python.org/pypi/Products.remember/ which will turn users to content items and this serve some niche use cases
Alternatively, you can write your own search box view like Users/Group page in Site setup does
If you need members to be public on your site I would suggest take a look on Products.remember. It will also give you the ability to extend user records through Archetypes content subsystem and make them subject to workflow menu (have different states for members like disabled, registered, etc.)
http://collective-docs.readthedocs.org/en/latest/content/archetypes/index.html

How to store user's first-name and last-names in Drupal?

I can not see a first-name or full name field in Drupal's create/edit user form. I am using Drupal 6. How do I store a user's full name in it?
You will need to enable the Profile module for that. This module lets you add fields to users.
See information about the module in the handbook, and some nice instructions here (under "Adding special properties to user profiles").
Drupal supports fully configurable profiles. Turn on the module (it's in core) and navigate to /admin/user/profile to add/edit fields.
Use Drupal's built-in profile module.
I realize that everyone's suggesting the profile module, and I agree that that will work fine on small enough sites, if you don't have too many user profile fields and not too many users... but it can be a hog on larger sites.
I'd also point out the Content Profile module, which allows you to create a node type and use it to extend the user's information that way, which also has the advantage of giving you the width and breadth of CCK for creating fields, instead of being stuck with profile's limited selection.

Resources