Daily Lucky Numbers:
8
11
21
26
34
39

SFM Arcade 2.6.4 and Alternative Menu 1.4.2 (SMF 2.0.17)

Started by Fredisland, January 04, 2021, 07:36:43 PM

Previous topic - Next topic

Fredisland

Hello,

I try to add an access to the Arcade section with the SMF MOD Alternative Menu, but I fail :

$context['allow_arcade'] = allowedTo(' ? '); (in AlternativeMenu.subs.php file)

After looking into all the php source file provided with SMF Arcade package, I've tried several combinations :

arcade
arcade_play / play_arcade
arcade_view / view_arcade
...


But nothing ! Could someone help me ?

Thank you very much.

Fred, from France.

Chen Zhen


Since you are familiar with editing files, I will assume you know what to do with the attachments.


Fredisland

Thank you Chen for your files.

I compared your files with mines, and they were the same, I didn't make any error.
So I replaced MY files with YOUR your files : failed !
So I had an idea : because Alternative Menu uses hooks, I have uninstalled it, then reinstalled it to make him "hook" the arcade mod. And it WORKED : Now ARCADE is displayed on my menu. Add tonight, I'm an happy man.
Thank you so much for you quick reply my friend.