Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 05-21-2003, 03:18 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was simply following the model for most daily vB things; namely birthdays which work the same way...
Reply With Quote
  #43  
Old 05-21-2003, 03:28 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 05:18 PM filburt1 said this in Post #41
I was simply following the model for most daily vB things; namely birthdays which work the same way...
Ahh very cleverly done

- miSt
Reply With Quote
  #44  
Old 05-22-2003, 12:31 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

interesting and usefull hack, thanks
*clicks install
Reply With Quote
  #45  
Old 05-23-2003, 07:26 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet hack Filburt1.

/me clicks install.
Reply With Quote
  #46  
Old 05-23-2003, 08:12 PM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, can anyone figure out how to allow mod's and supermod's (or any ther user group) to also select POTD's?

The suggestion earlier on this thread doesn't work it simply gives the added usergroup the "no permissions" page when selecting the POTD.

Thanks in advance for you time and effort.
Reply With Quote
  #47  
Old 05-27-2003, 08:46 PM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump...
Reply With Quote
  #48  
Old 05-27-2003, 09:05 PM
Seawolf Seawolf is offline
 
Join Date: Feb 2002
Location: CT
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it has something to do with the
Code:
if ($bbuserinfo['usergroupid'] != 6) show_nopermission();
in markaspotd.php
Reply With Quote
  #49  
Old 05-27-2003, 09:14 PM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 11:05 PM Seawolf said this in Post #47
I think it has something to do with the
Code:
if ($bbuserinfo['usergroupid'] != 6) show_nopermission();
in markaspotd.php
I think so too.
Reply With Quote
  #50  
Old 05-28-2003, 03:28 AM
Seawolf Seawolf is offline
 
Join Date: Feb 2002
Location: CT
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 06:05 PM Seawolf said this in Post #47
I think it has something to do with the
Code:
if ($bbuserinfo['usergroupid'] != 6) show_nopermission();
in markaspotd.php

Replace that quoted code with this:
Code:
if (($bbuserinfo['usergroupid'] != 6) && ($bbuserinfo['usergroupid'] != 5))
Reply With Quote
  #51  
Old 07-24-2003, 04:16 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK.... first things first I want to thank filburt1 for creating this hack.

And I certainly do not want to sound like I don't like the hack because I do. In fact its installed on my board as we speak.

However.....

For this to be a really great hack I think it needs some enhancements. Is anyone interested in fixing it up???

Here is what the hack needs in my opinion....

- A way to display in the postbit (for all to see) that the post was selected as a "Post of the Day" and who selected it. Maybe even a graphic with a trophy could be implemented. This designation needs to stay up unless the post is unselected as "post of the day". That way when you look through old threads you can see which ones were awarded "Post of the Day".

- A way to track all the posts of the day so later you could pick a "post of the month" or "Post of the year" etc.

- A way to display in the postbit how many "posts of the day" each user has been awarded.

- A easy way to allow other usergroups to select "Post of the Day" i.e.; super mods and mods etc.

Personally I think this hack could be one of the most useful hacks EVER created if it was enhanced.

Would anyone like to expand on this hack???
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 08:09 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.04596 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_code
  • (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_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