print_no_permission(); Problem
I am making a mod and my mod is loaded in iframes. The code for the frames is in a template and the template is called by my php file. I have everything working except rather then the No Permission page loading in the frames, I want the frames to just not load. I need the frames to not load when the mod is not activated or if the member is not in the right usergroup. All I need is the code or atleast a nudge in the right direction for the else statement.
As I said I have the code that will display the mod, now i just need the else code that will keep the frames template from loading so that not even the permissions page shows.
If my code is needed to be seen then just say and I will post the part that is catching me.
|