News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Profile Visitors (4.1 Released | SMF 2.0 Compatible)

Started by [SiNaN], April 09, 2008, 12:44:17 AM

Previous topic - Next topic

[SiNaN]

Quote from: 2Ntense on May 12, 2008, 07:53:35 AM
Got it, thanks!  I corrected the XML so I could uninstall/upgrade it again later.  It looks like it'd duplicate that line every time you uninstall if you patch Profile.php.

It takes a back-up if you turn it on.
Former SMF Core Developer | My Mods | SimplePortal

2Ntense

Yeah, but unless I'm mistaken the system doesn't actually USE the backup file for anything... it's purely a 'just in case I really screw this up I can go back' feature.  I've looked and haven't seen anything in the Admin CP that says 'replace modified files with backup files'.

The package uninstall goes through the install process in reverse, it finds the changed lines in the XML and returns them to the original.  If you patch the changed file by hand and then uninstall, sometimes it fails the uninstall and sometimes it does other odd things (like duplicate a line in this case).

[SiNaN]

That exactly works like that.
Former SMF Core Developer | My Mods | SimplePortal

msvdm

Quote from: [SiNaN] on May 03, 2008, 02:43:17 AM
Quote from: edi67 on May 02, 2008, 03:54:50 PM
is possible have this soon for smf 2? thx

I hope so. Searching for time.

Sinan any news, i hope you will find soon free time  :) the mod looks grate i cant wait to try at on my forum

L.G.S

Could you make this for 2.0 Beta? It looks excellent.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Eliana Tamerin

I'm sure SiNaN will update it, probably after his finals.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

L.G.S

Sorry, I was reading from page one when I posted.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


TimDoe


Quote from: [SiNaN] on May 12, 2008, 02:31:56 AM
Quote from: 2Ntense on May 11, 2008, 10:54:33 AM
Is it just me or did the latest 3.0 update crash the  [Add To Buddy List] link??

I have a relatively clean 1.1.5 fresh install, and when I uninstall v2.1 and install v3.0, the  [Add To Buddy List] link disappears off of the member's PROFILE SUMMARY page when I view it.  I uninstall v3.0 and drop back to v2.1 and the  [Add To Buddy List] is there again.

The link is on the  Current Status: Online|Offline  [Add To Buddy List] line in the profile.

That's a bug for the 3.0 version. This is the fix:

Profile.php

Find:

'can_delete_visitor' => allowedTo('profile_delete_visitor'),
'can_view_visitor' => ($context['user']['is_owner'] && allowedTo('profile_view_visitor_own')) || allowedTo('profile_view_visitor_any'),


Replace:

'can_have_buddy' => allowedTo('profile_identity_own') && !empty($modSettings['enable_buddylist']),
'can_delete_visitor' => allowedTo('profile_delete_visitor'),
'can_view_visitor' => ($context['user']['is_owner'] && allowedTo('profile_view_visitor_own')) || allowedTo('profile_view_visitor_any'),allowedTo('profile_view_visitor_any'),


Will be fixed in the next version which will be released in a week.

This fix doesn't seem to be working for me for some reason.

[SiNaN]

Was the link available before you installed the mod?
Former SMF Core Developer | My Mods | SimplePortal

Eliana Tamerin

Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

2Ntense

Quote from: TimDoe on May 24, 2008, 11:24:44 PM

'can_have_buddy' => allowedTo('profile_identity_own') && !empty($modSettings['enable_buddylist']),

This fix doesn't seem to be working for me for some reason.

Check manually and make sure the 'can_have_buddy'... is there, 'cos it worked for me.

wilsy

Hi Sinan,

Do you have any code to display profile visitors in a TinyPortal block?

Regards,

Wilsy.



Busy RewindBikers offered to Good Home! 1000+ members, loads of mods, SMF Gallery PRO, TinyPortal installed with great use of blocks, ultimate profiles, PAID SUBSCRIPTIONS (works flawlessly), great theme, 1,500 posts per month - PM or email me if interested.

[SiNaN]

Quote from: wilsy on May 31, 2008, 02:59:38 PM
Do you have any code to display profile visitors in a TinyPortal block?

Do we really need that?
Former SMF Core Developer | My Mods | SimplePortal

wilsy

Quote from: [SiNaN] on June 01, 2008, 04:21:31 AM
Quote from: wilsy on May 31, 2008, 02:59:38 PM
Do you have any code to display profile visitors in a TinyPortal block?

Do we really need that?

It would be a great feature at my site as I can display their latest profile visitors in a front page block once they have signed in. Check out my site, you will see how well it would work.

I bet Lord Anubis would like it too!! (;

Regards,

Rick.



Busy RewindBikers offered to Good Home! 1000+ members, loads of mods, SMF Gallery PRO, TinyPortal installed with great use of blocks, ultimate profiles, PAID SUBSCRIPTIONS (works flawlessly), great theme, 1,500 posts per month - PM or email me if interested.

Lord Anubis

Quote from: wilsy on June 01, 2008, 08:59:04 AM
Quote from: [SiNaN] on June 01, 2008, 04:21:31 AM
Quote from: wilsy on May 31, 2008, 02:59:38 PM
Do you have any code to display profile visitors in a TinyPortal block?

Do we really need that?

It would be a great feature at my site as I can display their latest profile visitors in a front page block once they have signed in. Check out my site, you will see how well it would work.

I bet Lord Anubis would like it too!! (;

Regards,

Rick.

I think that would be a pretty nifty lil block code ;)

August94

I have problem I installed it in the Package Manager but still the Mod won't appearing or working. :(

[SiNaN]

Quote from: August94 on June 06, 2008, 04:28:28 AM
I have problem I installed it in the Package Manager but still the Mod won't appearing or working. :(

Have you enabled it from the Features and Options?
Former SMF Core Developer | My Mods | SimplePortal

mikemikemike

Great Mod!

It's work fine.
Now i have see the last 5 visitors.
Is it posible to set it to 10 visitors?

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

†MavN†


Advertisement: