"View-only user" "View-only user"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

"View-only user"

Started by tellus, December 03, 2003, 06:34:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tellus

Is it possible to create a user whit no privilage to change the user profile (exept admin) and give that user just "view-only" privilage???

(Exuse my bad english)

/Anders

Joachim Müller

disallow the group the user belongs to to have private albums or upload or anything.
Edit themes/yourtheme/theme.php and comment out the stuff that comes after
Quote// HTML template for user admin menu
like this:
Quote$template_user_admin_menu = <<<EOT

                <!--<div align="left">
                <table cellpadding="0" cellspacing="1">
                        <tr>
                                <td class="admin_menu"><a href="albmgr.php" title="">{ALBMGR_LNK}</a></td>
                                <td class="admin_menu"><a href="modifyalb.php" title="">{MODIFYALB_LNK}</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="">{MY_PROF_LNK}</a></td>
                        </tr>
                </table>
                </div>-->

EOT;
and the profile should be invisible to all "regular" users.

GauGau