View Issue Details

IDProjectCategoryView StatusLast Update
0001013Composrcore_rich_mediapublic2013-12-12 19:31
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0001013: Alternate user syntax
DescriptionComposr supports {{user}}, but @user has become popular in recent years. Support that also.
TagsNo tags attached.
Time estimation (hours)1
Sponsorship open


If users wish to sponsor this issue (optional, some issues are implemented without sponsorship)...
If users wish to sponsor this issue (optional, some issues are implemented without sponsorship)...

Relationships

related to 0001014 resolvedChris Graham Notification on user reference 
related to 0001016 resolvedChris Graham Styling for Comcode user links 
related to 0001465 resolvedChris Graham Inline autocomplete of usernames 

Activities

Lhasadreams

2013-12-10 14:05

reporter   ~0001900

Hi,

If I sponsored all 4 of these which comes to 8 hours or 48 support credits can I get a discount ?

They are all related !!

Cheers
Ade

Chris Graham

2013-12-10 14:19

administrator   ~0001901

Hi,

I'm afraid not, as the time estimates for each don't overlap. We also run the sponsored functionality at a loss (it brings in slightly less than salary + operating costs).

Lhasadreams

2013-12-10 15:57

reporter   ~0001902

Hi Chris,

Worth an ask !! :-)

Ok, all 4 sponsored.

Cheers
Ade

Chris Graham

2013-12-11 14:11

administrator   ~0001903

Thanks for the sponsorship :).

Chris Graham

2013-12-12 17:30

administrator   ~0001910

This, and attached issues, are implemented in the comcode_username_syntax v9 branch on github.

I will deploy for Lhasadreams manually.

The branch will be merged into v10.

Chris Graham

2013-12-12 17:35

administrator  

patch.diff (513,498 bytes)

Chris Graham

2013-12-12 17:35

administrator   ~0001911

Patch also attached.

Chris Graham

2013-12-12 18:03

administrator   ~0001912

Files removed: (if there)
themes/default/templates_custom/JAVASCRIPT_JQUERY.tpl

New files:
themes/default/templates/JAVASCRIPT_JQUERY.tpl
themes/default/templates/JAVASCRIPT_JQUERY_AUTOCOMPLETE.tpl
sources/hooks/systems/notifications/member_mention.php
sources/member_mentions.php
themes/default/css/autocomplete.css
themes/default/templates/AUTOCOMPLETE_LOAD.tpl

Files changed:
cms/pages/modules/cms_comcode_pages.php
lang/EN/comcode.ini
sources/ajax.php
sources/banners2.php
sources/calendar2.php
sources/catalogues2.php
sources/cedi.php
sources/comcode_from_html.php
sources/comcode_text.php
sources/content.php
sources/downloads2.php
sources/feedback.php
sources/forum/cns.php
sources/galleries2.php
sources/global2.php
sources/hooks/systems/notifications/comment_posted.php
sources/iotds.php
sources/news.php
sources/cns_forums_action.php
sources/cns_groups_action.php
sources/cns_members_action.php
sources/cns_posts_action.php
sources/cns_topics_action.php
sources/polls.php
sources/quiz.php
sources/symbols.php
themes/default/css/forms.css
themes/default/css/global.css
themes/default/templates/COMCODE_MEMBER_LINK.tpl
themes/default/templates/COMMENTS_POSTING_FORM.tpl
themes/default/templates/FORM_SCREEN_FIELD.tpl
themes/default/templates/FORM_SCREEN_FIELDS_SET_ITEM.tpl
themes/default/templates/FORM_SCREEN_INPUT_HUGE_COMCODE.tpl
themes/default/templates/JAVASCRIPT.tpl
themes/default/templates/JAVASCRIPT_AJAX_PEOPLE_LISTS.tpl
themes/default/templates/JAVASCRIPT_EDITING.tpl
themes/default/templates/POSTING_FIELD.tpl

Lhasadreams

2013-12-12 19:19

reporter   ~0001913

This is great Chris, works an absolute treat.

I think lots of people will use this feature :-)

Cheers
Ade

Chris Graham

2013-12-12 19:20

administrator   ~0001914

I'm not quite done, the mention mails are not going out consistently - trying to track down why right now. You may get an unjointed assortment through while I debug.

Lhasadreams

2013-12-12 19:22

reporter   ~0001915

Ok, I have seen a few.

Look forward to an update - its like an early Christmas present :-)

Chris Graham

2013-12-12 19:31

administrator   ~0001916

Last edited: 2013-12-12 19:31

View 2 revisions

Lol, silly me! I was testing as you, and mentioning you, and it doesn't send notifications to yourself (except in test mode, which is when it did work). All is fine :).

Issue History

Date Modified Username Field Change