|
|
|
|
yabbadooSE
Noobie
Posts: 7
I'm a llama!
|
|
Re:[Done 1.5.1] View posts per day in profile
« Reply #19 on: April 10, 2003, 03:41:39 AM » |
|
Just wanted to say thanks Unknown for those 2 nice mods, the one mentioned here (posts per day) and Global Moderator Panel . off topic... Where can I find a good sub-categories mod for 1.5.1? I just installed YabbSE... and it seems to not be able to. For example, i'd like to have a board with subcategories IN it with moderators for each board within that subcategory. so the main page isn't so large or clustered. thanks.
|
|
|
Logged
|
|
|
|
|
|
|
|
|
chris
Guest
|
|
Re:[Done 1.5.1] View posts per day in profile
« Reply #25 on: April 12, 2003, 12:40:34 PM » |
|
Uhmmm... QuotePosts: 1 (1.27 per day, 1 today) you should fix the calculations....
|
|
|
Logged
|
|
|
|
|
|
|
Fizzy
Full Member
Posts: 214
|
|
Re:[Done 1.5.1] View posts per day in profile
« Reply #29 on: April 18, 2003, 09:20:58 AM » |
|
I have a problem running this one. The average per day works fine, but when todays posts or the combined is selected I get the following error from prfile.php Quote Database Error
You have an error in your SQL syntax near 'AND posterTime > 1050644631' at line 5 File: /home/s/k/skincell/public_html/yabbse/Sources/Profile.php Line: 998
Its always line 998 or line 1012 - they seem the same line. AND posterTime>" . (time() - (time() % 86400))) or database_error(__FILE__, __LINE__); list ($post_count) = mysql_fetch_row($request); mysql_free_result($request);
$memsettings[6] .= ' (' . $post_count . ' ' . $txt['postsper_today'] . ')'; } // Posts: xxxx (yy.yy per day, zz today) elseif ($modSettings['postsPerDay'] == 3) { // Get the posts made today. $request = mysql_query(" SELECT COUNT(ID_MSG) FROM {$db_prefix}messages WHERE ID_MEMBER=$memsettings[ID_MEMBER] AND posterTime>" . (time() - (time() % 86400))) or database_error(__FILE__, __LINE__); list ($post_count) = mysql_fetch_row($request); mysql_free_result($request);
I read about a screwed up download ? ? ? I have downloaded twice. Any thoughts?
|
|
|
Logged
|
|
|
|