게스트 게이트 테마 컴포넌트

Hey @Oliver530 :wave:

I’ve merged an update which makes it possible with HTML. So you can use <br> to line break. :slightly_smiling_face:

https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/16

4개의 좋아요

Thank you very much for the plugin.
I wasn’t able to use the preview feature.
Installed from Themes with the Github address without any problems but I can’t see the preview to edit.

Thank you.

1개의 좋아요

Hey @BogacErkan :waving_hand:

Thank you :slightly_smiling_face:

If you setted up the component, you have to be logged out to see guest gate modal. Just open an incognito tab and open some topics to check guest gate. :slightly_smiling_face:

1개의 좋아요

Thank you very much @Don.

1개의 좋아요

Do I have to do something else other than adding the plugin to the theme and clicking this?

image

I tried in an incognito tab and Edge (and I hate that browser) but couldn’t make it show.

Can you please share some screenshot about the component settings? :slightly_smiling_face:

Of course.

Forum is located here
Thank you..

1개의 좋아요

Thanks :slightly_smiling_face: It seems the component broken a bit. There was some modal changes in core. I’ll check this and try to fix.

4개의 좋아요

Thank you very much.

1개의 좋아요

Hello, I’ve merged a quick fix but I think it needs more care in the future… Please update the theme component :slightly_smiling_face:

4개의 좋아요

Thank you very much @Don
:bouquet:

1개의 좋아요

Unfortunately, this component does not work correctly now when you enable Experimental Lightbox[1] (enable experimental lightbox setting).

Whenever you have gate show when thumbnail clicked setting with experimental lightbox (which it seems soon to become default one), and click at thumbnail, the image will open in the lightbox successfully, while custom gate message will remain in the backrgound.

The solution is to not enable experimental lightbox for now. Hope this report helps updating the Component to properly catch new lightbox initialization.


  1. discussion topic ↩︎

2개의 좋아요

Hello :wave:

Thanks for the report! I’ve added compatibility with new lightbox too. :slightly_smiling_face:
https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/18

6개의 좋아요

We can confirm the issue is now fixed. Thank you a lot! :black_heart:

1개의 좋아요

I merged this update: Migrate Guest Gate Modal to component based API by VaperinaDEV · Pull Request #20 · VaperinaDEV/discourse-guest-gate-theme-component · GitHub

2개의 좋아요

Very similar to what I’ve been doing today @Don, funnily enough!

2개의 좋아요

hello,don,Thanks for developing this component, but I’m having incompatibility issues enabling it on my website.

The version is 3.1.1,I don’t know where the problem is. Can you help me analyze it?I think this component is very good and I want to enable it.

2개의 좋아요

@go_ahead I just installed it and it’s working as expected with no problem. Can you see if there are any errors in your console log?

1개의 좋아요
Guest Gate Theme Component theme/component is throwing errors:
Error: Could not find module `discourse/components/modal/login` imported from `discourse/theme-7/components/modal/guest-gate`

Is this an error log? Thank you very much for your reply.

2개의 좋아요

oh you’re on 3.1 and there was this.

:thinking: I wonder if it’s because those modal changes in core haven’t been migrated to your instance yet? are you self-hosted?

@Don just recently merged this update and I suspect that may be related. I am sure he will be able to help :slight_smile:

2개의 좋아요