Special Help for Forum Hour

pandaa

Madly Diligent
Joined
May 28, 2012
Messages
7,866
Reaction score
4
FP$
1,305
Here's what I would like to do, and I'm wondering if it's possible, and if someone could help me. I would be willing to pay you in FP.

I would like on every hour, for the top poster of the last hour to have their banner (the URL listed in a profile field), displayed on the index. Is this possible to do? There are plugins already that grab the top poster of the hour, and I was hoping someone could tweak it to fit my needs.

Thanks!
 
If you don't have anyone helping by monday, I might be able to do it. I'm just pretty busy at my cabin until then.
 
NaXuh said:
If you don't have anyone helping by monday, I might be able to do it. I'm just pretty busy at my cabin until then.
Thank you so much, I'm still looking for help. I'll be able to pay you a little bit over PayPal, once my account is verified.

Please let me know if you can! 🙂
 
Anurag M said:
I don't know, but maybe this plugin can help:
http://mods.mybb.com/view/index-top-posters-2
as it does have a custom text field for top poster.

You could use the plugin quoted above along with a cron job to get the information from the database and run the cron every hour. The problem with that will be server load while the cron runs and most hosts limit how many times a particular cron can run per day.

Maybe someone with a bit more experience can help more. This is all that I can think of. 😉
 
LiquidServe said:
I can try! But i havent had any experience with myBB before! 😉
I'm going to wait for NaXuh to contact me, but thank you very much. 🙂
Patrick W. said:
Anurag M said:
I don't know, but maybe this plugin can help:
http://mods.mybb.com/view/index-top-posters-2
as it does have a custom text field for top poster.

You could use the plugin quoted above along with a cron job to get the information from the database and run the cron every hour. The problem with that will be server load while the cron runs and most hosts limit how many times a particular cron can run per day.

Maybe someone with a bit more experience can help more. This is all that I can think of. 😉
That's along the same lines I was thinking. The only problem I can see is how you get it to pull a profile field, which I'm clueless on.

We have a lot of CPU power and RAM on our server, so it shouldn't be TOO big of an issue. 😉
 
I am not comfortable enough with command line and cron (just stated to use them myself) to help you with the exact cron to run. Maybe someone else has more knowledge or ask your host if you cannot get it figured out.
 
Cron jobs could work for this, sure. I don't know how that plugin works, I'll have to look through it and try it later and see what I think.

But why not utilize the MyBB task system to run it? The only downside is that someone has to view the forum for the task to run, but it would still run every hour (when the first person after the hour visits it, it would run the task. Probably use less CPU as well).
 
Back
Top Bottom