Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




2623 posts

Uber Geek
+1 received by user: 321

Trusted
Lifetime subscriber

Topic # 183626 23-Oct-2015 14:56
Send private message

Hi Mauricio,

Would it be be possible to have GZ pick up user "mentions" and notify that user that they have been tagged?

Quite often some-one will mention that (for example) @stevebiddle or @johnr knows the answer to a problem....

Cheers, Matt.




My views (except when I am looking out their windows) are not those of my employer.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
BDFL - Memuneh
59608 posts

Uber Geek
+1 received by user: 10777

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1412863 23-Oct-2015 15:03
Send private message

If someone gives me a regex to find a single word after the @ I can look at it.





522 posts

Ultimate Geek
+1 received by user: 50

Trusted
Internet by Design

  Reply # 1413028 23-Oct-2015 21:38
Send private message

/\@(\w+\b)/ig

Don't ask me if it works on ASP but it works in Python..

Matches a word of one or more characters between an @ and the end of the first word. The i at the end makes it case insensitive and the g makes it match more than one.

When run on "testing for @danielfaulknor in a thread" it returns "danielfaulknor"

When run on the OP, it returns "stevebiddle" and "johnr"







 
 
 
 


BDFL - Memuneh
59608 posts

Uber Geek
+1 received by user: 10777

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1413054 23-Oct-2015 23:12
Send private message
BDFL - Memuneh
59608 posts

Uber Geek
+1 received by user: 10777

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1413055 23-Oct-2015 23:15
Send private message

danielfaulknor: /\@(\w+\b)/ig


It also catches "freitasm@geekzone.co.nz" (matches geekzone). Ideally it would ignore if there's a period that is followed by another character different than space too...





BDFL - Memuneh
59608 posts

Uber Geek
+1 received by user: 10777

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1413133 24-Oct-2015 11:39
Send private message

Thanks @hairy1 for the suggestion and @danielfaulknor for the code. It worked on ASP VBScript as /\@(\w+\b)

Summoning @johnr, did you get this message?






BDFL - Memuneh
59608 posts

Uber Geek
+1 received by user: 10777

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1413134 24-Oct-2015 11:41
Send private message

Ok, now it should work for @johnr - I have changed something here.

John, are you there?





BDFL - Memuneh
59608 posts

Uber Geek
+1 received by user: 10777

Administrator
Trusted
Geekzone
Lifetime subscriber

Hawkes Bay
8477 posts

Uber Geek
+1 received by user: 4

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 1413138 24-Oct-2015 11:56
Send private message

Yip




Visit http://www.thecloud.net.nz for New Zealand based Hosted Exchange, Virtual Servers, Web Hosting, FTP Backup & more.
(1GB free FTP storage, or larger plans from $5.75)
 
 - Setup your own mailserver at home on Ubuntu Server - full step by step howto here.
 - Have you seen this: Nathan "KFC4LIFE" Dunn.




2623 posts

Uber Geek
+1 received by user: 321

Trusted
Lifetime subscriber

  Reply # 1413143 24-Oct-2015 12:09
Send private message

Thanks very much @freitasm for the new feature! I think @sbiddle and @scottpalmer are tied up with a serious function today!




My views (except when I am looking out their windows) are not those of my employer.

BDFL - Memuneh
59608 posts

Uber Geek
+1 received by user: 10777

Administrator
Trusted
Geekzone
Lifetime subscriber

205 posts

Master Geek
+1 received by user: 5

Trusted

  Reply # 1413163 24-Oct-2015 13:30
Send private message

Msg recieved.

6303 posts

Uber Geek
+1 received by user: 378

Moderator
Trusted
Lifetime subscriber

  Reply # 1413164 24-Oct-2015 13:31
Send private message

Me too

894 posts

Ultimate Geek
+1 received by user: 387

Trusted
Subscriber

  Reply # 1413183 24-Oct-2015 13:47
3 people support this post
Send private message

I think this thread is the epitome of what I love about Geekzone :)





19282 posts

Uber Geek
+1 received by user: 2600
Inactive user


  Reply # 1413185 24-Oct-2015 14:03
Send private message

Awesome it works

gzt

9396 posts

Uber Geek
+1 received by user: 1363


  Reply # 1413186 24-Oct-2015 14:20
Send private message

@gzt test message.

 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

CPTPP text and National Interest Analysis released for public scrutiny
Posted 21-Feb-2018 19:43


Foodstuffs to trial digitised shopping trolleys
Posted 21-Feb-2018 18:27


2018: The year of zero-login, smart cars & the biometrics of things
Posted 21-Feb-2018 18:25


Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28


Vocus Communications wins a place on the TaaS panel
Posted 26-Jan-2018 15:16


SwipedOn raises $1 million capital
Posted 26-Jan-2018 15:15


Slingshot offers unlimited gigabit fibre for under a ton
Posted 25-Jan-2018 13:51


Spark doubles down on wireless broadband
Posted 24-Jan-2018 15:44



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.