problem with hook
#4
http://docs.mybb.com/1.8/development/plugins/hooks/
As you can see, $forum should be passed as a function parameter, not globalized.

And concatenation isn't needed there because it's an conditional with a single assignment, not a loop.
Reply


Messages In This Thread
problem with hook - by chack1172 - 2015-09-09, 01:18 PM
RE: problem with hook - by Sazze - 2015-09-09, 01:46 PM
RE: problem with hook - by chack1172 - 2015-09-09, 04:50 PM
RE: problem with hook - by Destroy666 - 2015-09-10, 10:50 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)