Jump to content

Force connection to view the forums


sonimik1

Recommended Posts

maybe wait someone know more the forums then me :(

but its those 2 solution i found :( 

the second for me still the better way  the the first one :)  but what u cant do its rewrite

like {{ if memberlogin}} something like that

{{if $member->member_id and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}}

see the forum index

if not u can show a " Block" writen in ur  html forums

Link to comment
Share on other sites

i give u a exemple over there:

but i think the best way : its to find out and put ur code after:

<main role='main' id='ipsLayout_body' class='ipsLayout_container'> 

 

and before :

		</main>

add :

{{endif}} 

 

after this u can add a specific guest message block  here but i dont realy know the exact way u can do it

what i explain over there for the permission i dont think its THE GOOD way ... if u can  wait a specialist because in PHP im a realy noob:)

but its a part u can do but the php code i dont think its the good way

in a other way u can desactivate ur link Forum in ur navigation and with IP.Page  make a new link with permission VIew

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...