Profile Visitors (4.1 Released | SMF 2.0 Compatible)

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

Previous topic - Next topic

Basie

Thanks. :)


So I can only have the latest 5? There is no way to change it to 10?

sorosh1

Hai,

I have a problem. If i want to aplley to mod then it gives me this:

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Sources/Profile.php Test successful
4. Execute Modification ./Themes/default/Profile.template.php Test failed
5. Execute Code database.php

I use SMF 1.1.4. And i dont know what is wrong?!
Someone with the same problem? Please help me!

Thanks,

sorosh

Eliana Tamerin

You'll have to manually edit the Profile.template.php file to install the mod. You have other mods conflicting with that area, that's why it gave an error.
Do NOT PM me for support.

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

[SiNaN]

Quote from: seek2501 on April 13, 2008, 10:01:06 AM
Thanks. :)


So I can only have the latest 5? There is no way to change it to 10?

That needs a couple of code changes.

Thanks again Eliana. :)
Former SMF Core Developer | My Mods | SimplePortal

Eliana Tamerin

For everyone who is having difficulty installing, the mod site has added a new feature which will explain how to manually install the mod for your SMF version of choice. Well, this mod only works for 1.1.4, so don't try 2.0 or any of the lower versions.

http://custom.simplemachines.org/mods/index.php?mod=1150.0

Select the Profile Visitors mod, SMF 1.1.4 version and click submit!
Do NOT PM me for support.

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

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

sorosh1

Quote from: Eliana Tamerin on April 13, 2008, 10:46:18 AM
For everyone who is having difficulty installing, the mod site has added a new feature which will explain how to manually install the mod for your SMF version of choice. Well, this mod only works for 1.1.4, so don't try 2.0 or any of the lower versions.

http://custom.simplemachines.org/mods/index.php?mod=1150.0

Select the Profile Visitors mod, SMF 1.1.4 version and click submit!

Thanks Eliana Tamerin! With al little bit playing with the script i managed to do it :D ;D

- danny

maybe i missed it, but do we need to do anything special to get this to work with ultimate profile?

Eliana Tamerin

Apply all edits that you would to Profile.template.php to UltimateProfile.template.php.
Do NOT PM me for support.

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

edi67

good working

one suggestion: Adding data/time of the last visit for each user that visited profile
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Sabre™

Quote from: [SiNaN] on April 13, 2008, 08:01:58 AM
Add $visitor_profile to the old summary function globals also.
Cheers mate. Worked like a charm :)

I also added that step, to the themes host site.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


[SiNaN]

Quote from: edi67 on April 15, 2008, 07:52:28 AM
good working

one suggestion: Adding data/time of the last visit for each user that visited profile

I'll add in the next version.
Former SMF Core Developer | My Mods | SimplePortal

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

JoshieDaMan

#53
I can't ever get this to work.

I constantly keep following all in here and stuff on how to get it work, couldn't. The issue is that the profile visitors won't display, it permanently saying "no visitors.".

Lord Anubis

@Joshie
Quote from: Lord Anubis on April 10, 2008, 09:10:07 PM
I got it working for the Ultimate Profile, Just make sure you add

$visitor_profile to the Ultimate Profile Template, for example:

function template_summary2()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix,$ID_MEMBER, $visitor_profile;

global $scripturl, $context;


You still haven't added this into the UltimateProfile.template.php that is why it shows no visitors

ne.miguelito

when I see a profile for the first time gives these errors in Forum Error Log

Undefined offset: 3
File: /home/nemigue/public_html/Sources/Profile.php
Line: 338

Undefined offset: 2
File: /home/nemigue/public_html/Sources/Profile.php
Line: 338

Undefined offset: 1
File: /home/nemigue/public_html/Sources/Profile.php
Line: 338

JoshieDaMan

Quote from: Lord Anubis on April 18, 2008, 07:22:20 PM
@Joshie
Quote from: Lord Anubis on April 10, 2008, 09:10:07 PM
I got it working for the Ultimate Profile, Just make sure you add

$visitor_profile to the Ultimate Profile Template, for example:

function template_summary2()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt, $db_prefix,$ID_MEMBER, $visitor_profile;

global $scripturl, $context;


You still haven't added this into the UltimateProfile.template.php that is why it shows no visitors
I did that.:P I did that before I reply in here about the errors.

ne.miguelito

Quote from: ne.miguelito on April 18, 2008, 09:50:45 PM
when I see a profile for the first time gives these errors in Forum Error Log

Undefined offset: 3
File: /home/nemigue/public_html/Sources/Profile.php
Line: 338

Undefined offset: 2
File: /home/nemigue/public_html/Sources/Profile.php
Line: 338

Undefined offset: 1
File: /home/nemigue/public_html/Sources/Profile.php
Line: 338


Somebody can help?

[SiNaN]

Do not be afraid. Your forum is fine. Its not going to die. :)

Try doing this:

../Sources/Profile.php

Find:
if ($visitor[$count] == $ID_MEMBER)
$check = $count;


Replace:
if (!empty($visitor[$count]) && $visitor[$count] == $ID_MEMBER)
$check = $count;


JoshieDaMan, your solution is coming 2 hours later.
Former SMF Core Developer | My Mods | SimplePortal

ne.miguelito

Thank you, now its fine...

Advertisement: