Copy IP Button

Status
This thread has been locked.

ItsCyprus

Feedback score
1
Posts
48
Reactions
32
Resources
0
How do you do this? I am really wandering and looking around but I can't seem to edit it right or find a perfect match for where I want to put it since my server website uses MyBB for forum software. So I am unsure where to put the scripts plus all the tags in the .xml file
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

NucleiDev

Website Designer
Premium
Feedback score
10
Posts
39
Reactions
40
Resources
0
Add this to the head:
Code:
<!--Clipboard.js-->
    <script src="https://cdn.jsdelivr.net/clipboard.js/1.5.12/clipboard.min.js" async></script>

Put this script in body:
Code:
<script>
new Clipboard('#copy');
</script>

Put your I.P in here and put this in ur page:
Code:
<span data-clipboard-text="play.yourip.here" class="coloured" id="copy">play.mcminigames.com</span>
 
Last edited:

Tracer

Feedback score
6
Posts
177
Reactions
128
Resources
0
Add this to the head:
Code:
<!--Clipboard.js-->
    <script src="https://cdn.jsdelivr.net/clipboard.js/1.5.12/clipboard.min.js"></script>

Put this script in body:
Code:
<script>
new Clipboard('#copy');
</script>

Put your I.P in here and put this in ur page:
Code:
<span data-clipboard-text="play.yourip.here" class="coloured" id="copy">play.mcminigames.com</span>
Putting Javascript sources in the head without async or defer attributes are unwise.

This may help you out next time.

Without them, put them at the bottom of the page just before the closing body tag.
 

ItsCyprus

Feedback score
1
Posts
48
Reactions
32
Resources
0
Thanks I will try this to see if I can do it properly cause sometimes I can't seem to do things right[DOUBLEPOST=1475526816][/DOUBLEPOST]Yeah, I can't do this right if someone could do it for me then that be greatly appreciated and I hope free but all I am willing to throw in if you desire and demand money to do work then I can throw in $2 cause that seems like it is all it be worth but I rather be told that it is FREE
 

Tracer

Feedback score
6
Posts
177
Reactions
128
Resources
0
I solved it for him. ;p
 
Status
This thread has been locked.
Top