![]() |
Good hack :)
|
Btw, does anyone know how to modify the hack to display the member's avatar, even if the avatar is from the database and not custom (currently only custom uploaded avatars are shown).
|
I installed the hack - it is nice, but isn't the user's profile image supposed to display? It isn't displaying. Am I wrong?
Brandy |
Quote:
Thanks much! Brandy |
Is it possible to also call the users avatar(default one if you use it) to be displayed along with the info?
Code:
$memberOfTheDay = $DB_site->query_first("SELECT user.userid,user.username,user.posts,user.reputation,user.birthday could this also be possible for what brandy is looking for? i.e adding in the profile feild table to the query. this hack is very cool thanks alot! |
Nice feature. I would like to add the info of "join date" next to their posts. I can see where to put things, but I'm not sure the exact language to create a new variable of $mday[join]. Could anyone help me out? :squareeyed:
|
Nice hack! Thanks..installed and working great.
|
I've got "member of the day" at my site www.doggiedoor.com/forums/ and I have it set up so that only the moderators are elected (did this by restricting all other usergroups). We've had it up for about a month now, I've got 15 moderators that it chooses from, and a few have never been chosen.
Note: They DO meet the requirements I have set up, as in posted at least once, posted and logged in in the last 30 days, have a reputation over 99. I can't seem to figure out why they would be passed over? They are feeling neglected, apparently they've been waiting for their turn to no avail. Any clues? Brandy |
Could it just be the luck of the draw? It you look at many things that use random numbers it seems sometimes a few numbers do not come up as much as others... I donno :ermm:
|
Quote:
|
Good work. I learned a lot by seeing this hack on some forums. I even made friends. :nervous:. I'll probably be using this hack too.
|
Quote:
Brandy |
Quote:
Added support for default avatars (not the ones uploaded by the user but the ones the administrator has configured in the forum) You can now use any user or userfield variable in the memberoftheday template. About your question of moderators being ignored I suggest you increase the value of $days to something really high. Sometimes mysql is not very good at random numbers... In my forum sometimes some member is elected twice very quickly and some other members are still waiting their turn. |
update works great!
Thanks Kentaurus. |
Quote:
The avatars are still not showing (just the small ones) I changed the number of days from 30 to 90, so we'll see if that helps Also, how do you write the syntax to include field5 in the template? I tried just: $field5 but it doesn't work. Thanks much! Brandy |
Quote:
You need to use $mday[field5], please let me know if that works as expected. |
Do you know of a way to get the tasks list to generate a page so that people could see all of the previous members of the day?
Hmm... or maybe just do an automatic entry on the calendar so people can see it that way. |
i just installed it
everything is fine except the users avtars are not getting display :) i think they are using custom avtars on forum.. any ideaz to fix this. Thnx. Sandy... |
Quote:
but as stated in ur above post. it will work after 1 day and it does ;) however here is one question. My forums are hosted in us (TIME HERE IS GMT - 8:00) and my forums people are located in india (GMT + 5:30) When the clock strike 1:00 pm afternoon here, member of day gets changed. and not @ midnight 12:00 How do i change this, Its kinda buggy that i changes @ afternoon when almost 13 hours have passed away. Sandy... |
Quote:
|
Quote:
In my cron jobs i have set the hours to be 13 and minutes 0 is that fine ?? also the avtars are still not getting displayed. 1 more things, i have set to give 50 points to users who get this Member of Day Title. But, it just shows members reputation to be done on the Member of Day box. weras in there profiles it shows more. :S Any fix for this Thnx. Sandy... |
I have 2 questions:
If I set it to run once/week, does that mean that $days now stand for 1 week, or do I still set it so that the same member can't be "member of the week" in i.e 14 for 2 weeks? In that case does 14 mean 14 days (2 weeks) or 14 weeks (since it's only being updated once/week). Also, I've made it so that it's being updated every monday. Do I need to set an exact hour & minute for it to be done or will it just automaticly do it sunday night at midnight? |
Quote:
Yes! Thank you, the $mday[field5] works like a charm! Some of the avatars are still not showing up though. When I look at the source code of the avatar image in their profile, it may be that the ones that look like this are showing up: Code:
http://doggiedoor.com/forums/image.php?u=219&dateline=1084590730 Code:
http://doggiedoor.com/forums/images/avatars/doggie/gooddoggie.gif |
the avtar still has problems getting displayed
i stripped down my template to not fetch the avtar ;) finally thnx for mod. Sandy... |
i dunt want to display avtars using this hack.
can someone guide, what queries to be removed from memberoftheday.php file :) i have edited index.php and template Thnx. Sandy... |
This question was here before, but never was answered. Is there a way to show the information member of the day in the postbit for that user, that got elected?
|
I tried to do it myself (to get the information "member of the day" in the postbit).
My steps were: I inserted the same things that go into index.php in the showthread.php. Also I inserted the 'memberoftheday' into showthread.php to the datastore. Even though I don't get the variables in the postbit. Can someone help me out here? |
Anyone?
|
I don't like the original look of this mod, because it was so big, took up too much space, and whatnot, so I changed it a bit.
What do you think of the way it looks now, on my forums? :) |
Quote:
|
Has someone already converted this into a CMPS module? If so, I'd like to see it. If not... I may give it a try, though my PHP is rusty at best.
|
Need help here, I installed your hack, but since I did, the database is down... the forums shows "refresh" and VB database error...
Please help me :( |
how would i go about having just the member of the day info on its own page so i can use
PHP Code:
|
Quote:
|
huh?
lol this is where im putting it: http://dfmafia.net/network.php as you can c its not showing up (next to the news) |
Quote:
|
from the instructions:
################################################## #################### # Scheduled tasks to add ################################################## #################### In your admin control panel add a new scheduled task. Name it whatever you want and set it to run in filename: ./includes/cron/memberoftheday.php so i would do this: PHP Code:
|
nah that didnt work
i dont want to use the format im using for the forums thats y i made a .php page for it i can get login info and recent posts but not member of the day info |
Quote:
|
Is there any way to edit this hack so that you just pick the member of the week yourself? By let's say entering a member-id somewhere or something?
|
All times are GMT. The time now is 04:17 AM. |
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:
|