Ex: phpBB Arcade Menu + Buttons

phpBB Arcade 3.2.x. news and announcements are posted here.
  • Sticky - Post
User avatar
KillBill
Site Admin
Site Admin
Posts: 2022
Joined: Sun Oct 12, 2014 7:58 pm
Gender: Male
Arcade super highscore: 16
Arcade highscore: 7

Ex: phpBB Arcade Menu + Buttons

Post by KillBill » Thu Sep 10, 2015 12:42 am

Only phpBB Arcade 4.0.RC2 or later!

1. Board3 Portal
  • Main menu: No parent
  • Menu name: PORTAL
  • Menu icon fa-university
  • Page name: app/portal
  • Permissions: cfg_board3_enable && acl_u_view_portal && portal_show
2. JV Points System
  • Main menu: No parent
  • Menu icon fa-money
  • Menu name: Euro
  • Page name: app/points
  • Permissions: user_is_registered && points_show
3. phpBB.com
  • Main menu: No parent
  • Menu name: phpBB.com
  • Menu icon: fa-link
  • Page name: onclick
  • Additional parameters: window.open('https://phpbb.com'); return false;
4. Faq
  • Main menu: No parent
  • Menu name: FAQ
  • Menu icon: fa-question-circle

    After creation, we move up this menu item to the top position.
    Then continue to create submenus.

    1. phpBB Faq
    • Main menu: FAQ
    • Menu name: FAQ_EXPLAIN
    • Menu icon: fa-question-circle
    • Page name: app/help
    • Additional parameters: faq
    2. JV Points System Faq
    • Main menu: FAQ
    • Menu name: JV_POINTS_GUIDE
    • Menu icon: fa-question-circle
    • Page name: app/help
    • Additional parameters: points
    • Permissions: user_is_registered && points_show
    3. phpBB Arcade Faq
    • Main menu: FAQ
    • Menu name: ARCADE_GUIDE
    • Menu icon: fa-question-circle
    • Page name: app/help
    • Additional parameters: arcade_faq
    • Permissions: acl_u_arcade && (user_is_registered && acl_a_ || !acfg_arcade_disable)
    4. phpBB Holdem Poker Faq
    • Main menu: FAQ
    • Menu name: JV_POKER_FAQ
    • Menu icon: fa-question-circle
    • Page name: app/help
    • Additional parameters: poker
    • Permissions: acl_u_jv_poker && (user_is_registered && acl_a_ || !cfg_jv_poker_disable)
    5. phpBB BBCode Faq
    • Main menu: FAQ
    • Menu name: BBCODE_GUIDE
    • Menu icon: fa-question-circle
    • Page name: app/help
    • Additional parameters: bbcode

And disabled default phpBB menu item

open: [ROOT]/styles/{YOUR_STYLE}/template/navbar_header.html
Find

Code: Select all

		<li <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->>
			<a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">
				<i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>{L_FAQ}</span>
			</a>
		</li>
Replace with

Code: Select all

		<!-- IF S_I_NO_USE_THIS_MENU_ITEM -->
		<li <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->>
			<a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">
				<i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>{L_FAQ}</span>
			</a>
		</li>
		<!-- ENDIF -->
and purge forum cache!