Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: xB420WA - elokuu 05, 2014, 08:09:43 AP

Otsikko: [HELP] could some body tell me?
Kirjoitti: xB420WA - elokuu 05, 2014, 08:09:43 AP
Hey i have some confusion to understand this! whats hook.php and where it should paste!?
Otsikko: Re: [HELP] could some body tell me?
Kirjoitti: margarett - elokuu 05, 2014, 08:13:25 AP
It shouldn't paste. That's a code file that will be executed by PackMan when installing a MOD.

If you want to install MODs manually you need to run that file directly via browser.
Otsikko: Re: [HELP] could some body tell me?
Kirjoitti: xB420WA - elokuu 05, 2014, 08:32:14 AP
i understand 2nd file that its need to moves at /source but where do i move hook to....
Otsikko: Re: [HELP] could some body tell me?
Kirjoitti: margarett - elokuu 05, 2014, 08:49:55 AP
Copy it to your forum root and run it via browser.

Although, as you've been told numerous times, you should just use Package Manager to install mods ;)
Otsikko: Re: [HELP] could some body tell me?
Kirjoitti: xB420WA - elokuu 05, 2014, 09:09:58 AP
i know are but i have free services thats i hope you understand what i  want to say


Lainaus käyttäjältä: margarett - elokuu 05, 2014, 08:49:55 AP
Copy it to your forum root and run it via browser.

Although, as you've been told numerous times, you should just use Package Manager to install mods ;)
Otsikko: Re: [HELP] could some body tell me?
Kirjoitti: margarett - elokuu 05, 2014, 09:16:03 AP
I'm not going to discuss that with you ;) I'm just saying (like many others did) that you are doing stuff the hard way for no real benefit.

Anyway, you need to upload hooks.php to your forum root (where SSI.php is) and run it via browser --> www.yourforum.com/hooks.php