dreamworks4mayor '11 !xPoNIEsltA (OP) double-posted this 15 years ago, 1 hour later, 1 hour after the original post[^][v]#34,881
bump
Killer Lettuce !!iNo3FkiZx joined in and replied with this 15 years ago, 4 minutes later, 1 hour after the original post[^][v]#34,891
That'd be a nice feature to have, I agree
r04r joined in and replied with this 15 years ago, 19 minutes later, 1 hour after the original post[^][v]#34,903
This would only show cites? Interesting idea but it would be somewhat invasive to implement, and somewhat easy to annoy other users with (Random cites). Will look into it.
(Edited 39 seconds later.)
Fuchs !!4KU9PSdLG joined in and replied with this 15 years ago, 11 seconds later, 1 hour after the original post[^][v]#34,904
Pig Benis !VAgiNA0oKk joined in and replied with this 15 years ago, 3 minutes later, 2 hours after the original post[^][v]#34,934
Well no new features will be added until you WORTHLESS PIECES OF SHIT SCUM TRAITOR TROLLS start SPREADING THE WORD! EAT MY SHIT FFS... ... ... ...
psychopath !PAHVpsycho joined in and replied with this 15 years ago, 21 minutes later, 2 hours after the original post[^][v]#34,938
@34,813 (Nega !34Kas0OdzM) > 1 vs 1 tetris
I'm okay with this.
dreamworks4mayor '11 !xPoNIEsltA (OP) replied with this 15 years ago, 11 hours later, 14 hours after the original post[^][v]#35,161
i dont want it the way at has it though
ill make a screen wait a sec...
dreamworks4mayor '11 !xPoNIEsltA (OP) double-posted this 15 years ago, 5 minutes later, 14 hours after the original post[^][v]#35,162
like this
Anonymous D replied with this 15 years ago, 8 minutes later, 14 hours after the original post[^][v]#35,163
@previous (dreamworks4mayor '11 !xPoNIEsltA)
It would be clearer in the "Age" column. And I guess the "History" link in the menu should have an exclamation mark when there are replies to your replies, and maybe clicking that mark will show a page with just your newly-replied replies?
sim !.biSsjaMxA joined in and replied with this 15 years ago, 3 minutes later, 14 hours after the original post[^][v]#35,164
This is potentially very heavy on the server. Also I don't give a fuck about dreamworks.
Anonymous F replied with this 15 years ago, 11 minutes later, 15 hours after the original post[^][v]#35,166
@previous (sim !.biSsjaMxA)
But he's our best poster!
dreamworks4mayor '11 !xPoNIEsltA (OP) replied with this 15 years ago, 2 minutes later, 15 hours after the original post[^][v]#35,167
Anonymous D replied with this 15 years ago, 32 seconds later, 15 hours after the original post[^][v]#35,174
@35,164 (sim !.biSsjaMxA) > This is potentially very heavy on the server.
- A maximum of 10 extra INSERTs when posting a reply, one for each citation (and there's rarely more than one, anyway)
- A single SELECT (where uid=%1 limit 1) on every page load, if there will be a ! or other notifier
- A single DELETE (where uid=%1 and parent=%2) on loading a topic page
- Another JOIN on the history page.
That would be trivial.
sim !.biSsjaMxA replied with this 15 years ago, 1 minute later, 15 hours after the original post[^][v]#35,175
Anonymous D replied with this 15 years ago, 3 days later, 5 days after the original post[^][v]#40,769
Since foreign key constraints aren't available, how would deleted replies/topics be dealt with? I'm using:
DELETE FROM reply_notifications
WHERE NOT EXISTS
(SELECT 1 FROM replies WHERE reply_notifications.reply = replies.id)
OR NOT EXISTS
(SELECT 1 FROM topics WHERE reply_notifications.topic = topics.id)
...on the history page, with a notice that some or all replies-to-your-replies have since been deleted per the affected rows (to clear up the misleading ! notifier). Is there a better way/more efficient query?
Edit: Just realized that the query would need to be limited by UID for the affected rows to matter.
(Edited 2 minutes later.)
Anonymous D double-posted this 15 years ago, 10 hours later, 6 days after the original post[^][v]#41,322
I decided that a separate list would be cleaner and easier to use than OP's "(2 new)" suggestion.
Has table locking been removed from post.php in the latest TinyBBS?
sim !PznzndQYds replied with this 15 years ago, 2 hours later, 6 days after the original post[^][v]#41,362
Anonymous D replied with this 15 years ago, 4 hours later, 6 days after the original post[^][v]#41,878
My version is now running at http://tiny.nfshost.com/ (it's impossible to test without two UIDs). I profiled all of the queries; they're fast even with an unreasonably large database.
MIT source code:
CREATE TABLE `citations` (
`uid` varchar(23) NOT NULL,
`topic` int(11) unsigned NOT NULL,
`reply` int(11) unsigned NOT NULL,
KEY `uid` (`uid`),
KEY `topic` (`topic`)
)