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!

Ian 04-01-2002 07:33 PM

This hack has been confirmed to work in 2.2.5 BETA BTW!

mashby 04-26-2002 10:50 PM

Nice work Gameingforce. The hack installed easy and gave me just what I needed - thank you!

Also, I love your site! You've really tricked it out well. Nice design, colors and functionality. I'm curious what you used to modify your user profiles? They look REALLY nice. I'm going to steal a lot of ideas from you. ;)

BigJohnson 04-27-2002 02:19 AM

Quote:

Originally posted by centris
One of my members came up with this idea to save pushing the profile button (lazy lot) how could this be done?
Yes how is this done i want to no badly. It is done on this board as well. I lie how it is done on this board as well.

Gamingforce 04-27-2002 10:58 AM

If you want to have it displayed in your post, view Firefly's hack.

Boofo 05-29-2002 02:01 PM

Is there a way to get it to display in the privmsg template? :)

Gohan 08-31-2002 11:20 PM

i've install on my forum (2.2.7) and does working.. good job :D

Axe 01-01-2003 06:31 AM

Quote:

Originally posted by centris
One of my members came up with this idea to save pushing the profile button (lazy lot) how could this be done?
*Bump* on this one... tryin' to figure this out myself. Any ideas?

Silenced Soul 01-01-2003 06:57 AM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=35896" target="_blank">View this thread to show local time in posts</a>

jamoss 05-31-2003 09:54 PM

Works great! Thank you.


All times are GMT. The time now is 04:46 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,742KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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