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.




2547 posts

Uber Geek
+1 received by user: 299

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

Uber Geek
+1 received by user: 9961

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.





511 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
58545 posts

Uber Geek
+1 received by user: 9961

Administrator
Trusted
Geekzone
Subscriber

  Reply # 1413054 23-Oct-2015 23:12
Send private message

Thanks. Passed a regex tester. Will work on this.






BDFL - Memuneh
58545 posts

Uber Geek
+1 received by user: 9961

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

Uber Geek
+1 received by user: 9961

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

Uber Geek
+1 received by user: 9961

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

Uber Geek
+1 received by user: 9961

Administrator
Trusted
Geekzone
Subscriber

  Reply # 1413136 24-Oct-2015 11:53
Send private message
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.




2547 posts

Uber Geek
+1 received by user: 299

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

Uber Geek
+1 received by user: 9961

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

Uber Geek
+1 received by user: 373

Moderator
Trusted
Subscriber

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

Ultimate Geek
+1 received by user: 377

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

8888 posts

Uber Geek
+1 received by user: 1187


  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 »

How Oppo shakes New Zealand’s phone market
Posted 22-Aug-2017 18:32


Recognition for top small business advisors
Posted 22-Aug-2017 17:23


OPPO R11 dual 20MP camera phone debuts in New Zealand
Posted 22-Aug-2017 15:45


Intel introduces new 8th Generation processors
Posted 21-Aug-2017 19:02


Trend Micro launches Home Network Security
Posted 21-Aug-2017 18:38


Avondale College students at top of Microsoft Office Specialist World Championship
Posted 21-Aug-2017 14:11


Garmin introduces inReach SE+ and inReach Explorer+
Posted 21-Aug-2017 14:05


Public Wi-Fi plus cloud file sharing
Posted 18-Aug-2017 11:20


D-Link NZ launches professional Wireless AC Wave 2 Access Point for businesses
Posted 17-Aug-2017 19:25


Garmin introduces the Rino 700 five-watt two-way handheld radio
Posted 17-Aug-2017 19:04


Garmin announces the Foretrex 601 and Foretrex 701 Ballistic Edition for outdoor and tactical use
Posted 17-Aug-2017 19:02


Brightstar announces new distribution partnership with Samsung Knox platform in Australia
Posted 17-Aug-2017 17:07


Free gig-enabled WiFi network extends across Dunedin
Posted 17-Aug-2017 17:04


Samsung expands with connect Gear S3 Frontier
Posted 17-Aug-2017 15:55


Fact-checking Southern Cross Next cable is fastest to USA
Posted 17-Aug-2017 13:57



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.