Jump to content

Как разрешить просмотр страницы с правилами, при соглашении условий регистраций?


TemKa_SD
 Share

Recommended Posts

\system\Dispatcher\Front.php

			/* Need them to reconfirm terms/privacy policy... */
		elseif ( ( \IPS\Member::loggedIn()->members_bitoptions['must_reaccept_privacy'] or \IPS\Member::loggedIn()->members_bitoptions['must_reaccept_terms'] ) and $this->controller !== 'register' and $this->controller !== 'ajax' )

Добавьте нужные условия

  • Downvote 1
Link to comment
Share on other sites

Блин, я случайно тыкнул на минус в репутации, измените плиз, хотел + потавить.

 

Помогло, добавил:

 

 and $this->controller !== 'guidelines'

Edited by TemKa_SD
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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