![]() |
Post of the Day
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.
|
forumhome:
|
postbit:
|
Nice:)
Satan |
nice :) Installed :)
|
Excellent idea filburt. I'm probably going to implement this into my sidebar. :p
|
Wow... was this due to my request???
If so... your AWESOME!!! The only thing I would like to see added is a way to recognize users as to how many "Posts of the Day" they have received. Like a tally or something. |
Oh... and one more thing... (and they say beggers can't be choosers :) )
I would like to see... "Post of the Day, selected by - mod so and so" etc. That way any mod or admin could select their posts of the day which may or may NOT be the same posts. |
looks good, however i dislike having another thing that im required to do every day at my boards, if you know what i mean....
|
Quote:
You don't have to pick a "Post of the Day". But when you read a post that strikes you as deserving you can quickly and easily note it! |
Interesting hack... may install it sooner or later... but I know what zajako is saying :D
[high]* Dan clicks install[/high] |
I am having trouble with #6 in the instructions.
Every time I add the code I get fatal errors in my admin screen. |
OK... I think I have it fixed.
Is there a way I could let Super mods and mods also pick POTD? |
What did you do to fix it, bigwest? I'm having the same problem.
In answering your question, I think you can just add if ($bbuserinfo['usergroupid'] == 6 OR $bbuserinfo[usergroupid] == 5) to add usergroups to be able to pick POTD. |
Quote:
Can anyone help? Thanks in advance! Incredible hack! |
No offense but I'm not psychic: what are the errors? :)
|
LOL...no offense taken.
Parse error: parse error, unexpected '(', expecting ',' or ';' in /home/keith/billszone.com/fanzone/admin/functions.php on line 67 Fatal error: Call to undefined function: getuserinfo() in /home/keith/billszone.com/fanzone/admin/sessions.php on line 324 EDIT: Keep in mind I'm on 2.2.6. Thanks again. ;) |
NM...figured it out. I just placed what you said after the next semi-colon.
|
Just a quick qestion...is this really server intensive? My index page seems to be loading a lot slower.
|
Quote:
|
Quote:
|
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. :D |
I generally release more powerful versions of my hacks released here as paid hacks, but I'll consider it.
|
Quote:
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? |
The addon for that was posted a few posts up (the if statement).
|
Oh I didn't notice when lordofgun wrote..
Quote:
To both of you! |
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:
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. |
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:
|
It's working fine for me. Make sure you followed all the steps.
|
Quote:
|
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?
|
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?
|
Quote:
But I do appreciate your input. |
I have checked everything and still no luck. Any ideas?
|
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! :D |
However, the alteration for mods and supermods does not work. It gives the mods and supermods a "no permissions" page.
|
So this automatically expires at midnight and sets all posts to not potd?
- miSt |
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. |
Quote:
|
Quote:
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. |
All times are GMT. The time now is 07:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|