vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   User's local time in profile (https://vborg.vbsupport.ru/showthread.php?t=35991)

Gamingforce 03-10-2002 10:00 PM

User's local time in profile
 
First, I would like to give credit to Firefly for the original hack, which allowed you to have a user's time appear in a post. After speaking with a few members from our board, they seemed to want the local time to be in a user's profile (getinfo) instead of post (postbit) to reduce clutter. By installing this hack, you can have the user's time in their set time zone appear in their profile (anywhere you put the variable in the template).

Tested on vBulletin 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5
File to modify: member.php
Template to modify: getinfo

For a sample, check out my profile on my board:
http://www.gamingforce.com/forums/me...tinfo&userid=1

Enjoy!

Erwin 03-11-2002 09:46 AM

Tried it, but it doesn't work, even with tweaking of your code. Nothing shows up in the getinfo.

Gamingforce 03-11-2002 10:12 AM

That's odd, I installed it on my board again and it works perfectly. Are you inserting the code correctly and in the right place? Make sure you place the code in the member.php file after the line shown. Also, what version of vBulletin are you using?

Matt 03-11-2002 04:57 PM

Works great for me! Thanks :D

Psychdrone 03-11-2002 05:31 PM

Isn't this just adding Fireflys code to member.php? :tired:

Lucky 03-11-2002 08:01 PM

Great job!

Thanks.

Gamingforce 03-11-2002 10:39 PM

Pretty much Pyschdrone, with changes to the array. Firefly did the original and I modded it up to work with the getinfo template. ;)

nafae 03-11-2002 11:55 PM

works well for me. Thanks!

centris 03-12-2002 12:50 AM

One of my members came up with this idea to save pushing the profile button (lazy lot) how could this be done?

Psychdrone 03-12-2002 01:31 AM

Quote:

Originally posted by Gamingforce
Pretty much Pyschdrone, with changes to the array. Firefly did the original and I modded it up to work with the getinfo template. ;)
DAmn then I gotta start releasing some hacks then!


All times are GMT. The time now is 03:41 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.01198 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete