Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Elmacik - joulukuu 15, 2005, 08:00:34 IP

Otsikko: Where in Recent.template.php permissions are checked?
Kirjoitti: Elmacik - joulukuu 15, 2005, 08:00:34 IP
I know I'am asking too much but I am very curious to learn.
I read everyline of Recent.template.php :P But couldnt find where it checks if the user is allowed to that board or not.
Where is it?
Otsikko: Re: Where in Recent.template.php permissions are checked?
Kirjoitti: JayBachatero - joulukuu 15, 2005, 08:02:30 IP
It's in Recent.php in the source dir.
Otsikko: Re: Where in Recent.template.php permissions are checked?
Kirjoitti: Elmacik - joulukuu 15, 2005, 08:47:16 IP
Thanks JayBachatero,
I was using $post['board'] but that wasnt what I need as I saw it in the file you spotted ;)
What I need was $post['board']['id]

Thanks again.
Otsikko: Re: Where in Recent.template.php permissions are checked?
Kirjoitti: JayBachatero - joulukuu 15, 2005, 08:48:21 IP
You're welcome.