11
jristesu
Re: Menubar in pro2
  • 2005/6/5 8:32

  • jristesu

  • Just popping in

  • Posts: 10

  • Since: 2005/5/14


when you got to www.bondenett.com as anonymous you dont see the menubar at the top right under the logo.
Only registered users can see it.
Im tryon to get it visible for anonymous users too.

12
ladon
Re: Menubar in pro2
  • 2005/6/5 12:26

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


<{if $xoops_isuser}>
         <
td id="top1">
             
Hallo <{$xoops_uname}>!&nbsp;&nbsp;
            <
class="userbar" href="<{$xoops_url}>/modules/news">Hjem</a>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregister</a>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Forum</a>&nbsp;       
            <
class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobb</a>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg ut</a>&nbsp;  

          <{if 
$xoops_isadmin}>
          <
class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admin</a>
          <{/if}>
          </
td>
     
        <
td id="top2" align="right">
            <
form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
             <
input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />&nbsp;
             <
input type="submit"  class="button" value="Søk" />
             </
form>
        </
td>  

       <{else}>

       <
td id="top1">
          <
class="login" href="<{$xoops_url}>/user.php"><u>Logg inn</u></a>
          
eller
          
<class="login" href="<{$xoops_url}>/register.php"><u>Bli medlem</u></a>
        </
td>

        <
td id="top2" align="right">
        <
form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
        <
input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />&nbsp;
        <
input type="submit"  class="button" value="Cerca" />
         </
form>
        </
td>
      <{/if}>

Change the above to:
<{if $xoops_isuser}>
         <
td id="top1">
             
Hallo <{$xoops_uname}>!&nbsp;&nbsp;
            <
class="userbar" href="<{$xoops_url}>/modules/news">Hjem</a>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregister</a>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Forum</a>&nbsp;       
            <
class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobb</a>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg ut</a>&nbsp;  

          <{if 
$xoops_isadmin}>
          <
class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admin</a>
          <{/if}>
          </
td>
     
        <
td id="top2" align="right">
            <
form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
             <
input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />&nbsp;
             <
input type="submit"  class="button" value="Søk" />
             </
form>
        </
td>  

       <{else}>

       <
td id="top1">
          <
class="login" href="<{$xoops_url}>/user.php"><u>Logg inn</u></a>
          
eller
          
<class="login" href="<{$xoops_url}>/register.php"><u>Bli medlem</u></a>
          <
class="userbar" href="<{$xoops_url}>/modules/news">Hjem</a>&nbsp;
             <
class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregister</a>&nbsp;
          <
class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Forum</a>&nbsp;       
          <
class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobb</a>&nbsp;
        </
td>

        <
td id="top2" align="right">
        <
form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
        <
input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />&nbsp;
        <
input type="submit"  class="button" value="Cerca" />
         </
form>
        </
td>
      <{/if}>

13
jristesu
Re: Menubar in pro2
  • 2005/6/5 12:31

  • jristesu

  • Just popping in

  • Posts: 10

  • Since: 2005/5/14


Thankyou Sir.
That solved it

Jorgen

Login

Who's Online

138 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 138


more...

Donat-O-Meter

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

Latest GitHub Commits