• Welcome to Simple Machines Community Forum. Please login or sign up.
October 25, 2021, 03:02:39 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Activity In Profile [Updated]

Started by live627, June 09, 2010, 09:29:56 PM

Previous topic - Next topic

live627

June 09, 2010, 09:29:56 PM Last Edit: June 17, 2010, 04:54:52 PM by Project Evolution
Link to Mod

This is a simple mod designed to display the member's activity (from the Who's Online feature) and display in the user's profile page, just like how its done in vBulletin. If you have any questions or problems, please message me at the official SMF community as user: Project Evolution or through here.

Changelog
  • Some 1.1.x users were getting errors, the modification has been updated to fix this.
  • The Ultimate Profile mod is now supported.



Created by Anthony Calandra/Project Evolution - 2010.

!RFAN

i installed it but i cant see any changes in members' profile...

Anthony`

June 10, 2010, 08:04:36 AM #2 Last Edit: June 10, 2010, 04:33:26 PM by Project Evolution
Are you using a different theme? It was tested so it should work.
EDIT: Fixed. :)

akbora

Congratulations...

That's good work.... Thanks
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Anthony`

No problem, thanks for using.

Liam.

This has been a Tip/Trick that's been around for a while but I've never played around with it myself. Good work turning it into a mod; it installs smoothly and works fine ;)

admirable

Great work. Congratulations. but only for two versions. 1.1.11, 2.0 RC3
My Website| JA Technologies
-----------------------------------------------------------------------
Do hard work, one day you will be awarded for that!
-----------------------------------------------------------------------

Anthony`

Thanks guys. And Liam I never really noticed it in the Tips and Tricks board myself, but I think some things should be made as mods because it would be much easier for people with limited PHP knoweldge to just install a modifications rather than hardcoding. Its quite easy, but its my first ever mod. :P

If you feel a need for other versions please dont hesitate to ask. But I personally do recommend switching to RC3 due to the many vulnerabilities found in RC2.

Liam.

Quote from: admirable on June 10, 2010, 05:16:56 PM
Great work. Congratulations. but only for two versions. 1.1.11, 2.0 RC3

The 2.0 RC3 version will work on RC2 aswell. The 1.1.X version will work on most 1.1.X versions. Why anyway, you should be on the latest versions for the updates.

Anthony`

Quote from: Liam. on June 10, 2010, 06:19:31 PM
Quote from: admirable on June 10, 2010, 05:16:56 PM
Great work. Congratulations. but only for two versions. 1.1.11, 2.0 RC3

The 2.0 RC3 version will work on RC2 aswell. The 1.1.X version will work on most 1.1.X versions. Why anyway, you should be on the latest versions for the updates.

Exactly, if the mod is shown as being compatible with only 2 versions of SMF, try different versions as well as most of the time it works.

!RFAN

Quote from: Project Evolution on June 10, 2010, 08:04:36 AM
Are you using a different theme? It was tested so it should work.
EDIT: Fixed. :)
ya m using custom themes...in fact 8 themes on my forum...
i installed the new version also..but i cant see anything on profile...

using smf2 rc3

thanks

Liam.

Do you have the Ultimate Profile mod installed?

Do you have custom Profile.template.php files?

Did it install without any errors?

twotonetwo

Quote from: Liam. on June 11, 2010, 03:05:38 AM
Do you have the Ultimate Profile mod installed?

Do you have custom Profile.template.php files?

Did it install without any errors?

does this not work with Ultimate profile then? i tried it on a modded theme (have UP mod) and nothing showed..
SMF 2.0 RC3  |  Tiny Portal 1.0 Beta 5.1

akbora

Can we seperate action=who with action view on profile?

Because who action is forbidden for normal members. But I want to show action on prifle to normal members, how can I do? In fact is it possible to add  permission feature?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Liam.

Quote from: twotonetwo on June 11, 2010, 07:03:56 AM
Quote from: Liam. on June 11, 2010, 03:05:38 AM
Do you have the Ultimate Profile mod installed?

Do you have custom Profile.template.php files?

Did it install without any errors?

does this not work with Ultimate profile then? i tried it on a modded theme (have UP mod) and nothing showed..

They both use different profile templates, UP and the regular profile. It'll work fine without the UP mod; but I'll post up a fix later today...

!RFAN

ya i use UP
and no... my custom theme dsnt use seperate profile.template.php
and there were no errors while installation
thanks

Anthony`

Quote from: akbora on June 11, 2010, 09:49:51 AM
Can we seperate action=who with action view on profile?

Because who action is forbidden for normal members. But I want to show action on prifle to normal members, how can I do? In fact is it possible to add  permission feature?

As a matter of fact, this mod respects the permissions for whos allowed to view the Who's Online and who doesnt:
// Display the member's current activity
if (isset($context['member']['action']) && allowedTo('who_view')) {


@Amigozone, if you can, would you please attatch your Profile.template.php file?

Liam.

Quote from: Project Evolution on June 11, 2010, 03:59:28 PM
Quote from: akbora on June 11, 2010, 09:49:51 AM
Can we seperate action=who with action view on profile?

Because who action is forbidden for normal members. But I want to show action on prifle to normal members, how can I do? In fact is it possible to add  permission feature?

As a matter of fact, this mod respects the permissions for whos allowed to view the Who's Online and who doesnt:
// Display the member's current activity
if (isset($context['member']['action']) && allowedTo('who_view')) {


@Amigozone, if you can, would you please attatch your Profile.template.php file?

He's using Ultimate Profile, he'd have to attach his UltimateProfile.template.php file instead...

IDunc

While using Ultimate Profile, the Activity in Profile just doesn't show up in the profile. That is the only problem. It works with the normal profile though.


Anthony`

Is this with SMF 1.1.x, 2.0 RC3 or both?

Advertisement: