A suggestion and a question - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: General (/forumdisplay.php?fid=11) +---- Forum: Forum & Website (/forumdisplay.php?fid=13) +----- Thread: A suggestion and a question (/showthread.php?tid=35844) A suggestion and a question by andrey on 12-20-2004 at 03:45 AM
The suggestion goes first (I already suggested it in some spammy thread in T&T): RE: A suggestion and a questiom by WDZ on 12-20-2004 at 04:47 AM
quote:I think it would be possible, but I'm feeling too lazy to add it right now. quote:Keep in mind that thousands of old posts get pruned every month. That's necessary to keep the database small and fast. RE: A suggestion and a questiom by andrey on 12-20-2004 at 05:05 AM
quote:pffff lazy WDZ quote:Sorry, I actually meant that it seems to me like there are less new posts made than some months ago. Maybe we could include a new stats page, showing the total number of new Posts per month and a bar chart like in the "Member registration" one ? (not regarding the pruning) RE: A suggestion and a questiom by kangie on 12-20-2004 at 07:37 PM i agree.... ive been coming here regularly, and every time i come, there are less and less questions n posts.... :/ RE: A suggestion and a questiom by Millenium_edition on 12-20-2004 at 08:46 PM
quote:you're forgetting one thing... the old forums were full of spam. now, the forum evolves, the rules get enforced, thus, some posts are deleted. RE: A suggestion and a question by kangie on 12-21-2004 at 05:24 AM old forums? what old forums im talking about over the last month or so RE: A suggestion and a question by WDZ on 12-21-2004 at 06:07 AM
Here's today's top posters without T&T posts counted... RE: A suggestion and a question by Eljay on 12-21-2004 at 08:40 AM
quote: surely this would be like a few lines of code * Eljay slaps lazy WDZZZzzzzzzzzzzz around a bit with a large trout. EDIT: wrote it for you <? if($HTTP_GET_VARS['hidespam'] == 1) { echo "<a href='http://shoutbox.menthix.net/statistics.php?page=topposters&today=1'>Include T&T</a>"; } else { echo "<a href='http://shoutbox.menthix.net/statistics.php?page=topposters&today=1&hidespam=1'>Hide T&T</a>"; } ?> RE: A suggestion and a question by -dt- on 12-21-2004 at 09:00 AM yea but dynamic hiding and un hiding would require way more code RE: A suggestion and a question by Eljay on 12-21-2004 at 02:51 PM
quote: but it already has the "hidespam=1" in the url, doesnt that hide it? RE: A suggestion and a question by GiantSpider on 12-21-2004 at 02:57 PM He put the hide/unhide T&T on the latest posts page. Just be content with that lol. RE: A suggestion and a question by -dt- on 12-21-2004 at 03:11 PM
quote: nvm i didnt read his post right i thought he was talking about something diff /me goes to bed RE: A suggestion and a question by WDZ on 12-22-2004 at 04:22 AM
quote: 1. The code can't be echoed; it has to be in a variable, and that variable has to be placed somewhere in the template. 2. $HTTP_GET_VARS is depreciated. It should be $_GET. 3. The value of $_GET['hidespam'] is technically a string, not an integer. 4. The ampersands in the URLs need to be & for XHTML compliancy. See, when I code something, I try to do it right, which is why it takes more work. Anyway, is the dynamic link really better? I don't see any reason for it. |