[Project] Last visitors on member profile
+11
buddyboy5
SLGray
smurfavr
Ape
TheCrow
YoshiGM
FrOsTyXi
CovalentBond
Tonight
Van-Helsing
JScript
15 posters
Page 1 of 3
Page 1 of 3 • 1, 2, 3
[Project] Last visitors on member profile
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
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! ***)
Beyonder likes this post
Re: [Project] Last visitors on member profile
Hello @JScript,
Very nice function, but is not working on my forum
Very nice function, but is not working on my forum
Re: [Project] Last visitors on member profile
@Black-Shadow
Which version of your forum?
Check the steps again below:
Go into edit my profile and:
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!
3- Note: The profile should be in advanced mode.
Note: It has a detail: Members wishing this function should change the profile settings that I mentioned above
Thanks for the info,
JS
Which version of your forum?
Check the steps again below:
Go into edit my profile and:
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!
3- Note: The profile should be in advanced mode.
Note: It has a detail: Members wishing this function should change the profile settings that I mentioned above
Thanks for the info,
JS
Re: [Project] Last visitors on member profile
Hello @JScript,
Yes the profile is in advanced mode and here are the settings:
Where is the tab notifications?
Yes the profile is in advanced mode and here are the settings:
Where is the tab notifications?
Re: [Project] Last visitors on member profile
@Black-Shadow
For all members, the default value of this option Allow visitor messages on my profile is (*) My friends
Unfortunately I do not know if you can change the value so that all members can be as shown below:
If members do not exchange the value as shown above, only your friends will they show the list of "Last Visitors"!
JS
For all members, the default value of this option Allow visitor messages on my profile is (*) My friends
Unfortunately I do not know if you can change the value so that all members can be as shown below:
If members do not exchange the value as shown above, only your friends will they show the list of "Last Visitors"!
JS
Re: [Project] Last visitors on member profile
@JScript,
I have made this change in my profile
and save it, but it is still says there are no visitors as you can see below
I have made this change in my profile
and save it, but it is still says there are no visitors as you can see below
Re: [Project] Last visitors on member profile
Just tested it and what can I say... you've managed to create another great feature, what seemed impossible not so long ago. Works great in phpBB3.
Tonight- Forumember
- Posts : 312
Reputation : 80
Language : Estonian, English, Russian
Location : Estonia
Re: [Project] Last visitors on member profile
@Tonight
Thank you for feedback and image bro!
@Black-Shadow
Okay, in that case, who has visited your profile will be registered!
But for you to visit a profile in which the member is not your friend, will not show up!
But I will solve this "problem" ...
JS
Thank you for feedback and image bro!
@Black-Shadow
Okay, in that case, who has visited your profile will be registered!
But for you to visit a profile in which the member is not your friend, will not show up!
But I will solve this "problem" ...
JS
Re: [Project] Last visitors on member profile
@JScript I am visiting a friend account but no visitors are displaying, my forum version is PunBB if that can help you.
Re: [Project] Last visitors on member profile
@JScript I send you pm.JScript wrote:@Black-Shadow
Interesting ... Can you pass the board address where you added the code?
JS
Re: [Project] Last visitors on member profile
@Black-Shadow
There is an error in some code that you added with placement "In all the pages", see:
First you will need to fix this error...
JS
There is an error in some code that you added with placement "In all the pages", see:
First you will need to fix this error...
JS
Re: [Project] Last visitors on member profile
I really want this but every time I try to open it, it says windows has a script error. Can you possibly PM me the code/codes?
Guest- Guest
Re: [Project] Last visitors on member profile
Hello!Luke Spike wrote:I really want this but every time I try to open it, it says windows has a script error. Can you possibly PM me the code/codes?
You could post a "print" of your screen?
A picture speaks more than a thousand words,
JS
Re: [Project] Last visitors on member profile
@JScript love this on eissue how can i change the color here?
I can't right click to inspect element.
I await your response.
Regards
FrOsTyXi
I can't right click to inspect element.
I await your response.
Regards
FrOsTyXi
Re: [Project] Last visitors on member profile
FrOsTyXi wrote:@JScript code has been added back for your testing
Ok, now I just need someone to visit your profile, because the message is showing up is: "There are no visitors"
JS
Re: [Project] Last visitors on member profile
Ok @FrOsTyXi, add the following CSS:
Result:
So long,
JS
- Code:
table.forumline {
background-color: inherit !important;
border: unset !important;
}
.inner.main-head.main-content.clearfix.box-content.profile.center {
background: none repeat scroll 0 0 #f7fbfc !important;
border-radius: unset !important;
margin-bottom: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
margin-top: -1px;
}
#lastvisit .message-date {
font-size: 11px !important;
}
Result:
So long,
JS
Re: [Project] Last visitors on member profile
@JScript that was perfect!, now is there a reason for not updating when a profile gets viewed? I have all the settings as you have instructed.
Regards
FrOsTyXi
Regards
FrOsTyXi
Re: [Project] Last visitors on member profile
@JScript this is the error I am getting: http://prntscr.com/6zmcilJScript wrote:Hello!Luke Spike wrote:I really want this but every time I try to open it, it says windows has a script error. Can you possibly PM me the code/codes?
You could post a "print" of your screen?
A picture speaks more than a thousand words,
JS
Guest- Guest
Re: [Project] Last visitors on member profile
@Luke Spike
Of the four times you downloaded the file, in all of them you just tried to run it!!!
Do the following:
1- Open Notepad, locate the file and open it, select all content and then copy;
2- In your ACP: Modules -> HTML & JAVASCRIPT -> JavaScript codes management -> [Create a new JavaScript]
* Title: <- Whatever you want
Placement: <- In all the pages
* Javascript Code: <- Paste the code here!
3- You can close Notepad.
Really a picture is worth than a thousand words...
JS
Of the four times you downloaded the file, in all of them you just tried to run it!!!
Do the following:
1- Open Notepad, locate the file and open it, select all content and then copy;
2- In your ACP: Modules -> HTML & JAVASCRIPT -> JavaScript codes management -> [Create a new JavaScript]
* Title: <- Whatever you want
Placement: <- In all the pages
* Javascript Code: <- Paste the code here!
3- You can close Notepad.
Really a picture is worth than a thousand words...
JS
Re: [Project] Last visitors on member profile
I'm so dumb lol! How did I forget about that! Well, thanks!JScript wrote:@Luke Spike
Of the four times you downloaded the file, in all of them you just tried to run it!!!
Do the following:
1- Open Notepad, locate the file and open it, select all content and then copy;
2- In your ACP: Modules -> HTML & JAVASCRIPT -> JavaScript codes management -> [Create a new JavaScript]
* Title: <- Whatever you want
Placement: <- In all the pages
* Javascript Code: <- Paste the code here!
3- You can close Notepad.
Really a picture is worth than a thousand words...
JS
Also: How do I change the font of the title in CSS. http://prntscr.com/6zt48g
Guest- Guest
Re: [Project] Last visitors on member profile
Hello @JScript,
I added this function to a phpbb2 forum to test it out and the visitor won't display unless they posted something to their profile. Is this how it is supposed to work or not?
Because i wanted to display any member that visits the profile..
Thanks,
Luffy
I added this function to a phpbb2 forum to test it out and the visitor won't display unless they posted something to their profile. Is this how it is supposed to work or not?
Because i wanted to display any member that visits the profile..
Thanks,
Luffy
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Page 1 of 3 • 1, 2, 3
Similar topics
» Profile Visitors..
» Recent Profile visitors
» How to hide users' personal profile to visitors?
» CSS & HTML Profile/Passion Project
» Is it possible to add a comment on a Visitors profile comment?
» Recent Profile visitors
» How to hide users' personal profile to visitors?
» CSS & HTML Profile/Passion Project
» Is it possible to add a comment on a Visitors profile comment?
Page 1 of 3
Permissions in this forum:
You cannot reply to topics in this forum