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 12 years ago
  Thanks Treazer! :D
Treazer 12 years ago
  Just added packid.
gamelover101 12 years ago
  Typo: View Soure Selection > View Source Selection
SuperMario 12 years ago
  And you forgot the Pack ID |:)
nachos 12 years ago
 
[msgid=294090 removed]

Thank you for this topic.. I have been trying to figure this out forever :)
Treazer 12 years ago
  Example comment. (msgid 294275)
SimonM 12 years ago
  Cool tutorial, although I already know it.
Treazer 12 years ago
  How to use IDs?

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_XXXX

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

Level [levelname] . [More]

"XXXXX" is the level id in this case.
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.

.../users/profile_[user id].html

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#msgXXXXX

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

id="msgXXXXX"

"XXXXX" is the message id in this case.

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)

Compilation (Jump Gear 2) (lvlid 30000)

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 12 years ago
  How to use IDs?

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_XXXX

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

Level [levelname] . [More]

"XXXXX" is the level id in this case.
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.

.../users/profile_[user id].html

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#msgXXXXX

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

id="msgXXXXX"

"XXXXX" is the message id in this case.

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)

Compilation (Jump Gear 2) (lvlid 30000)

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