Page 7 of 10
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 16:49
by Blizzie
Hi i installed this mod
its great but u still need to update it from time to time etc fix bugs
i got a question
how do u make it so submenu / menu is visible on registered users ( what they ar allowd to see )
in another way how do i change it so this menu showin via group premissions
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 18:47
by cisco007
i have not updated it nor do i think i will update it, due to reason talked about elsewhere!
as far as the visible parts take a look a the install file on the menu sections that have a
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --> content here <!-- ENDIF --> those parts will only be visible to registered users.
as far as the permissions all the links included in the install have and use phpbb permissions except the links you add yourself!
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 19:20
by Blizzie
ok can u lead me the the reason ?
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 19:32
by cisco007
don't really understand what you are asking!
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 20:17
by Blizzie
can you link me to the topic / site where you said it about you dont want to update it any more
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 20:23
by cisco007
no i am telling you now that i won't update it, the reason was not talked about here, it was because of something that was said at phpbb.com. I am not going to link to it. I did not nor have I encountered any bugs, but if you have one tell me about it here, i'll see if i can fix it!
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 23:23
by Blizzie
cisco007 wrote:as far as the visible parts take a look a the install file on the menu sections that have a
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --> content here <!-- ENDIF --> those parts will only be visible to registered users.
i know that part
but i also wanted the code for permission given to the user / user role code
so like an registered user cant see menu that should only be able for admins
if u know what i mean now ?
Re: [BETA]phpbb.com style menu
Posted: 13 Jun 2010, 23:50
by cisco007
well then use the
and
statements!
Re: [BETA]phpbb.com style menu
Posted: 14 Jun 2010, 00:04
by Blizzie
ok im noobish
so u mean
Code: Select all
<!-- IF U_MCP -->
<li class="but-downloads"><a href="modsdb.php"><span></span>downloads</a></li>
<!-- IF U_ACP -->
or how ?
Re: [BETA]phpbb.com style menu
Posted: 14 Jun 2010, 00:12
by cisco007
no like this
Code: Select all
<!-- IF U_MCP -->
<li class="but-downloads"><a href="modsdb.php"><span></span>downloads</a></li>
<!-- ENDIF -->
or
Code: Select all
<!-- IF U_ACP -->
<li class="but-downloads"><a href="modsdb.php"><span></span>downloads</a></li>
<!-- ENDIF -->