Event List

Request hook events and what data needs to be sent for the new hook system.
Forum rules
To facilitate the general communication between the members and for the benefit of the community you are asked to write your posts in English. May be you get no answer, if you write in other languages.
  • Sticky - Post
User avatar
KillBill
Site Admin
Site Admin
Posts: 1112
Joined: Sun Oct 12, 2014 7:58 pm
Gender: Male
Arcade super highscore: 6
Arcade highscore: 0

Event List

Postby KillBill » Wed Sep 02, 2015 2:53 pm

PHP EVENTS

  1. Identifier: jv.arcade.main
    Placement: arcade.php
    Arguments: mode, type, detailed_stats, arcade_page, user_id, game_id, cat_id, tour_id, start
    Added in Release: 4.0.RC2
    Explanation: Main event which is triggered on every page
    -------------------------------------------------------------------
  2. Identifier: jv.arcade.play_game
    Placement: ext/jv/arcade/inc/game/play.php
    Arguments: game_data
    Added in Release: 4.0.RC2
    Explanation: Event to add playing game normal window
    -------------------------------------------------------------------
  3. Identifier: jv.arcade.set_style
    Placement: ext/jv/arcade/inc/display.php
    Arguments: styles
    Added in Release: 4.0.RC2
    Explanation: Add + template path
    -------------------------------------------------------------------
  4. Identifier: jv.arcade.game.score.game_over
    Placement: ext/jv/arcade/inc/game/score.php
    Arguments: save_highscore, popup
    Added in Release: 4.0.RC3
    Explanation: Event to add game over
    -------------------------------------------------------------------
  5. Identifier: jv.arcade.game.add_allow_bots
    Placement: ext/jv/arcade/inc/arcade.php
    Arguments: allow_bots
    Added in Release: 4.0.RC3
    Explanation: Before starting the game the exempt Bots from permissions check.

Template Events

  1. Identifier: jv_arcade_main_box_before
    All Placement (If applicable): arcade/index_body.html
    Added in Release: 4.0.RC2
    Explanation: Add content before the main box.
    -------------------------------------------------------------------
  2. Identifier: jv_arcade_cat_body_before
    All Placement (If applicable): arcade/index_body.html
    Added in Release: 4.0.RC2
    Explanation: Add content before the category list.
    -------------------------------------------------------------------
  3. Identifier: jv_arcade_cat_body_after
    All Placement (If applicable): arcade/index_body.html
    Added in Release: 4.0.RC2
    Explanation: Add content after the category list.
    -------------------------------------------------------------------
  4. Identifier: jv_arcade_play_info_box_last_block_after
    All Placement (If applicable): arcade/play_info_box.html
    Added in Release: 4.0.RC2
    Explanation: Add content after game info block
    -------------------------------------------------------------------
  5. Identifier: jv_arcade_js_script_before
    All Placement (If applicable): arcade/script_body.html
    Added in Release: 4.0.RC2
    Explanation: Add javascript before the arcade javascript.
    -------------------------------------------------------------------
  6. Identifier: jv_arcade_js_script_after
    All Placement (If applicable): arcade/script_body.html
    Added in Release: 4.0.RC2
    Explanation: Add javascript after the arcade javascript.
    -------------------------------------------------------------------
  7. Identifier: jv_arcade_play_game_title
    All Placement (If applicable): arcade/play_body.html
    Added in Release: 4.0.RC3
    Explanation: Add content game title.
    -------------------------------------------------------------------
  8. Identifier: jv_arcade_popup_play_game_title
    All Placement (If applicable): arcade/popup_body.html
    Added in Release: 4.0.RC3
    Explanation: Add content game title.
    -------------------------------------------------------------------
  9. Identifier: jv_arcade_game_over_score_desc_before
    All Placement (If applicable): arcade/score_body.html
    Added in Release: 4.0.RC3
    Explanation: Add content score description before.
    -------------------------------------------------------------------
  10. Identifier: jv_arcade_game_over_score_desc_after
    All Placement (If applicable): arcade/score_body.html
    Added in Release: 4.0.RC3
    Explanation: Add content score description after.
    -------------------------------------------------------------------
  11. Identifier: jv_arcade_game_comment_title_before
    All Placement (If applicable): arcade/score_body.html
    Added in Release: 4.0.RC3
    Explanation: Add content game comment title before.

ACP Template Events

  1. Identifier: acp_jv_arcade_js_script_before
    Placement: event/acp_overall_header_head_append.html
    Added in Release: 4.0.RC2
    Explanation: Add javascript before the arcade javascript.
    -------------------------------------------------------------------
  2. Identifier: acp_jv_arcade_js_script_after
    Placement: event/acp_overall_header_head_append.html
    Added in Release: 4.0.RC2
    Explanation: Add javascript after the arcade javascript.


Return to “Event Requests”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests