Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Enhanced Post Time: Show poster's local time and date in post Details »»
Enhanced Post Time: Show poster's local time and date in post
Version: 1.0, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.1 Rating:
Released: 03-01-2009 Last Update: 03-01-2009 Installs: 23
Uses Plugins Auto-Templates
Translations Is in Beta Stage  
No support by the author.

A simple little mod that adds the poster's time and date to the display of posts. See the attached screen shot and it will make sense.

Install
Import the product-etime.xml file from your admincp product manager.

Uninstall
Uninstall the product-etime.xml file from your admincp product manager.

Disable
Disable the Enhanced Post Time product from the product manager in your admincp.

Dependencies
This mod makes use of the Template Modification System.

To use it, install the Template Modification System first, then this mod.

Just in case you don't do that, and decide you want to after the fact, I've included a seperate templateedits-etime.xml file you can import using the Template Modification System.

However, you can also manually add the $ept_info variable to the postbit_legacy and postbit templates if you wish not to use the Template Modification System.

This mod adds no queries.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-02-2009, 11:04 AM
digicom's Avatar
digicom digicom is offline
 
Join Date: Apr 2006
Location: England Uk
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You Didnt Attach product xml file
Reply With Quote
  #3  
Old 03-02-2009, 11:07 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You didn't give me a chance
Reply With Quote
  #4  
Old 03-08-2009, 01:29 AM
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good MOD, Thank you

installed
Reply With Quote
  #5  
Old 03-24-2009, 07:13 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
  #6  
Old 04-12-2009, 02:32 AM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This outputs a result of "Username's time Today, 06:43 PM". This is fine, but I want to make a minor modification. How do I do that? (eg. Username's Time: Today, 06:43 PM)
Reply With Quote
  #7  
Old 04-12-2009, 02:42 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's all done in the postbit_display_complete plugin, and not phrased First plugin I wrote upon returning and had a lot to re-remember

PHP Code:
if ($usertz != $this->post['timezoneoffset'])
{
  
$ept_info $post['username'] . "'s time ";
  
$ept_info .= $ept_date ', ';
  
$ept_info .= $ept_time '   ';

Is the code you're looking for.
Reply With Quote
  #8  
Old 04-12-2009, 03:44 AM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went to my plugin manager. I do not see a plugin named "postbit_display_complete". I see a hook location with that name.
Reply With Quote
  #9  
Old 04-12-2009, 03:46 AM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found it. The plugin name is "Modify the date and time to add posters date and time" under the "Product : Enhances Post Time". got it fixed. Thank you.
Reply With Quote
  #10  
Old 05-13-2009, 11:41 AM
acegames acegames is offline
 
Join Date: Jan 2006
Location: UK
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04853 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete