I want to view user id and page views in one report as the below:
client id with page views
I have created custiome user id and in the report I can't get pages users viewed. How can I do that?
This is not possible by deafult the only way you can archive this is creating a Custom Dimention and storing the UserID there.
Hope it helps!
Related
I have a dynamic page setup using elementor on wordpress. It shows up the data of a logged in user including their name, profile photo and other custom fields the user has. All is working well.
I was thinking if it's possible to change this content by passing the user id of the user via the URL.
So let's say the page url is. mysite.com/profile and if I want to show user data of user with ID "56", is it possible for me to pull their data by passing user id via URL? Like.. mysite.com/profile/?userid=56 ? Can this be done on wordpress?
Thanks for your time in advance.
I am kind a new to wordpress and need guidance. But understand PHP.
I need to add custom tables with data ( Repeater fields is optional/ HTML field ) in User's profile. User Cannot edit those data ( read only )
Data will be manually added from Admin Dashboard > Users. I assume there should be a field in there for admin to add those data
Then, User can read it from their profile page / Data presented in user's profile.
Those data will be something like a set of 3 tabs with Transaction list and history.So each user has different data.
I had searched but all only show tutorials on adding custom Field in User Registration.
Assistance please. Thank You
You can use Advanced custom fields for this. What you do is that you add a field to users add/edit page with ACF. If you have frontend user profile page. You can get the data from this fields with the function get_field('my_custom_field', $userID)
If you don't have and frontend user profile page, and will let your users go thru the "backend" profile page you will need to add som functions that disables so an user can't edit those fields if you don't want the users to edit them. You can do that with the filter add_filter('acf/load_field', 'my_filter);
The rest how you do this should you be able to find on ACF documentation page.
I'm working with a job vacancies site with drupal. There's a content type named CV and there are specific profile pages for specific users(I use Profile2 module).
What I want to do is when admin add a new CV for a specific user, that cv is posted on that user's profile page.
I can create cv content but can't link to that user's profile page.
I've find possible answers on google and can't find the right one.
Using the Views module, you can create a page view that displays nodes of type CV and uses the User ID (from logged in user or URL) as a contextual field, then set the path to something like "user/%/CV".
I want to create pages in WordPress, which should show to a specific user only not for specific role.
if a page is created for a specific user like "john". it should be viewed by only john, no other users could not see that page.
My Questions are:
How to create a page for a specific user? (from admin).
Note: while creating page we should assign that page to specific user like "john".
Is there any plugins for this?
Is there any way to do this.
-Srikanth.
I know that it is a bit late but still want to answer in case you need. Try to use http://wordpress.org/extend/plugins/user-specific-content/ plugin. You can customize your pages.
Just an idea:
Why not make a page template for that page? get current user id in the template then show the details depends on the user id? You can check is_user_logged_in() and pull all contents under the if statement and under the else statement you can redirect the user to the login page or just show the message to logged in.
Let me know if everything is clear. Thanks!
This can be done with ease using nav menu plugin and roles creator plugin.you can create roles with names of your clients and show menu items of user pages to specific roles/person
first time here. I have searched all day for my particular issue with no luck.
I have users that have specific roles auto generated (they purchase a game). I want to display files available to their particular role on their user profile page. I just want to know how I can add a generic view or associate a panel with user profile pages. I want this to display for every user, not on a per user basis. Basically it'll act like, say, direct2drive, you log in and go to your user profile basically and see what games you bought. Seems simple but I am having a heck of a time figuring out how to do this.
I am pretty used to using views but I just don't get how to edit the user profiles like I want to.
Thanks!
The simplest way is to install views_attach, and create a view with a Profile display. This displays the View on the user profile pages, rather than on its own page or in a block, and will pass the user's uid to the View as an argument.
Alternatively, if you're already using comfortable using panels, you can go to admin/build/panels and enable the Users panel. This replaces the user profile page with a panel, which you can add views, nodes and blocks to as normal.