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.




2570 posts

Uber Geek
+1 received by user: 304

Trusted
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
58932 posts

Uber Geek
+1 received by user: 10298

Administrator
Trusted
Geekzone
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.





515 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
58932 posts

Uber Geek
+1 received by user: 10298

Administrator
Trusted
Geekzone
Subscriber

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

Uber Geek
+1 received by user: 10298

Administrator
Trusted
Geekzone
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
58932 posts

Uber Geek
+1 received by user: 10298

Administrator
Trusted
Geekzone
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
58932 posts

Uber Geek
+1 received by user: 10298

Administrator
Trusted
Geekzone
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
58932 posts

Uber Geek
+1 received by user: 10298

Administrator
Trusted
Geekzone
Subscriber

Hawkes Bay
8477 posts

Uber Geek
+1 received by user: 4

Mod Emeritus
Trusted
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.




2570 posts

Uber Geek
+1 received by user: 304

Trusted
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
58932 posts

Uber Geek
+1 received by user: 10298

Administrator
Trusted
Geekzone
Subscriber

205 posts

Master Geek
+1 received by user: 5

Trusted

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

Msg recieved.

I'm @nate
6291 posts

Uber Geek
+1 received by user: 375

Moderator
Trusted
Subscriber

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

Ultimate Geek
+1 received by user: 380

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

9085 posts

Uber Geek
+1 received by user: 1249


  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 »

Vodafone TV — television in the cloud
Posted 17-Oct-2017 19:29


Nokia 8 review: Classy midrange pure Android phone
Posted 16-Oct-2017 07:27


Why carriers might want to embrace Commerce Commission study, MVNOs
Posted 13-Oct-2017 09:42


Fitbit launches Ionic, its health and fitness smartwatch
Posted 12-Oct-2017 15:52


Xero launches machine learning automation to improve coding accuracy for small businesses
Posted 12-Oct-2017 15:45


Bank of New Zealand uses Intel AI to detect financial crime
Posted 12-Oct-2017 15:39


Sony launches Xperia XZ1, a smartphone with real-time 3D capture
Posted 11-Oct-2017 10:26


Notes on Nokia’s phone comeback
Posted 10-Oct-2017 10:06


Air New Zealand begins Inflight Wi-Fi rollout
Posted 9-Oct-2017 20:16


The latest mobile phones in perspective
Posted 9-Oct-2017 18:34


Review: Acronis True Image 2018 — serious backup
Posted 8-Oct-2017 11:22


Lenovo launches ThinkPad Anniversary Edition 25
Posted 7-Oct-2017 23:16


Less fone, more tech as Vodafone gets brand make-over
Posted 6-Oct-2017 08:16


API Talent Achieves AWS MSP Partner Status
Posted 5-Oct-2017 21:20


Stellar Consulting Group now a Domo Partner
Posted 5-Oct-2017 21:03



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.