| Re: Tabs Mod -- How to Display Only to Reg'd Users? |
| by Speed on 2004/6/15 21:52:43 Ah, thanks for the info. Bummer. It makes for a nice compact alternative to the standard user menu. I'll play around with it a bit then. Very strange coming from using phpNuke where I had no real groups abilities and didn't miss not having them to XOOPS where I now find groups indispensible for everything and wonder how I coped before. |
| Re: Tabs Mod -- How to Display Only to Reg'd Users? |
| by Mithrandir on 2004/6/15 21:34:01 The condition is to decide whether it should be _highlighted_ - not to decide whether it is shown or not. I do think that TabMod is not meant to be different from one usergroup to another. Either it is there or it isn't. However, I guess it is possible to make it just a different display of the main menu, but as it is now, each tab and sub-tab is available to everyone able to view tabs. |
| Tabs Mod -- How to Display Only to Reg'd Users? |
| by Speed on 2004/6/15 21:09:42 Using the tab mod, how would I word the query to only allow registered users to view some tabs? Basically, if they can't access it I'd like to make it invisible to them. For example, if I have a calendar for registered members I have it set with the following: Tab Name: Calendar Parent: ROOT_PATH Link: modules/agendax/index.php?op=cal Condition: $dirname=="agendax" I'm sure it's a simple addition of a query to the condition line but without a sample or two for me to learn from, I'm afraid my SQL/PHP knowledge is too limited.... I'd be curious as to what conditions others have selected. |