Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:33:21 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155554 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: show_menu2 / hide menu items from unauthorised users  (Read 1385 times)
afbelow

Offline Offline

Posts: 43


« on: August 25, 2006, 03:21:53 PM »

Hi Ladies,

we've modified the show_menu2()-function in the show_menu2-Module's include-file to solve the problems described here, associated to bug 226

The snippet is nice, but solves the problem only for admin-related pages.

You can download the tgz of the file here.

remark: its for show_menu2() version 3.6 not show_menu() nor any other versions of sm2.

Check the code, use it on own risk. Hope you've fun with.

AFBelow
Logged

pcwacht
Guest
« Reply #1 on: August 25, 2006, 11:05:26 PM »

I am no lady, could I use it still the same  grin
Logged
afbelow

Offline Offline

Posts: 43


« Reply #2 on: August 25, 2006, 11:30:52 PM »

I can't decide that, but I hope so.

In times of political correctness "hi ladies" is the only acceptable gender-free form of address, isn't it?

...ok, in northern germany it's "ahoi ladies". wink

AFBelow
Logged

brofield

Offline Offline

Posts: 224


WWW
« Reply #3 on: August 27, 2006, 11:48:23 AM »

Thanks for the fix for this bug. I have included it in the new version of sm2 now.

B
Logged
afbelow

Offline Offline

Posts: 43


« Reply #4 on: August 28, 2006, 11:53:09 AM »

don't mention it.

I checked your 3.8-code and it seems fixing the bug, so I deleted the alternative download.

Keep on developing that nice module.

AFBelow
Logged

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!