Discobot assets certificate.svg

AI 生成的摘要

The discussion revolves around issues with Discobot assets, specifically the certificate.svg file. Imperator reported problems with the file not being found, which was initially thought to be a bug. However, tgxworld discovered that the issue was due to a 404 error with either the logo or user avatar URL.

Imperator provided logs and details about their setup, which helped tgxworld identify the problem. The issue was fixed in a commit to the Discourse repository.

Later, Imperator reported some minor issues with the certificate layout, including text alignment and background color. codinghorror suggested correcting the certificate background, which was fixed by tgxworld in another commit.

Hello,

i have try now the discobot and i have some problems with the basic assets in his massages he dont find the unicorn.png and the certificate.svg

maybe a bug?

regards
Imperator

What do you mean have tried? Discobot is integrated into every Discourse install by default.

Can you provide the URL to those images?

I have make the Tutorial.

Sure, <img class='discobot-certificate' src='http://manabase.de/discobot/certificate.svg?date=Jul+03+2017&user_id=33' width='650' height='464' alt='Urkunde'>

Can you check your logs for errors? I’m getting a 500 error for the image.

Here the Log, what is the best way to post logs here :slight_smile: ?

Live Server Live Server - Pastebin.com


I have done a fresh install on a Ubuntu 16.04 LTS x64 and follow these guide both Servers was setup this way. I get the same Error. Fresh Install - Pastebin.com

There i test on the fresh install the Lightbox but it never runs by me. But i try first to find the error here.
https://meta.discourse.org/t/images-no-longer-getting-lightboxed-part-3/24485

Regards
Imperator

Hmm I see the problem. The URL for your either your logo or user avatar is 404ing. This is a valid bug though, the certificate shouldn’t blow up even if one of the images is not valid.

2 个赞

:confused: sorry i dont understand.

How can i proof wicht url are 404ing?
I look on the Settings Logos
The logo url are: /uploads/default/original/2X/e/ecf8a75886efb8778524f99c2abf7196eec502e5.png
The small log url are: /uploads/default/original/2X/e/ecf8a75886efb8778524f99c2abf7196eec502e5.png

One thing that i have change was the size of the images. I have they uploaded in the Assets Topic in the Staff Categorie.

I dont know how i can do some false setting for the User Avatars.

Edit: Links direkt to the images

Fixed in

https://github.com/discourse/discourse/commit/78bb367b0a704927ca251ffd7bef8e6fdf1a8a9a

Thanks for reporting @Imperator

4 个赞

Thank for the fix!

It looks a little bit weird.

  1. In EN the text are center, at the translation not. I test it on German.
    new user
    advanced user

  2. I used the Dark Theme and the advanced user have a transparent background. Maybe it should be like the new user with a white background.

regards
Imperator

4 个赞

At minimum we should correct the cert bg here @tgxworld

1 个赞

Fixed in

Not sure why exporting the SVG from Adobe drew a giant hole in the middle of the path element.

5 个赞