Play the games, create the levels

Topic, Syntax: How to find ID's?

Checkout our iPhone & iPad games!

You must register or log in to post a message.

SuperMario 9 months ago
  Thanks Treazer! :D
Treazer 9 months ago
  Just added packid.
gamelover101 11 months ago
  Typo: View Soure Selection > View Source Selection
SuperMario 11 months ago
  And you forgot the Pack ID |:)
nachos 11 months ago
  Quoting SuperMario from The topic where you can only post the most random things you can think of that doesn't make sense...
Y35

Thank you for this topic.. I have been trying to figure this out forever :)
Treazer 11 months ago
  Example comment.
SimonM 11 months ago
  Cool tutorial, although I already know it.
Treazer 11 months ago
  ID's, for what? Syntax Tutorial

There are 4 ID's on BonusLevel you should know about.

1. The Level ID (short: lvlid)
You find them in the link (look at the adress bar) of the level. Check the end of the URL, it should look like that:

...html#lvlid_[lvl id]

But you can also find them at the info of the level (comments, scores etc). Should look like that:

Level [levelname]
[ lvlid= ??? ]
Designed by [username]. [More]



There are other ways too, but they're unnecessary.

2. The User ID (short: userid)
You can look at the link for the userid again. Go to the profile of the user and look at the link. There should be a number. That's the easiest way.

3. The Message ID (short: msgid)
This time the link won't help.
Copy the message, right click, Inspect Element.
You should find something like that:

div#msg[msg id]

If you don't have "Inspect Element" you can click "View Source Selection" (or something like that). Then a window opens. Then you should search for:

id="msg[msg id]"


4. The Pack ID (short: packid)
The pack id is pretty similar to the user id. Play a pack and check the link. There should be a number at the end of the URL. Like that:

.../game_[game]_[game number]_[pack name]_[pack id].html

---------------------------------------------

jp ( userid 1 )

Taken by a Stranger (Puzzle It) ( lvlid 28827 )

Quoting Treazer from Syntax: How to find ID's?
Example comment.
( msgid 294275 )

9 great levels (CoBaCoLi) ( packid 1 )

[1]

General

First post of the topic

Treazer 11 months ago
  ID's, for what? Syntax Tutorial

There are 4 ID's on BonusLevel you should know about.

1. The Level ID (short: lvlid)
You find them in the link (look at the adress bar) of the level. Check the end of the URL, it should look like that:

...html#lvlid_[lvl id]

But you can also find them at the info of the level (comments, scores etc). Should look like that:

Level [levelname]
[ lvlid= ??? ]
Designed by [username]. [More]



There are other ways too, but they're unnecessary.

2. The User ID (short: userid)
You can look at the link for the userid again. Go to the profile of the user and look at the link. There should be a number. That's the easiest way.

3. The Message ID (short: msgid)
This time the link won't help.
Copy the message, right click, Inspect Element.
You should find something like that:

div#msg[msg id]

If you don't have "Inspect Element" you can click "View Source Selection" (or something like that). Then a window opens. Then you should search for:

id="msg[msg id]"


4. The Pack ID (short: packid)
The pack id is pretty similar to the user id. Play a pack and check the link. There should be a number at the end of the URL. Like that:

.../game_[game]_[game number]_[pack name]_[pack id].html

---------------------------------------------

jp ( userid 1 )

Taken by a Stranger (Puzzle It) ( lvlid 28827 )

Quoting Treazer from Syntax: How to find ID's?
Example comment.
( msgid 294275 )

9 great levels (CoBaCoLi) ( packid 1 )
Our free flash games   Games for your site   Games for your iPhone   Contact   Twitter @jpsarda & @bonuslevelorg