Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2009, 06:05 PM
Lianelli Lianelli is offline
 
Join Date: Sep 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-26-2009, 06:21 PM
doa24uk doa24uk is offline
 
Join Date: Feb 2008
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-27-2009, 05:16 PM
Lianelli Lianelli is offline
 
Join Date: Sep 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 10-27-2009, 05:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lianelli View Post
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.
Reply With Quote
  #5  
Old 10-29-2009, 08:54 AM
Lianelli Lianelli is offline
 
Join Date: Sep 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-29-2009, 03:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 10-29-2009, 06:20 PM
Lianelli Lianelli is offline
 
Join Date: Sep 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 10-30-2009, 08:15 PM
Lianelli Lianelli is offline
 
Join Date: Sep 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also willing to pay if it can't be created for free. Just contact me!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:40 PM.


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.04220 seconds
  • Memory Usage 2,224KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete