Hide the Admin menu

Posted by soronlin on 14 Apr 2010 18:07, last edited by Kei1234 on 16 Jul 2021 14:03

:

rating: +3

The problem

You want to create a site that looks like a normal website, but you want access to the site manager and a few other pages that normal users should not be able to see. The standard templates, such as IronGiant mandate a nav:top menu item called Admin, that holds all kinds of stuff that, while useful in a general-access wiki, will just confuse people if they think they are visiting a normal web-site. If they click on any of the menu items they will get either an error message or a page of gobbledegook; they will not be impressed by either. You don't want to show that kind of stuff to the general public, but you want easy access to it yourself.

Therefore

  • Put the all pages meant only for administration in the admin: category.
  • Create an admin:start page that brings them all together with ListPages or whatever. Here's mine:
* [[[system: List all pages]]]
* [[[system:page-tags-list|Page Tags]]]
* [[[system:members | Site members]]] 
* [[[system:Category List]]]
++ Admin
[[module ListPages category="admin" order="fullname" separate="no"]]
* [[[%%fullname%%| %%title%%]]]
[[/module]]
++ Children
[[module ListPages category="-admin" parent="." order="fullname" separate="no"]]
* [[[%%fullname%%| %%title%%]]]
[[/module]]
----------
[[module NewPage size="15" button="general new page"]]
[[module NewPage size="15" button="new administration page" parent="admin:_start"]]
----------
  • Make the first or last entry in nav:top a hidden link to admin:start like so
* [[[admin:start | .]]]
  • Create a page admin:_public which redirects to the front page of your site, like so
[[module redirect destination="start"]]
  • In Site Manager»Permissions, un-check all the boxes for category admin
perms.png

On the top menu bar there will be an almost invisible entry consisting of a single ".". If a normal user clicks this it takes them back to the start page; it just looks like a redundant link and the user will write it off as a foible of the site design. However if an administrator or moderator clicks it, it takes them to the administration page.

Options

If site members are allowed to edit the wiki, just grant them access to admin:. Then they will be able to see the administration menu, but non-members will not.

It may be possible, by using two redirects, to give site members and administrators two different menu pages from the same top-bar menu item.

