e107 icon indicating copy to clipboard operation
e107 copied to clipboard

Forum - {TRACK} works only for first one

Open Jimmi08 opened this issue 5 years ago • 1 comments

Bug Description

Normally you have {TRACK} shortcode at the top and bottom of the forum topic.
I don't know if it is bootstrap related, but on the bootstrap4 site it works only with the first shortcode. I mean changing icon etc.

I suppose it is because ID forum-track-button is used, not a class.

Default core template use this too: forum_viewtopic_template.php

Thanks

Importance: low Fixed by removing the second shortcode from the theme template.

Jimmi08 avatar Dec 07 '20 15:12 Jimmi08

when you have a list of tracked topics, nothing changes when clicking to untrack topic (no visual change). After refresh, the topic is not listed.

ID includes topic id - $buttonId = "forum-track-button" . intval($row['thread_id']);

Is it ajax problem or bootstrap 5 ?

Jimmi08 avatar May 15 '22 14:05 Jimmi08

https://github.com/e107inc/e107/issues/4932

Jimmi08 avatar Jan 01 '23 15:01 Jimmi08