View Full Version : Profile Views On Forumhome
Lianelli
10-26-2009, 06:05 PM
Hey coders,
I'd like to see the total profile views, or even more - the profile views since last visit, on the forumhome.
Already tried to find the code in members.php and put it in the index.php but I only get error codes and blank pages. I'm not good at php ;)
Can someone create this for me?
-Dave
doa24uk
10-26-2009, 06:21 PM
do you mean profile views for that particular logged in user (so guests wouldn't see anything) or total profile views for the entire board
ie.
user 1 - Views = 10
user 2 - Views = 15
User 3 - Views = 5
Total displayed on forumhome - 30 views
Lianelli
10-27-2009, 05:16 PM
I mean profile views for the user him/herself. ie the one who's logged in.
It's meant to trigger people to update their profile more often, especially since we have many, many modifications on our profile pages!
-Dave
Lynne
10-27-2009, 05:34 PM
Hey coders,
I'd like to see the total profile views, or even more - the profile views since last visit, on the forumhome.
Already tried to find the code in members.php and put it in the index.php but I only get error codes and blank pages. I'm not good at php ;)
Can someone create this for me?
-Dave
Post the code you tried and tell us what hook location you used and we can see what is wrong.
Lianelli
10-29-2009, 08:54 AM
'visitors' => array(
'class' => 'RecentVisitors',
'title' => $vbphrase['recent_visitors'],
'options' => array(
'profilemaxvisitors' => $vbulletin->options['profilemaxvisitors']
)
),
Didn't come further than that. It's that code that should be placed somewhere in index.php But if it's going to work then???
Like I said, I'm such a n00b at php.
Lynne
10-29-2009, 03:54 PM
That code won't do a thing for you. It looks like just some code used to define an array. I'm not sure exactly what you want, but perhaps someone will come along and understand it and help you out with your code.
Lianelli
10-29-2009, 06:20 PM
Hmm, ok. I do hope so.
I want to have a mod that displays the total number of profile views, as currently on the members' profile, on the forumhome. Already discovered that I need to add code to the index.php file to do that.
Also want to have something that counts profile views since last visit, and also display that on the forumhome.
Greetings,
-Dave
Lianelli
10-30-2009, 08:15 PM
Also willing to pay if it can't be created for free. Just contact me!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.