vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Date/Time of Profile Visitor (https://vborg.vbsupport.ru/showthread.php?t=232834)

SorentoUltimate 01-10-2010 10:00 PM

Date/Time of Profile Visitor
 
1 Attachment(s)
Title : Date/Time of Profile Visitor

Description : Show Date/Time of Profile Visitor when you hover your cursor over their UserName in Recent Profile Visitors.

Please remember to click Mark as Installed if you use this modification.
NO SUPPORT FOR USERS NOT MARKED AS INSTALLED.


Files : 0
Plugins : 4
Phrases : 2
Templates : 1
Settings : 0 Group / 0 Settings

Instalation
1. Import Installation File.

2. Open the file forumroot/includes/class_profileblock.php

Find (Around 1159)
Code:

eval('$visitorbits .= "' . fetch_template('memberinfo_visitorbit') . '";');
___

Above Add
Code:

      $user['date'] = vbdate($this->registry->options['dateformat'],$user['dateline']);           
      $user['time'] = vbdate($this->registry->options['timeformat'], $user['dateline']);
      $userdateline = $user['date'] .' '. $user['time'];

___

Save and UpLoad forumroot/includes/class_profileblock.php

Sorento-UltimateClub
http://www.sorento-ultimateclub.com

SorentoUltimate 01-11-2010 09:58 PM

RESERVED

Eplexx 06-24-2011 03:48 PM

I changed something within the code so it doesn't say "visit" and so it's past tense rather than present.

Search in phrases: profile_visitor_dateline_hover

Change the code to: {1} visited your profile at {2}.

Tyran1 05-08-2012 12:09 PM

Work with 3.8.7 PL2 thanks!


All times are GMT. The time now is 07:30 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.01825 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_code_printable
  • (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