Most of the links that open a sub-menu use [# text] links so they don't have any action themselves, but you don't have to do that.

A site logo button

Make the first link in the menu a site-logo and put useful stuff in a sub-menu under it.

* [[image http://mysite.wikidot.com/local--files/start/mylogo.gif link="admin:start" width="20px" alt="mysite"]]
 * [[[start | Welcome page]]]

A Start button

Make the first link in the menu "start", (as MicrosoftTM has taught us is where menus are found,) or some other generic text.

* [[[admin:start | start]]]
 * [[[start | Welcome page]]]

An invisible button

Hide the link even more carefully, by using the link [/admin:start ] (there's two spaces before the close-bracket). Then the link will be totally invisible.

* [/admin:start ]

For extra obfuscation

Use one of the first two methods, but also make every other top-level menu item do the same as the first item on it's sub-menu.

* [[[admin:start | start]]]
 * [[[start | Welcome page]]]
* [[[example1 | examples]]]
 * [[[example1]]]
 * [[[example2]]]

Related Articles

add-a-hidden-menu-to-nav:top
/howto:how-to-put-a-private-page-on-a-public-wiki

Authors

rurwin does not match any existing user name. Please visit his/her userPage.

Ed Johnson Ed Johnson . Please visit his/her userPage.

Comments

(account deleted) 11 Jul 2010 02:52

I can't delete admin:_public now. :(

by (account deleted), 11 Jul 2010 02:52
leiger leiger 11 Jul 2010 07:21

Hey Psych, that's easy. Just add /noredirect/true to the end of the URL before you press Enter.

For example:

http://your-site.wikidot.com/admin:_public/noredirect/true

That will prevent the redirect from being used so you can edit or delete the page.


~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server

by leiger leiger , 11 Jul 2010 07:21
(account deleted) 11 Jul 2010 17:40

Thank you. :)

by (account deleted), 11 Jul 2010 17:40
Redirected pages need an extra "edit":
Helmut_pdorf Helmut_pdorf 11 Jul 2010 07:22

See on the http://community.wikidot.com/help:emergency-help the paragraph:
http://community.wikidot.com/help:emergency-help#toc3

But - why do you want to hide all pages of vategory "admin:" wnhich are not allowed for all NON-admins?
The menu over these pages is a different issue:

We had done it by following code on our Community SItev- menu Internals:
( the names of the other admins I have made unreadable )

[[include :snippets:suo START unique=first|type=hidefrom
|user1=ed...
|user2=ge.....
|user3=ha......
|user4=helmuti-pdorf
|user5=ja......
|user6=le.....
|user7=mic.......
|user8=ph....
|user9=pii.......
|user10=ro.....
|user11=sc.....
|user12=st......
|user13=ts....]]
* [# Internals]
 * [[[system:candidate-for-delete| Candidate for Delete]]]
 * [*http://chatroom.wikidot.com/chatroom Chatroom]
 * [[[system:list-all-categories | List all Categories]]]
 * [[[system:Orphaned-pages |Orphaned Pages ]]]
 * [[[system:Page Calendar]]]
 * [[[system: Page Tags]]]
 * [[[system:page-tags-list|Page Tags List]]]
 * [[[system: Recent changes]]]
 * [[[system:members | Site members]]]
 * [[[user:_activity | User Activities]]]
 * [[[system:wanted-pages |Wanted Pages ]]]
[[include :snippets:suo END]]
[[include :snippets:suo START unique=second|type=showto
|user1=ed...
|user2=ge.....
|user3=ha......
|user4=helmuti-pdorf
|user5=ja......
|user6=le.....
|user7=mic.......
|user8=ph....
|user9=pii.......
|user10=ro.....
|user11=sc.....
|user12=st......
|user13=ts....]]
* [# Internals]
 * [*http://admindevelopement.wikidot.com/forum:recent-posts Admin Forum]
 * [[[admin:_manage|]]]
 * [*http://backupstorage.wikidot.com/ Backupstorage]
 * [[[system:candidate-for-delete| Candidate for Delete]]]
 * [*http://chatroom.wikidot.com/chatroom Chatroom]
 * [[[system:list-all-categories | List all Categories]]]
 * [[[system:Orphaned-pages |Orphaned Pages ]]]
 * [[[system:Page Calendar]]]
 * [[[system: Page Tags]]]
 * [[[system:page-tags-list|Page Tags List]]]
 * [[[system: Recent changes]]]
 * [[[nav:side | Side bar menu]]]
 * [[[admin:manage|Site Manager]]]
 * [[[system:members | Site members]]]
 * [[[nav:top | Top bar menu]]]
 * [[[user:_activity | User Activities]]]
 * [[[system:wanted-pages |Wanted Pages ]]]
[[include :snippets:suo END]]
[[div style="position:fixed; right: 0pt; bottom: 0pt; z-index:50"]]

Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?

by Helmut_pdorf Helmut_pdorf , 11 Jul 2010 07:22
Re: Redirected pages need an extra "edit":
Joshua Darby Joshua Darby 27 Jan 2016 01:42
[[include :snippets:alt-suo |unique=first |type=showto |user1=joshua-darby]]
**Hello Guys**
[[/div]]

I have found that you just need to put the showto part and it works the same the only difference is that there is no css needed and it literally only shows to that person only.

If you need an example, visit my blog and direct you attention to the sidebar. If you can not see my forum signature than here is the link.
http://jdarby98.tk


EDIT: If you don't see a button that tells how nany users are are online located on the sidebar than that means that the code above is working.

Last edited on 18 Feb 2016 05:25 by Joshua Darby
by Joshua Darby Joshua Darby , 27 Jan 2016 01:42
Hide the Single "."
bsarch bsarch 26 Aug 2010 08:50

I managed to get a completely hidden admin menu by using a "DOS" space in the link instead of the "." e.g

* [[[admin:start | ]]]

In order to get the "DOS" space, after the pipe you need to perform the following keystrokes

  1. Hold and press ALT
  2. Press and release 2
  3. Press and release 5
  4. Press and release 5
  5. Release ALT

NOTE The numbers pressed have to be pressed on the numeric keypad and not the top row numbers.

See my site for example www.oracle-wiki.net


Regards

bsarch
www.oracle-wiki.net

by bsarch bsarch , 26 Aug 2010 08:50
Re: Hide the Single "."
VastOne VastOne 12 Oct 2010 22:17

In the linux world (I use Ubuntu and Gnome) the key sequence is

Ctrl+Shift+U00A0

I added this to my nav:top and couldn't be happier

Thanks!


Recent Builds

Conky-PitStop

by VastOne VastOne , 12 Oct 2010 22:17
Cant Create Admin:Start Page
Carl Pelican Carl Pelican 26 Feb 2017 23:18

When I try to create the Admin:Start Page, I get redirected to the public start page. How can I stop that?

by Carl Pelican Carl Pelican , 26 Feb 2017 23:18

Related articles

Comments

(account deleted) 11 Jul 2010 02:52

I can't delete admin:_public now. :(

by (account deleted), 11 Jul 2010 02:52
leiger leiger 11 Jul 2010 07:21

Hey Psych, that's easy. Just add /noredirect/true to the end of the URL before you press Enter.

For example:

http://your-site.wikidot.com/admin:_public/noredirect/true

That will prevent the redirect from being used so you can edit or delete the page.


~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server

by leiger leiger , 11 Jul 2010 07:21
(account deleted) 11 Jul 2010 17:40

Thank you. :)

by (account deleted), 11 Jul 2010 17:40
Redirected pages need an extra "edit":
Helmut_pdorf Helmut_pdorf 11 Jul 2010 07:22

See on the http://community.wikidot.com/help:emergency-help the paragraph:
http://community.wikidot.com/help:emergency-help#toc3

But - why do you want to hide all pages of vategory "admin:" wnhich are not allowed for all NON-admins?
The menu over these pages is a different issue:

We had done it by following code on our Community SItev- menu Internals:
( the names of the other admins I have made unreadable )

[[include :snippets:suo START unique=first|type=hidefrom
|user1=ed...
|user2=ge.....
|user3=ha......
|user4=helmuti-pdorf
|user5=ja......
|user6=le.....
|user7=mic.......
|user8=ph....
|user9=pii.......
|user10=ro.....
|user11=sc.....
|user12=st......
|user13=ts....]]
* [# Internals]
 * [[[system:candidate-for-delete| Candidate for Delete]]]
 * [*http://chatroom.wikidot.com/chatroom Chatroom]
 * [[[system:list-all-categories | List all Categories]]]
 * [[[system:Orphaned-pages |Orphaned Pages ]]]
 * [[[system:Page Calendar]]]
 * [[[system: Page Tags]]]
 * [[[system:page-tags-list|Page Tags List]]]
 * [[[system: Recent changes]]]
 * [[[system:members | Site members]]]
 * [[[user:_activity | User Activities]]]
 * [[[system:wanted-pages |Wanted Pages ]]]
[[include :snippets:suo END]]
[[include :snippets:suo START unique=second|type=showto
|user1=ed...
|user2=ge.....
|user3=ha......
|user4=helmuti-pdorf
|user5=ja......
|user6=le.....
|user7=mic.......
|user8=ph....
|user9=pii.......
|user10=ro.....
|user11=sc.....
|user12=st......
|user13=ts....]]
* [# Internals]
 * [*http://admindevelopement.wikidot.com/forum:recent-posts Admin Forum]
 * [[[admin:_manage|]]]
 * [*http://backupstorage.wikidot.com/ Backupstorage]
 * [[[system:candidate-for-delete| Candidate for Delete]]]
 * [*http://chatroom.wikidot.com/chatroom Chatroom]
 * [[[system:list-all-categories | List all Categories]]]
 * [[[system:Orphaned-pages |Orphaned Pages ]]]
 * [[[system:Page Calendar]]]
 * [[[system: Page Tags]]]
 * [[[system:page-tags-list|Page Tags List]]]
 * [[[system: Recent changes]]]
 * [[[nav:side | Side bar menu]]]
 * [[[admin:manage|Site Manager]]]
 * [[[system:members | Site members]]]
 * [[[nav:top | Top bar menu]]]
 * [[[user:_activity | User Activities]]]
 * [[[system:wanted-pages |Wanted Pages ]]]
[[include :snippets:suo END]]
[[div style="position:fixed; right: 0pt; bottom: 0pt; z-index:50"]]

Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?

by Helmut_pdorf Helmut_pdorf , 11 Jul 2010 07:22
Re: Redirected pages need an extra "edit":
Joshua Darby Joshua Darby 27 Jan 2016 01:42
[[include :snippets:alt-suo |unique=first |type=showto |user1=joshua-darby]]
**Hello Guys**
[[/div]]

I have found that you just need to put the showto part and it works the same the only difference is that there is no css needed and it literally only shows to that person only.

If you need an example, visit my blog and direct you attention to the sidebar. If you can not see my forum signature than here is the link.
http://jdarby98.tk


EDIT: If you don't see a button that tells how nany users are are online located on the sidebar than that means that the code above is working.

Last edited on 18 Feb 2016 05:25 by Joshua Darby
by Joshua Darby Joshua Darby , 27 Jan 2016 01:42
Hide the Single "."
bsarch bsarch 26 Aug 2010 08:50

I managed to get a completely hidden admin menu by using a "DOS" space in the link instead of the "." e.g

* [[[admin:start | ]]]

In order to get the "DOS" space, after the pipe you need to perform the following keystrokes

  1. Hold and press ALT
  2. Press and release 2
  3. Press and release 5
  4. Press and release 5
  5. Release ALT

NOTE The numbers pressed have to be pressed on the numeric keypad and not the top row numbers.

See my site for example www.oracle-wiki.net


Regards

bsarch
www.oracle-wiki.net

by bsarch bsarch , 26 Aug 2010 08:50
Re: Hide the Single "."
VastOne VastOne 12 Oct 2010 22:17

In the linux world (I use Ubuntu and Gnome) the key sequence is

Ctrl+Shift+U00A0

I added this to my nav:top and couldn't be happier

Thanks!


Recent Builds

Conky-PitStop

by VastOne VastOne , 12 Oct 2010 22:17
Cant Create Admin:Start Page
Carl Pelican Carl Pelican 26 Feb 2017 23:18

When I try to create the Admin:Start Page, I get redirected to the public start page. How can I stop that?

by Carl Pelican Carl Pelican , 26 Feb 2017 23:18
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /