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
  #22  
Old 05-21-2003, 01:14 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:08 AM lordofgun said this in Post #18
NM...figured it out. I just placed what you said after the next semi-colon.
Yea... that is what I did as well.
Reply With Quote
  #23  
Old 05-21-2003, 01:19 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So filburt1 what do you think about my other suggestions....

In order of importance:

- Allow mods and supermods to pick POTD
- Have a way to mark the post (within the post) to distinguish it as POTD
- Keep a running tally for each user and their number of POTD's. (maybe award them little feathers or stars or whatever)

Without these above enhancements the POTD's are sort of meaningless or lost once the day is over.

Plus, if we kept a tally we could determine POTY (Post of the Year) - I guess POTY isn't the greatest acronym.
Reply With Quote
  #24  
Old 05-21-2003, 01:27 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I generally release more powerful versions of my hacks released here as paid hacks, but I'll consider it.
Reply With Quote
  #25  
Old 05-21-2003, 01:33 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:27 AM filburt1 said this in Post #23
I generally release more powerful versions of my hacks released here as paid hacks, but I'll consider it.
Cool, that would be GREAT!

In the meantime is there an easy way to let mods and supermods pick POTD?

It seem's like there was some of the code that determined usergroups. Couldn't other usergroups be added?
Reply With Quote
  #26  
Old 05-21-2003, 01:53 AM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The addon for that was posted a few posts up (the if statement).
Reply With Quote
  #27  
Old 05-21-2003, 02:03 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh I didn't notice when lordofgun wrote..
Quote:
($bbuserinfo['usergroupid'] == 6 OR $bbuserinfo[usergroupid] == 5)
I will try it thanks!!

To both of you!
Reply With Quote
  #28  
Old 05-21-2003, 02:18 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uh.... I think I found a bug.

I tried the above alteration which did not work.

But in trying I noticed that only admins can see the posts of the day in the first place (on the forum home page).

When I log in as a regular member it says...
Quote:
No posts have been designated "Post of the Day" by the administrator.
Even though there are three POTD's.

I see them fine when I am logged in as a admin.

Anyone else have the same problem?

P.S. The problem exists with or without the alteration for letting mods pick POTD.
Reply With Quote
  #29  
Old 05-21-2003, 02:29 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is worse than I thought.

It seems to me the only people who can see the POTD's on the forum index is the person who picked the POTD.

Everyone else including other admins only see...
Quote:
No posts have been designated "Post of the Day" by the administrator.
Reply With Quote
  #30  
Old 05-21-2003, 02:40 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working fine for me. Make sure you followed all the steps.
Reply With Quote
  #31  
Old 05-21-2003, 02:43 AM
bigwest bigwest is offline
 
Join Date: May 2003
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 04:40 AM lordofgun said this in Post #29
It's working fine for me. Make sure you followed all the steps.
Weird... did you get your other usergroups code to work?
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 04:05 PM.


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.05711 seconds
  • Memory Usage 2,294KB
  • 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
  • (6)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