vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   User Defined Date & Time Format Display (https://vborg.vbsupport.ru/showthread.php?t=97469)

ShadowOne 04-10-2006 03:11 PM

Thank You EXACTLY What I Needed....

Bhuwan 04-13-2006 10:59 PM

Very nice...I've installed this...The only complaint I had was it wasn't doing the bottom portion of the time (All times are in GMT <> The time now is <>).

The reason is becuase that is calcualted BEFORE global_start is executed, so it takes the lang default...I solved this by changing the code a bit and moving it to fetch_userinfo....

zetetic 01-07-2007 10:55 AM

Nice hack, thanks!

FYI, I've just installed it on 3.6.4 without any issues.

molieman 02-10-2007 08:09 PM

Quote:

however it will need to be modified to match up with the two "just created" user fields.
Hi, could you be a bit more specific on what I need to do, regarding modified to match....

Thanks in advance.

Maybe it requires more of an explanation from me.... I installed it in 3.6.4 and it ain't working. Looked pretty straight forward, just want to make sure I'm not missing anything.

Any guidance, will be appreciated :)

molieman 02-11-2007 02:47 PM

Answered my own question. For those asking the same question....

########## Modify The Plugin Code ##########

AdminCP -> Plugin Manager -> Plugin Manager

Custom Date & Time Formats -> Edit

In the PHP Code look for:

// ############ Date Format as Uservalue ################
switch ($vbulletin->userinfo['field12']) {

Change the 12 (next to field) to the field number matched to the User Profile Field (Field#) you created for "Date Format"

Now look for:

// ############ Time Format as Uservalue ################
switch ($vbulletin->userinfo['field13']) {

Change the 13 (next to field) to the field number matched to the User Profile Field (Field#) you created for "Time Format"

-----------------------------------------

Hope this helps:)

KrisP 02-17-2007 10:38 PM

delete

Caerydd 02-19-2008 02:42 PM

Looking for this for 3.6.8 and 3.7.x :( or a confirmation that it's working in 3.6.8

zetetic 06-29-2008 08:46 PM

It's working for me in 3.7.2 except for one thing, but I'm not sure if this is a new or old issue:

The time at the bottom of the forum index doesn't seem to be affected by this plugin.

imported_silkroad 10-30-2008 07:45 PM

In vB 3.7, I tried to install this as a product, but it will not install, giving a message to install as a plugin.

In the plugin manager, the following are required:

Quote:

Product

Hook Location

This specifies the location within the vBulletin code of the hook that will fire this plugin function.

Title Enter a title that describes this plugin.

Execution Order

Use this field to enter the order in which code at the same hook will be executed.

Plugin PHP Code

Use this field to enter the PHP code that you would like to be run.
Could we get some instructions on the hook location in the vBulletin product?

Thanks!

visitangeles 05-03-2009 06:46 AM

Quote:

Originally Posted by imported_silkroad (Post 1656211)
In vB 3.7, I tried to install this as a product, but it will not install, giving a message to install as a plugin.

In the plugin manager, the following are required:



Could we get some instructions on the hook location in the vBulletin product?

Thanks!

has anyone figured out how to install this on 3.8x?


All times are GMT. The time now is 10:53 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.01205 seconds
  • Memory Usage 1,738KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (2)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