So all i hae to do is modify the line below to work with the temple code in the last posting in this thread:
I need to again explain that i need to enhance the filtering well beyond the capabiity of the permision in the system in fact I am allowing the permision system to work as intended but If a certain user name I want to do things different and even that user if a cetain name will see the dropdown list with different items in it. That is way i am again looking for the user name and usergroups varables coming from the database tables and what varables should i best to use to get the information I need to do the filtering I require in my mod.
This can be found in the PHP file functions_calendar.php
From This
eval('$jumpcalendarbits .= "' . fetch_template('optionfhs') . '";');
To this
eval('$jumpcalendarbits_bl .= "' . fetch_template('optionfhs') . '";');
eval('$jumpcalendarbits_sr .= "' . fetch_template('optionfhs') . '";');
eval('$jumpcalendarbits_yr .= "' . fetch_template('optionfhs') . '";');
eval('$jumpcalendarbits_s .= "' . fetch_template('optionfhs') . '";');
eval('$jumpcalendarbits_a .= "' . fetch_template('optionfhs') . '";');
That part is easy above - but now I need to have is where do i find the following:
The user name the person logon with.
and what user groups is he setup as or in. I can only asume that i am looking for a array datastructure for the user groups information.
I tried to explain this in the last posting in this thread.
THANKS
Frank H. Shaw
|