What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Sug: Reputation Notification

Sug: Reputation Notification
Author: Message:
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
38 / Male / Flag
Joined: Aug 2004
Status: Away
RE: Sug: Reputation Notification
quote:
Originally posted by Chris Boulton
quote:
Originally posted by Regexp
I thought we were being hosted by C2Media and didn't have server problems anymore...
The servers are hosted by EV1Servers. They are provided by C2Media. Big difference.
quote:
Originally posted by Regexp
query "select * from mybb_reps where id={$id}"
while(array = mysql_fetch_assoc(query)) {
today_begin = mktime(0, 0, 0, date("m"), date("d"), date("Y"));
today_end = today_begin + 86400;
if(array['lastrep'] >= today_begin && array['lastrep'] <= today_end) {
todayreps_total++;
todayreps_points += array['reppoint'];
}
}
# etc.
# echo
Go through every single reputation for the user? :-/

This would probably work
code:
    $query = $db->query("SELECT COUNT(r.rid) AS rep_total, SUM(IF(r.dateline>'$mybbuser[lastvisit]',reputation,'0')) AS reps_new FROM reputations r WHERE r.uid='$mybb[uid]' GROUP BY r.uid");
$rep = $db->fetch_array($query);


That would show since last visit too..

However I agree with Wj.

Why do you people make such a big deal out of the reputation system? Furthermore, what's with the useless suggestions here recently? :-/
Oh, I see! :o Looks interesting. I don't know so much SQL. :tongue: I'll write that down and study. It might save me some trouble.

Meh, I liked the coding challenge. That's the only reason I kept posting. I couldn't care less about the reps. 8-)

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

07-22-2005 06:06 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Sug: Reputation Notification - by user27089 on 07-21-2005 at 06:04 PM
RE: Sug: Reputation Notification - by mwe99 on 07-21-2005 at 06:18 PM
RE: Sug: Reputation Notification - by user27089 on 07-21-2005 at 06:19 PM
RE: Sug: Reputation Notification - by mwe99 on 07-21-2005 at 06:21 PM
RE: Sug: Reputation Notification - by qgroessl on 07-21-2005 at 06:24 PM
RE: Sug: Reputation Notification - by albert on 07-21-2005 at 07:34 PM
RE: Sug: Reputation Notification - by Eljay on 07-21-2005 at 08:06 PM
RE: Sug: Reputation Notification - by .Fusion on 07-21-2005 at 08:17 PM
RE: Sug: Reputation Notification - by Tasha on 07-21-2005 at 08:29 PM
RE: Sug: Reputation Notification - by mwe99 on 07-21-2005 at 08:29 PM
RE: Sug: Reputation Notification - by L. Coyote on 07-21-2005 at 09:53 PM
RE: Sug: Reputation Notification - by Zephyr on 07-21-2005 at 09:56 PM
RE: Sug: Reputation Notification - by Plik on 07-21-2005 at 10:13 PM
RE: Sug: Reputation Notification - by mwe99 on 07-21-2005 at 10:16 PM
RE: Sug: Reputation Notification - by ipab on 07-21-2005 at 10:16 PM
RE: Sug: Reputation Notification - by mwe99 on 07-21-2005 at 10:19 PM
RE: Sug: Reputation Notification - by qgroessl on 07-21-2005 at 11:34 PM
RE: Sug: Reputation Notification - by wj on 07-21-2005 at 11:49 PM
RE: Sug: Reputation Notification - by ipab on 07-21-2005 at 11:50 PM
RE: Sug: Reputation Notification - by L. Coyote on 07-22-2005 at 12:11 AM
RE: Sug: Reputation Notification - by ipab on 07-22-2005 at 12:16 AM
RE: Sug: Reputation Notification - by L. Coyote on 07-22-2005 at 12:27 AM
RE: Sug: Reputation Notification - by Lou on 07-22-2005 at 12:50 AM
RE: Sug: Reputation Notification - by L. Coyote on 07-22-2005 at 12:52 AM
RE: Sug: Reputation Notification - by ipab on 07-22-2005 at 12:59 AM
RE: Sug: Reputation Notification - by Hank on 07-22-2005 at 01:06 AM
RE: Sug: Reputation Notification - by L. Coyote on 07-22-2005 at 01:06 AM
RE: Sug: Reputation Notification - by surfichris on 07-22-2005 at 06:00 AM
RE: Sug: Reputation Notification - by L. Coyote on 07-22-2005 at 06:06 AM
RE: Sug: Reputation Notification - by Stigmata on 07-22-2005 at 06:09 AM
RE: Sug: Reputation Notification - by WDZ on 07-22-2005 at 06:12 AM
RE: Sug: Reputation Notification - by Stigmata on 07-22-2005 at 06:16 AM
RE: Sug: Reputation Notification - by L. Coyote on 07-22-2005 at 06:17 AM
RE: Sug: Reputation Notification - by Stigmata on 07-22-2005 at 06:28 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On