NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

How do I customize "Click to Copy IP" and "Discord" on header
Started by MineNoob123

MineNoob123

MineNoob123

Member
Joined
06 Mar 2020
Last Seen
16 Jul 2020
Topics
1
Posts
3

I was wondering how I can make custom Click to Copy IP and Discord Server buttons like Xemah did in his live demo of Cesium Template: https://nmc.xemah.com/

I do not know HTML or CSS so if anyone could tell me what to put in header.tlp that would be nice!

Thanks,

Damian Wood

MineNoob123 · over 4 years ago · Last edited: over 4 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
14 Oct 2024
Topics
41
Posts
1074

Hi,

Unfortunately it can be tricky without knowledge of HTML/CSS/JavaScript.

What exactly do you want to change it to?

x1
Samerton · over 4 years ago
MineNoob123

MineNoob123

Member
Joined
06 Mar 2020
Last Seen
16 Jul 2020
Topics
1
Posts
3

I want to make it like the live demo

MineNoob123 · over 4 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
14 Oct 2024
Topics
41
Posts
1074

So Xemah's Discord count is something completely custom, using the Discord API, and unfortunately I don't have any code available to send to you.

You can add something like this to your template to display a shorter version of the server status, and edit the text in the file custom/languages/language/general.php to get rid of the "There are currently" part of the text.

I can't send any CSS for this since Xemah made it himself, and as it's a premium template it can't be shared.

Samerton · over 4 years ago
MineNoob123

MineNoob123

Member
Joined
06 Mar 2020
Last Seen
16 Jul 2020
Topics
1
Posts
3

Thanks

MineNoob123 · over 4 years ago