3.2 & 3.3 Extensions Database 3.2 / 3.3Member Profile Views

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Member Profile Views

Post by dmzx »

Read from here Who Visited This Topic

User avatar

Bruce Banner
Users
Users
Posts: 15
Joined: 18 Apr 2022, 00:00
    Windows 10 Firefox

Re: Member Profile Views

Post by Bruce Banner »

dmzx wrote: 10 Jul 2023, 17:15 Read from here Who Visited This Topic
dmzx wrote: 01 Mar 2023, 10:33Check it like this:

SHOW VARIABLES LIKE 'sql_mode';

And post the output here.
Capture.PNG
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by Bruce Banner on 10 Jul 2023, 18:16, edited 1 time in total.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Member Profile Views

Post by dmzx »


User avatar

Bruce Banner
Users
Users
Posts: 15
Joined: 18 Apr 2022, 00:00
    Windows 10 Firefox

Re: Member Profile Views

Post by Bruce Banner »

dmzx wrote: 12 Jul 2023, 19:08 Who Visited This Topic

Check above
The first command resulted in
Capture.PNG
I couldn't run the 2nd command. I don't have the right privileges.
Capture2.PNG
EDIT: It's alright, my host disabled ONLY_FULL_GROUP_BY for me and now everything's working fine. Thanks!
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by Bruce Banner on 13 Jul 2023, 17:56, edited 3 times in total.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Member Profile Views

Post by dmzx »

Bruce Banner wrote: 12 Jul 2023, 19:54
dmzx wrote: 12 Jul 2023, 19:08 Who Visited This Topic

Check above
The first command resulted in

Capture.PNG

I couldn't run the 2nd command. I don't have the right privileges.

Capture2.PNG

EDIT: It's alright, my host disabled ONLY_FULL_GROUP_BY for me and now everything's working fine. Thanks!
Thanks for the feedback :thumbup:

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Chrome

Re: Member Profile Views

Post by The Good »

How to change Last 100 members that viewed your profile by just Last 5 members that viewed your profile





THANKS

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 10 Firefox

Re: Member Profile Views

Post by ivailo95 »

The Good wrote: 05 Aug 2023, 23:21 how to change Last 100 members that viewed your profile by just Last 5 members that viewed your profile





THANKS
Check admin panel

GENERAL---->LOAD SITTINGS
Image
Scroll down and you will se this
Image
Feed like a disease
And bring them to their knees
They'll pay for their deceit

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Chrome

Re: Member Profile Views

Post by The Good »

THANK YOU my friend !!

User avatar

Fast_Eddie
Users
Users
Posts: 279
Joined: 15 Aug 2015, 20:25
    Windows 10 Chrome

Re: Member Profile Views

Post by Fast_Eddie »

Hey DM :)
Is there a permission somewhere in this ext that can toggle on/off the ability to view visits to a profile...as in:

Can view who visited profile

I can't seem to find it. If not could that be added?
:beers: Retirement 2024!

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Member Profile Views

Post by Sniper_E »

There are no permissions setup for who 'Can view member profile views.'

But in the memberprofileviews/styles/prosilver/template/event/memberlist_view_contact_after.html

Code: Select all

{% if MEMBER_PROFILE_VIEW and S_USER_LOGGED_IN %}
If you want only admins to see it

Code: Select all

{% if MEMBER_PROFILE_VIEW and U_ACP %}
Or use group numbers in your if statement.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Fast_Eddie
Users
Users
Posts: 279
Joined: 15 Aug 2015, 20:25
    Windows 10 Chrome

Re: Member Profile Views

Post by Fast_Eddie »

That's what I was looking for! Thank you Snip!!!! :buigen: :buigen:
Now I just need to learn how to deal with group numbers ( Also need this knowledge for edit's in magic )
Going to copy over your edits to my site for quick access

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Member Profile Views

Post by Sniper_E »

Now I just need to learn how to deal with group numbers.
For admins 5 and moderators 4 try:

Code: Select all

{% if MEMBER_PROFILE_VIEW and (S_GROUP_5 or S_GROUP_4) %}
I go into ACP Users and groups Manage groups and hover over Admin Settings. A &g=5 shows in bottom left url popup.
You can always find the group id number you need for your if statements there.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Member Profile Views

Post by martin »

Group id's will only work in templates if a core edit is done to the function.php file BUT with the power of cssmagic installed you can use group id's.

Hence the message
Cssmagic now allows you to use template vars in html files with out the need of the group template vars ext also magic does not need to be enabled for this to work.
Example:

Code: Select all

{% if S_GROUP_5 or S_GROUP_7 %} Testing {% else %} What ever. {% endif %}
Image

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Member Profile Views

Post by Sniper_E »

One !important thing we left out. The user needs to see how many visits to his/her profile.

Code: Select all

{% if MEMBER_PROFILE_VIEW and (U_ACP or S_GROUP_7 or S_USERNAME == USERNAME) %}

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Member Profile Views

Post by martin »

Custom version for you on mine try it.

Post Reply Previous topicNext topic