Novel Games - Mastering All the Games in Human History
search
Log In Register
Name
0 / 2735
0
Notifications
99

Your Account

Settings Log Out

Notifications

You have no new notifications.

Language

繁體中文 简体中文 Español 日本語 Português Deutsch العربية français Русский 한국어 भारतीय
Menu

Forums > General Discussion

Can anyone help me with the code?

by zizanio
2019-02-08 00:13:13
#1
zizanio
2
I'm putting the code as I point it here what I can not do is identify the player name that's connected to my site

This my code

<p style="text-align: center;"><script async src="//license.novelgames.com/games/game.js"></script>
<ins class="novelgames_cloudgame"
data-game-short-name="mpbackgammon"
data-language="en"
data-member-id="ng35661750"
data-player-name="John Smith"
data-player-picture-url="https://www.mysite.com/wp-content/uploads/avatars/1/5ba76d44c03ba-bpfull.jpg"
data-time-limit-scale="0"
></ins></p>


What I'm wrong with and does not recognize the name of the player logged in to my site

If you help me, I would be very happy thanks
by zizanio
2019-02-08 00:13:13
Like
Reply
#2
zizanio
You also need to specify the data-player-hash if you are using any parameters that specify the player, such as data-player-name. Please refer to the Cloud Games documentation page for details about setting data-player-hash: https://license.novelgames.com/formats/cloud/
by Novel Games
2019-02-08 10:22:17
Like
Reply
#3
zizanio
31
Write an example the documentation page doesn't help
by Sakis
2020-02-02 03:34:22
Like
Reply
#4
zizanio
In reply to #3:
The documentation page already contains an example. Maybe can you email us about the problems you are having so that we can take a look?
by Novel Games
2020-02-03 16:28:26
Like
Reply

Post a Reply

You must log in to post a reply
Log In Register
In reply to #1:
Please enter a message
by %s
Post Reply
Submitting...
Post reply failed. Please try again. Close