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.




2588 posts

Uber Geek
+1 received by user: 305

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
59173 posts

Uber Geek
+1 received by user: 10411

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.





520 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
59173 posts

Uber Geek
+1 received by user: 10411

Administrator
Trusted
Geekzone
Subscriber

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

Uber Geek
+1 received by user: 10411

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
59173 posts

Uber Geek
+1 received by user: 10411

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
59173 posts

Uber Geek
+1 received by user: 10411

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
59173 posts

Uber Geek
+1 received by user: 10411

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.




2588 posts

Uber Geek
+1 received by user: 305

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
59173 posts

Uber Geek
+1 received by user: 10411

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.

6294 posts

Uber Geek
+1 received by user: 377

Moderator
Trusted
Subscriber

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

Me too

884 posts

Ultimate Geek
+1 received by user: 383

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

9159 posts

Uber Geek
+1 received by user: 1290


  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 »

UAV Traffic Management Trial launching today in New Zealand
Posted 12-Dec-2017 16:06


UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16


Cyber security not being taken seriously enough
Posted 5-Dec-2017 20:13


Sony commences Android 8.0 Oreo rollout in New Zealand
Posted 5-Dec-2017 20:08



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.