TitanEmbeds / Titan

Create Discord server widgets for websites of all sizes! A simple to setup process for end-users. Server members may view or send messages into an embedded Discord channel.

Home Page:https://titanembeds.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Use a button for guest login instead

jelle619 opened this issue · comments

Request by Nihbru#1391

"is it possible to add a button for the guest login? something like this maybe.."
"From my POV it's easy to log in, its just some of my users aren't techy and because it's a radio station, they're not prepared to do much reading since they're not overly engaged or motivated, if possible, a button like that would be really great 😃"

https://cdn.discordapp.com/attachments/300367171442442241/475342898112626698/guest-login-button.jpg

Implemented in 0a88e95

The button is initially hidden and is not normally visible to maintain backwards compatibility and sustain small embed widths.

Use custom css like this to display the button nicely:

#guestlogin_btn {
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 7px;
}

#guest_login_instr {
	display: none;
}

#custom_username_field_label {
	display: none;
}

#guestlogin_box {
	display: flex;
}