vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Profile Views On Forumhome (https://vborg.vbsupport.ru/showthread.php?t=226826)

Lianelli 10-26-2009 06:05 PM

Profile Views On Forumhome
 
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

Quote:

Originally Posted by Lianelli (Post 1906523)
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

Code:

'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!


All times are GMT. The time now is 05:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01649 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete