Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (798)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  New feature: mentions in posts  (Read 28751 times)
0 Members and 1 Guest are viewing this topic.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Posted 2015-02-05 21:19:39 »

Somehow JGO can now track usernames in posts. persecutioncomplex This includes quotes, but also twitter-style (@someone) notation is supported. This seemingly arbitrary functionality enables us to organically tie posts and people together in discussions, and for example easily bring posts to the attention of others.

Once the forum has determined that you were mentioned in a post, it will in turn notify you in the sidebar listing. This listing will be relocated to the 'unread posts' page in the near future.


Quote from: BurntPizza
w00t!
@princec: we'll see how it evolves - ideas, bug reports and suggestions are welcome!

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #1 - Posted 2015-02-05 21:22:52 »

Question: does it count nested quotes, or only top-level ones? I ask because I often see people quoting quotes of quotes when they're really only replying to the most recent post in the chain (grr) and that would be pretty annoying to be spammed with notifications.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #2 - Posted 2015-02-05 21:23:30 »

It strips quote contents (the parser is depth-aware)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #3 - Posted 2015-02-05 21:24:28 »

Nice.
(I was momentarily perplexed there by you somehow seemingly responding to my post before I made it... then edits...)
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #4 - Posted 2015-02-05 21:26:00 »

Quote from: BurntPizza
Quote from: Mike
Mike is not notified
@KevinWorkman is not bothered either
... but @ra4king is. Pointing



Lines of text starting with a username followed by a ':' are also attempted to be resolved to a member in the database.

A full list of patterns:
  • [ quote author=...] (in quote 'roots')
  • "@author" (outside of quotes)
  • "author:" (outside of quotes)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #5 - Posted 2015-02-05 21:29:06 »

As am I.

Now, if you make an edit, does the prior would-have-been recipient's mentions not show it if they haven't seen it yet? Does it respond to updates? (I'm not sure it really matters, but I'm curious)
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2015-02-05 21:30:42 »

It responds to updates and deletes, it refreshes the denormalized data, so if you hadn't seen your 'mention' yet, you will never - it won't linger... for long: the typical latency is 10s. Emo (cronjob interval)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #7 - Posted 2015-02-05 21:32:30 »

