siran wrote:
TinyWebGallery wrote:
only admin privileges? Then you can easiliy doing this by loading the admin settings depending on the variable you set in your login system.
check i_frames/i_login.php
/Michael
Hi,
I really don't know which changes do I have to make on the file(s) so that the user opens the gallery automatically as an admin.
I guess it should be prior to i_login.php.
Is there a variable, lets say, "Is_Admin" that I can set ?
Well I managed to grant Editing priviledges to the users I wanted. For those of you interested, i changed the file mysession.inc.php, line 103: I changed it to:
Code:
$login_edit = false || (boolean_condition);
Which enables the user to delete comments, add tags, titles, which is basically want I wanted.
I'm only worried on the maintenance of this change on future versions of TWG.
I want to extend my congratulations to /Michael for this great great gallery he has provided the world with !!!great work
siran
[/code][/quote]