Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Post of the Day Details »»
Post of the Day
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 05-19-2003 Last Update: Never Installs: 31
 
No support by the author.

This hack allows you to designate one or more posts to be the "posts of the day." The hack works such that all posts marked as a POTD starting at midnight (based on the user's timezone) are the posts of the day.

Show Your Support

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

Comments
  #32  
Old 05-21-2003, 02:47 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is too strange I have followed the instructions to a "T". Yet only the originator of the POTD can see the POTD's. Any ideas?
Reply With Quote
  #33  
Old 05-21-2003, 02:49 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't tried it. Not working for you? You realize you have to replace the number 5 with whatever usergroup you want to be able to approve POTD, right?
Reply With Quote
  #34  
Old 05-21-2003, 02:53 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 04:49 AM lordofgun said this in Post #32
I haven't tried it. Not working for you? You realize you have to replace the number 5 with whatever usergroup you want to be able to approve POTD, right?
Yea... I realize that. But it didn't work.

But I do appreciate your input.
Reply With Quote
  #35  
Old 05-21-2003, 04:17 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have checked everything and still no luck. Any ideas?
Reply With Quote
  #36  
Old 05-21-2003, 04:23 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HA!!!!! I figured out the first problem.

This hack is based on the individual users time setting therefore if the setting is wrong you might not see anything because your clock is in essence showing tomorrow.

Yes, I admit it I should have figured this out quicker.

I apologize!

But maybe my stupidity will help someone else!
Reply With Quote
  #37  
Old 05-21-2003, 04:37 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

However, the alteration for mods and supermods does not work. It gives the mods and supermods a "no permissions" page.
Reply With Quote
  #38  
Old 05-21-2003, 01:02 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So this automatically expires at midnight and sets all posts to not potd?

- miSt
Reply With Quote
  #39  
Old 05-21-2003, 01:05 PM
ethics ethics is offline
 
Join Date: Feb 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fili, anyway to make this hack in to Post of the Month? Counting days instead of hours?

I'd be willing to pay for something like that.
Reply With Quote
  #40  
Old 05-21-2003, 03:03 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 10:02 AM Mist said this in Post #37
So this automatically expires at midnight and sets all posts to not potd?

- miSt
Yes to the first bit, no to the second (they're still marked as a POTD, but just not that day; it stores a potddateline for each post (0 = not a POTD, anything else = made a POTD at that date/time, and it shows anything with a potddateline > midnight of that day).
Reply With Quote
  #41  
Old 05-21-2003, 03:15 PM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 05:03 PM filburt1 said this in Post #39
Yes to the first bit, no to the second (they're still marked as a POTD, but just not that day; it stores a potddateline for each post (0 = not a POTD, anything else = made a POTD at that date/time, and it shows anything with a potddateline > midnight of that day).
Filburt1 I have been using this thing for a day now and I really see awesome potential for this hack - in a way I am really surprised this didn't already exist.

You already know my other suggestions but here is one more....

Due to the fact that almost nobody on these forums takes the time to actually set their clock to the correct time zone a large percentage of the users don't even SEE the post of the day because their clock is displaying tomorrow or yesterday.

Maybe it would be better if the post of the day simply lasted 24 hours from the time it was picked. That way it wouldn't matter how your clock was set.
Reply With Quote
Reply

Thread Tools

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 01:26 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.04595 seconds
  • Memory Usage 2,296KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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