Some ppl do not agree with this sort of code so i recommend you use this on your localhost for testing only Open /language/en/common.php
Code: Select all
'READ_PROFILE' => 'Profile',
Code: Select all
'READ_PM' => 'Read this pm',
Code: Select all
<!-- IF S_USERNAME eq "YOUR_USER_NAME_HERE" -->
<li data-last-responsive="true">
<a href="./view.php" title="pm" role="menuitem">
<i class="icon fa fa-eye" aria-hidden="true"></i><span>pm</span>
</a>
</li>
<!-- ENDIF -->
YOU MUST have the user id of 2 if not you can change it in the view.php also the path if needed here ./view.php
The code in the files above is set for user id so only the board owner user id 2 can access the data if you want to allow all founders access then find and change this in the view.php
Code: Select all
If ($user->data[’user_id’] != ’2’) {
Code: Select all
If ($user->data[’user_type’] != USER_FOUNDER) {