ericgregorich / micro-blog-cards-theme

Cards is a simple theme for Micro.blog.
MIT License
12 stars 6 forks source link

Kudos not displayed on single post #17

Open jfmartin67 opened 9 months ago

jfmartin67 commented 9 months ago

Option is check on plugin settings page. Tinylytics plugin is installed and configured. Safari-Personal (Default) — The work to switch my blog’s visual theme is …@2024-01-28@21 09 58@2x

ericgregorich commented 9 months ago

Are you using a plugin to add Tinylytics or adding your embed script directly into your footer?

My blog is running 1.6, and I did not have Tinylytics setup. I added my embed code to Design > Edit Footer.

<script src="https://tinylytics.app/embed/{YourEmbedCode}.js?kudos" defer></script>

After saving, I went to the Cards Theme Plugin, enabled the " Enable Tinylytics Kudos?" checkbox, and saved.

A few seconds later, Kudos started showing on my posts.

image

Let me know if you're using a Plugin instead. Perhaps something else is conflicting with it on your page.

ericgregorich commented 9 months ago

I ran one of your posts through an HTML validator and found some errors that appear to be coming from your custom Footer HTML.

I see your Tinylytics embed code in there, but it may not be rendering correctly since some of your tags seem to be out of order.

jfmartin67 commented 9 months ago

Actually, I do have the plugin AND the embed code in the footer... removed the plugin, waiting for site to rebuild... let you know.

jfmartin67 commented 9 months ago

Well, I removed all the but Tinylytics embed line in the footer, the plugin was uninstalled and enabled the show kudos.. the HTML validator still returns some errors...

ericgregorich commented 9 months ago

If you remove everything from your footer except the Tinylytics script, does it render? Does the validation errors go way?

I still feel like it may be related some of the HTML in your footer causing some issue. Removing everything except the script may prove or disprove that theory.

jfmartin67 commented 9 months ago

Nope. The following is the current error state. I get the feeling that this is something within the theme itself... Safari-Personal (Default) — Showing results for httpsblog numericcitizen me20240130this-is-such html - Nu Html Checker@2024-01-31@06 18 06@2x

ericgregorich commented 9 months ago

Please see if there is any difference in v1.7.

I'm not seeing any validation errors on my blog except on posts that don't have conversation. In that case, the conversation. In returns an error. I need to check with Manton about that.

jfmartin67 commented 9 months ago

1.7, nor 1.8 fixes the issue.

jfmartin67 commented 9 months ago

Kudos are working because I decided to install the Tinylytics Plugin. But I'm working at showing the webring and hits.