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.


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

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413194 24-Oct-2015 14:37
Send private message

You can't notify yourself ;)





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 




gzt

gzt
18684 posts

Uber Geek
+1 received by user: 7825

Lifetime subscriber

  #1413198 24-Oct-2015 14:58
Send private message

Cool. Is it excluded from quote blocks? That could get annoying.

Jase2985
13732 posts

Uber Geek
+1 received by user: 6206

ID Verified
Lifetime subscriber

  #1413201 24-Oct-2015 15:15
Send private message

gzt: Cool. Is it excluded from quote blocks? That could get annoying.


would think so as i needs the @ symbol before the username



scottjpalmer
6032 posts

Uber Geek
+1 received by user: 790

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1413202 24-Oct-2015 15:16
Send private message

Got it!

gzt

gzt
18684 posts

Uber Geek
+1 received by user: 7825

Lifetime subscriber

  #1413203 24-Oct-2015 15:24
Send private message

Quote test:

freitasm: Testing with @sbiddle, @tonyhughes, @scottjpalmer... Did you get this message? [Again?]


hairy1

3352 posts

Uber Geek
+1 received by user: 644

ID Verified
Trusted
Lifetime subscriber

  #1413204 24-Oct-2015 15:26
Send private message

Yeah but a quote of a mention will have the @ symbol so will trigger another mention




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


 
 
 
 

Shop now for Dyson appliances (affiliate link).
sonyxperiageek
2984 posts

Uber Geek
+1 received by user: 397

Trusted

  #1413205 24-Oct-2015 15:30
Send private message

@sonyxperiageek test message :P




Sony


sonyxperiageek
2984 posts

Uber Geek
+1 received by user: 397

Trusted

  #1413206 24-Oct-2015 15:32
Send private message

Oh just read you can't notify yourself lol




Sony


danfaulknor
974 posts

Ultimate Geek
+1 received by user: 533

Trusted
Prodigi
Subscriber

  #1413212 24-Oct-2015 16:19
Send private message

Adding matching whitespace on either side takes care of the email matching, but will mean that if people miss a space it won't match

\s\@(\w+\b)\s

OR 

\s\@(\w+\b)

Depending on if you want to match whitespace on both sides or just infront.

If ASP VBscript doesn't support \s for whitespace, you can escape a normal space too with "backslash space"




they/them

 

Prodigi - Optimised IT Solutions
WebOps/DevOps, Managed IT, Hosting and Internet/WAN.


hairy1

3352 posts

Uber Geek
+1 received by user: 644

ID Verified
Trusted
Lifetime subscriber

  #1413214 24-Oct-2015 16:21
Send private message

Thanks Daniel, I wouldn't imagine people missing aspace would betoo much of a problem.

Cheers, Matt.




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


freitasm
BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413217 24-Oct-2015 16:50
Send private message

danielfaulknor: Adding matching whitespace on either side takes care of the email matching, but will mean that if people miss a space it won't match

\s\@(\w+\b)\s

OR 

\s\@(\w+\b)

Depending on if you want to match whitespace on both sides or just infront.

If ASP VBscript doesn't support \s for whitespace, you can escape a normal space too with "backslash space"


I tested in dev and it matched a word after the @ and stopped a the first non-character - period, space, etc. So will just leave it there...

Thanks again!





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


 
 
 

Support Geekzone with one-off or recurring donations Donate via PressPatron.
freitasm
BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1413220 24-Oct-2015 16:57
Send private message

Another few of things:

 

  • Notifications aren't sent out if edit a post - adding a @ AFTER you posted won't trigger the emails. In this case is better to add a second reply for example
  • Early on we accepted usernames with non alpha/number characters, so there's a nic.wise for example (Hi Nic!). To make sure we filter bad stuff the function will obviously look for alpha/numbers that form a valid user name, using the same validation function as the registration page. So nic.wise will never get a notification...
  • More than one mention of a username in a single post triggers one email notification only




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


hio77
'That VDSL Cat'
13036 posts

Uber Geek
+1 received by user: 3896

ID Verified
Trusted
Lizard Networks
Subscriber

  #1413257 24-Oct-2015 17:58
Send private message

now this will certainly be a handy feature!




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have. 


ajobbins
5053 posts

Uber Geek
+1 received by user: 1279

Trusted

  #1413573 25-Oct-2015 18:37
Send private message

I got the mention




Twitter: ajobbins


timmmay
20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #1413689 25-Oct-2015 21:21
Send private message

@freitasm do you think this feature could get annoying? ;) Any way to disable notifications? I don't want to, just curious.

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








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.