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)
-   -   Set Current Date and Time in Editpost (https://vborg.vbsupport.ru/showthread.php?t=53020)

Boofo 05-15-2003 10:00 PM

Set Current Date and Time in Editpost
 
Set Current Date and Time in Editpost v1.0

This hack was requested by Rose in this thread:
https://vborg.vbsupport.ru/showthrea...threadid=51653

Many thanks goes out to Tigga without whom this hack would never have been made. He helped me see a simpler way of doing something that I had only seen as complicated. Thank you, sir. ;)

What this hack does:
When editing a post, there will now be a checkbox to set the date and time of that post to the current posting time. This hack is for those who have threads or posts they edit on a continual basis and need it to rise to the top of the thread list and show as a new post on the forumdisplay and forumhome.

Files to edit: 1 (editpost.php)
Templates to edit: 1 (editpost)
Install time: 5 minutes (if you are really slow)

[high]Please click the install button if you find this hack useful.[/high] ;)

Boofo 05-16-2003 06:48 PM

Here is what it will look like in the editpost.

yxboom 05-16-2003 07:35 PM

Thanks Boofo! Installing.

Boofo 05-16-2003 07:48 PM

You're very welcome. Don't forget to click the install button. ;)

yxboom 05-16-2003 07:48 PM

tested and working fine.

Licked install for ya.

MindTrix 05-16-2003 07:48 PM

Nice one, i wont be installing but only cause i dont need it on my site. Nice work tho

Crazy Pete 05-16-2003 07:49 PM

Cool, this will come in handy sometimes! Installed

Boofo 05-16-2003 07:51 PM

I really didn't need it either. I did it for Rose. But it is one of those hacks that is nice to have in case I ever [high]do[/high] need it. ;)

Crazy Pete 05-16-2003 07:55 PM

This doesn't seem to want to work correctly with a sticky, though. I have one sticky thread that I just edited and was hoping to bump up but it didn't seem to update the date/time on it at all, even though I checked the box before I hit submit.

[Edit -- Err, nevermind. It doesn't seem to want to work for me at all regardless. Guess I'll have to uninstall for now. :( ]

yxboom 05-16-2003 08:05 PM

Egad man! Crazy you are right its not working. I should have given it more time to check if it tested correctly.


All times are GMT. The time now is 09:07 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.00964 seconds
  • Memory Usage 1,727KB
  • 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)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