You couldn't have thought of everything...
Will it make me a sandwich? (and mention it when it's ready)
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #8 - Posted 2015-02-05 21:34:14 »

Well, I'm pondering over whether to flag mentions as 'read' - that'd be 'fun', right?


Think of the Big Data analysis potential, or, ehm, how it will affect your ranking, ofcourse.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #9 - Posted 2015-02-05 21:40:11 »

Really nice feature. I usually read most posts, but now I won't miss all the times that I'm being back talked in some obscure thread Smiley

I was notified by the way so I think you missed something Pointing

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #10 - Posted 2015-02-05 22:09:35 »

Whoops, eager regexp screwup, patching!




Update: patched! (rebuilding index...)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #11 - Posted 2015-02-05 22:22:54 »

One more thing, every quote of someone with a username that starts with "Mike" is now showing up as my latest mentions. At the moment I don't think there are too many of them active, but maybe that will mess it up for someone else's name as well.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #12 - Posted 2015-02-05 22:26:22 »

Can you give me the message-id from a post that triggers this?


Ah... members with a space in their name, like 'Mike Jacobs'
http://www.java-gaming.org/topics/new-feature-mentions-in-posts/13821/msg/110844/view.html#msg110844

* Riven ponders...

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #13 - Posted 2015-02-05 22:47:30 »

Also with a dot like mike.emery

Well, they aren't active on the forum anymore so let's just call it a hidden feature Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #14 - Posted 2015-02-05 22:58:08 »

I fixed it, and removed 'the common quote' from the mentions, as it was rather redundant to begin with.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #15 - Posted 2015-02-06 09:50:34 »

So if I do say

@Riven

Do you get some sort of notification or message? Or is that still in the works? A nice little notification center would be nice, fairly straight forward to implement.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #16 - Posted 2015-02-06 10:06:33 »

So if I do say

@Riven

Do you get some sort of notification or message? Or is that still in the works? A nice little notification center would be nice, fairly straight forward to implement.
Yup! @Gibbo3771, just like you get one now.


Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #17 - Posted 2015-02-06 10:49:31 »

So if I do say

@Riven

Do you get some sort of notification or message? Or is that still in the works? A nice little notification center would be nice, fairly straight forward to implement.
Yup! @Gibbo3771, just like you get one now.



Cool, where? lol. Never seen anything.

EDIT: This is a nice addition regardless of how it notifies you, very useful if you stumble across a thread and you want to tag someone you know can help.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #18 - Posted 2015-02-06 11:18:24 »

In the sidebar (which is hidden on mobile devices).

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #19 - Posted 2015-02-06 11:20:00 »

In the sidebar (which is hidden on mobile devices).

Oh nice, thank you!

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Online princec

« JGO Spiffy Duke »


Medals: 1103
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #20 - Posted 2015-02-06 12:31:31 »

What happens when I mention myself, @princec?

<edit> Ah, nothing.

Cas Smiley

Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #21 - Posted 2015-02-06 12:39:48 »

It indeed prunes self-mentions Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #22 - Posted 2015-02-06 12:39:57 »

What happens when I mention myself, @princec?

You get a community that looks weirdly at you for talking to yourself in written form... Smiley

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #23 - Posted 2015-02-09 04:15:01 »

That sidebar box needs to be moved into the Unread page, as I never noticed this until now I decide to go through the many pages of unread posts.

This is a pretty cool feature, nice job Riven.

Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #24 - Posted 2015-02-09 11:29:33 »

This listing will be relocated to the 'unread posts' page in the near future.

That sidebar box needs to be moved into the Unread page

Uh persecutioncomplex

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #25 - Posted 2015-02-09 15:17:01 »

With the latest update any mention of a username is tracked: the '@' prefix or ':' postfix is no longer mandatory. Our beloved member 'actual' will be the prime victim, I suppose persecutioncomplex

The load on MySQL was so high that it corrupted tables, so I reduced the amount of work in the cronjob. persecutioncomplex

MyISAM is bonkers.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #26 - Posted 2015-02-09 18:00:07 »


It has been done! yay. Looks good so far.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline KevinWorkman

« JGO Plugged Duke »


Medals: 288
Projects: 12
Exp: 12 years


HappyCoding.io - Coding Tutorials!


« Reply #27 - Posted 2015-02-09 18:18:16 »

Sorry if this has been mentioned before, but my mentions just went from 25 to 23. I would presume that the count goes down when you read a post that mentioned you? However, I can't seem to get the count any lower than 23. Is there a way to mark all as read? Or to view a list of all of my mentions, not just the latest 5 on the sidebar?

Edit- And while I'm here: is it just me, or is that little "there are X new posts" message that displays at the top not working today?

HappyCoding.io - Coding Tutorials!
Happy Coding forum - Come say hello!
Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #28 - Posted 2015-02-09 18:44:10 »

Edit- And while I'm here: is it just me, or is that little "there are X new posts" message that displays at the top not working today?

Well the site is undergoing changes as we speak. That is probably why.

Also pretty sure Riven will fix the count and a way to mark.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #29 - Posted 2015-02-09 18:48:39 »

It should work now... persecutioncomplex

http://www.java-gaming.org/content/mentions

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Pages: [1] 2 3
  ignore  |  Print  
 
 

 
Riven (34 views)
2019-09-04 15:33:17

hadezbladez (3979 views)
2018-11-16 13:46:03

hadezbladez (1444 views)
2018-11-16 13:41:33

hadezbladez (3986 views)
2018-11-16 13:35:35

hadezbladez (769 views)
2018-11-16 13:32:03

EgonOlsen (4085 views)
2018-06-10 19:43:48

EgonOlsen (4664 views)
2018-06-10 19:43:44

EgonOlsen (2753 views)
2018-06-10 19:43:20

DesertCoockie (3647 views)
2018-05-13 18:23:11

nelsongames (3849 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!