1
flyon
How do you do admin stuff if you hide login boxes??
  • 2004/4/18 6:19

  • flyon

  • Just popping in

  • Posts: 7

  • Since: 2004/4/17


If the site does not really have/need users to log in, and so you want to not show the login boxes, how do you get to the control panel to do admin stuff?

Point me at a FAQ answer if I missed something :)


2
Lance_
Re: How do you do admin stuff if you hide login boxes??
  • 2004/4/18 11:36

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


You can hide the login block.

If you do need to login, then point your browser tohttp://yousiteurl/user.php


3
davidl2
Re: How do you do admin stuff if you hide login boxes??
  • 2004/4/18 12:09

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


(I would recommend bookmarking the link as well ;))

4
flyon
Re: How do you do admin stuff if you hide login boxes??
  • 2004/4/18 16:40

  • flyon

  • Just popping in

  • Posts: 7

  • Since: 2004/4/17


Thanks Lance. When I do that, I can log in, but then the Admin button doesn't show up on the menu... I'll piddle with it some more here.

btw - I'm impressed with your site - the FGTH one, too. Cool.

5
davidl2
Re: How do you do admin stuff if you hide login boxes??
  • 2004/4/18 17:12

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Many thanks *blush* :)

6
AZNative
Re: How do you do admin stuff if you hide login boxes??
  • 2004/4/29 5:15

  • AZNative

  • Friend of XOOPS

  • Posts: 8

  • Since: 2004/4/21


Since I didn't want an entire "user menu" or "admin menu" cluttering my already crowded screen, here's what implemented.

Each of my themes have a few menu items across the top of the page. I added the following code to each of my theme.html files so make certain links appear based on who is logged in.

This code will show a link to the Admin Panel if the person who is logged in is indeed an Administrator.

<{if $xoops_isadmin == true}>
 &
nbsp;&bull;&nbsp;
 <
a href="<{$xoops_url}>/admin.php">Admin Panel</a>
<{/if}>


This code takes the name of the user currently logged in and creates a link to that users account information, so they can view or edit their profile.

&nbsp;&bull;&nbsp;
 <
a href="<{$xoops_url}>/user.php"><{$xoops_uname}> Account</a>


Good luck.

7
disky
Re: How do you do admin stuff if you hide login boxes??
  • 2004/4/29 5:44

  • disky

  • Just popping in

  • Posts: 90

  • Since: 2003/10/31


Or type:
http://yousiteurl/admin.php

Login

Who's Online

187 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 187


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits