View Issue Details

IDProjectCategoryView StatusLast Update
1013Composrcore_rich_mediapublic2013-12-12 19:31
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary1013: Alternate user syntax
DescriptionComposr supports {{user}}, but @user has become popular in recent years. Support that also.
TagsNo tags attached.
Attach Tags
Attached Files
patch.diff (513,498 bytes)
Time estimation (hours)1
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Relationships

related to 1014 ResolvedChris Graham Notification on user reference 
related to 1016 ResolvedChris Graham Styling for Comcode user links 
related to 1465 ResolvedChris Graham Inline autocomplete of usernames 

Activities

Lhasadreams

2013-12-10 14:05

developer   ~1900

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   ~1901

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

developer   ~1902

Hi Chris,

Worth an ask !! :-)

Ok, all 4 sponsored.

Cheers
Ade

Chris Graham

2013-12-11 14:11

administrator   ~1903

Thanks for the sponsorship :).

Chris Graham

2013-12-12 17:30

administrator   ~1910

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   ~1911

Patch also attached.

Chris Graham

2013-12-12 18:03

administrator   ~1912

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

developer   ~1913

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   ~1914

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

developer   ~1915

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   ~1916

Last edited: 2013-12-12 19:31

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