vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Is it possible to move recent visitors to the UserCP area? (https://vborg.vbsupport.ru/showthread.php?t=271474)

designco2 10-05-2011 01:21 PM

Is it possible to move recent visitors to the UserCP area?
 
I would like to HIDE all recent visitors from public but allow the profile owner to see this information. Is it possible to hide this from everyone but the owner of the profile (or) move this into the UserCP so only he/she can see this info and not the public?

souperman 10-06-2011 07:57 AM

Yeah it's possible. The way I could think of it is to get the profile id and match it to the userid. If they're equal then display the visitor block. If not, then don't display it.

designco2 10-06-2011 07:41 PM

Anyone know how to pull the members ID and the profile ID?

richy96 10-11-2011 05:13 PM

Not played around with that area of VB for a while but it's something like

$userinfo['userid']

and $bbuserinfo['userid']

the first being the logged in user and the second being the profile user


All times are GMT. The time now is 11:41 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.00995 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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