The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

[Project] Last visitors on member profile

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

[Project] Last visitors on member profile

Post by JScript on February 28th 2015, 9:01 pm

First topic message reminder :

Note: This is not a tutorial and should be only for testing purposes!

Introduction:

Well, the code is very simple and everything is based on a small change in the profile preferences - visitor messages on profile and notifications - which makes it possible to transform the "Visitor messages" in a true database to store the "Latest Visitors"!;

Initial Configuration:

Members need to configure only two items in the profile, see below:
1- Go in the tab [Preferences] and find the option Allow visitor messages on my profile : and select (*) All members
Save this setting!
2- Then go on the tab [Notifications] and find the item The incoming of a profile message and uncheck both options
Save this setting!

Go to the ACP -> Users -> Profiles -> General Options -> Include signature in profile messages: No

Note: The profile should be in advanced mode.
If you have messages on your profile, you must remove them all.

Code:

Below is the code that should be added with placement "In all the pages":
Link: https://www.dropbox.com/s/kri9cp0nxxcg6lm/LatestVisitors.js?dl=1

Result:


So long,

JS


Last edited by JScript on February 28th 2015, 10:52 pm; edited 1 time in total (Reason for editing : *** Added support for deleting! ***)

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down


Re: [Project] Last visitors on member profile

Post by JScript on May 1st 2015, 4:15 pm

@Luffy

In the first time you visit a profile, you will see the following message:


The second time, the message disappears and in its place will appear the name of who's visiting.

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by Luffy on May 1st 2015, 5:53 pm

Hello @JScript,

I tried visiting a profile and then going somewhere else in the forum and then to my profile again and nothing appeared. It appears only when a message is posted. But shouldn't this be done automatically? I mean as soon as i post a message it shows the visits when i refresh. But if no one posts to my profile no visits come up.. Confused







Luffy
Manager
Manager

Male Posts : 4239
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Re: [Project] Last visitors on member profile

Post by Luffy on May 14th 2015, 10:48 pm

Hello @JScript,

Do we have any news on this?






Luffy
Manager
Manager

Male Posts : 4239
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Re: [Project] Last visitors on member profile

Post by JScript on May 14th 2015, 10:51 pm

@Luffy wrote:Do we have any news on this?
Yes, I'm sorry for not answering before, but I am testing a fully automatic installer for this code, similar to the installer staff chatting!

Soon,

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by APE on June 15th 2015, 2:41 pm

Hello @JScript Hello

I have installed this system on my forum and all looked to be working fine then all of a sudden all members on IE are saying that there Visitor messages Tab in the profile has gone so I hopped over to IE and ran a test and Yes they was right it was gone!! After playing about for some time I could not see why this was going on so I just turned it off until I got time to talk to you about it.
Screen Shots :
The system off shows

System on shows

Much thanks for any help you may have

APE




APE
Manager
Manager

Male Posts : 8614
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by JScript on June 15th 2015, 4:29 pm

@APE
Okay, this is due to the fact that this system is based on messages posted on 'Visitor messages' tab on member profile!

Read again what I said when I created the topic:
Well, the code is very simple and everything is based on a small change in the profile preferences - visitor messages on profile and notifications - which makes it possible to transform the "Visitor messages" in a true database to store the "Latest Visitors"!;
But I forgot to mention that only the admin is that it could visualize the 'Visitor messages' tab... Sad

But if you want to disable this feature, look for and remove this piece of code:


JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by APE on June 15th 2015, 7:32 pm

Thank you that worked but is there away to make a database to store the info in a forum like some thing hid in the staff room or something?




APE
Manager
Manager

Male Posts : 8614
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by JScript on June 15th 2015, 8:36 pm

@APE
Ok ...
Well, I hate to say the word "impossible", so I'm doing some improvements in this system!

Thank you for using the code,

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by APE on June 15th 2015, 11:48 pm

Just had an update on this problem and one member is still saying they have a problem seeing the system so i have removed it until you have done your update then i will give it a go again as i love this and really want to keep using it




APE
Manager
Manager

Male Posts : 8614
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by APE on July 4th 2015, 1:39 am

@JScript wrote:@APE
Ok ...
Well, I hate to say the word "impossible", so I'm doing some improvements in this system!

Thank you for using the code,

JS

I know your more then really busy but is there any update on you getting this to work in some other way then you have now ?




APE
Manager
Manager

Male Posts : 8614
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by JScript on July 4th 2015, 2:25 am

@APE
Hello!
Only a sketch of a code that will automate the entire process of installation and the database is formed by JSON...

Soon I will publish friend,

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by APE on July 4th 2015, 2:27 am

OK Cool Wink Just don't like to bother you as i know your really busy with all the good work you do here and other support forums.




APE
Manager
Manager

Male Posts : 8614
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by smurfavr on July 4th 2015, 10:46 am

@JScript
Why code does not work when Activate advanced profile ticked NOT?

smurfavr
Active Poster

Male Posts : 1416
Reputation : 11
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by JScript on July 4th 2015, 1:32 pm

@smurfavr
Because of not having the field "Visitor messages"...

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by smurfavr on July 4th 2015, 2:01 pm

Can it be made to work for him?

smurfavr
Active Poster

Male Posts : 1416
Reputation : 11
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by smurfavr on July 5th 2015, 10:37 pm

up

smurfavr
Active Poster

Male Posts : 1416
Reputation : 11
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by JScript on July 5th 2015, 11:43 pm

@smurfavr wrote:up
Hello!
I'm not sure, but I guess you don't need give "up" in this section...


Read: http://help.forumotion.com/t139335p30-project-last-visitors-on-member-profile#965069

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by SLGray on December 18th 2015, 4:24 am

Does this leave a visitor message that says last_visit? It looks like it only occurs in profiles that have this message:


There are no visitors, your visit will appear in the next update!


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by smurfavr on December 18th 2015, 7:53 am

I did not understand well what you say, but still does not account for users' visits my profile.

smurfavr
Active Poster

Male Posts : 1416
Reputation : 11
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by SLGray on December 18th 2015, 7:39 pm

Guys since JScript has not been on for a ling time, it might be a good idea to wait until he returns to post your questions.

But let me try to explain somehtings:

The codes is still in the testing phase.
It will only work properly if you do what is posted in the first post about members' profiles.
I believe the code is set up to post a visitor message to get the information to show you has a member who has visited the profile.
If you use the code in the first post of this topic, it will remove the visitor message tab from everyone except the founder.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by buddyboy5 on January 2nd 2016, 8:46 am

When I go to open the file I get this error: Expected identifier, string or number. Code: 800A0404 Source: Microsoft JScript compilation error.

How do I fix this?

buddyboy5
Forumember

Male Posts : 98
Reputation : 5
Language : English

http://gamingcs.net/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by Hagoromo Otsutsuki on April 16th 2016, 6:50 am

Doesnt seem to work.

Hagoromo Otsutsuki
Forumember

Male Posts : 525
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by smurfavr on April 16th 2016, 3:39 pm

@Hagoromo Otsutsuki wrote:Doesnt seem to work.
Yes

smurfavr
Active Poster

Male Posts : 1416
Reputation : 11
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Re: [Project] Last visitors on member profile

Post by Abdalah_98 on May 16th 2016, 8:15 am

@buddyboy5 wrote:When I go to open the file I get this error: Expected identifier, string or number. Code: 800A0404 Source: Microsoft JScript compilation error.

How do I fix this?

Open with notepad or wordpad Hello

Abdalah_98
Forumember

Male Posts : 32
Reputation : 1
Language : EN,AR
Location : Earth :D

http://uteach.forum0.net/

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum