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 http://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">Hjema>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregistera>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Foruma>&nbsp;       
            <
class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobba>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg uta>&nbsp;  

          <{if 
$xoops_isadmin}>
          <
class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admina>
          <{/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 innu>a>
          
eller
          
<class="login" href="<{$xoops_url}>/register.php"><u>Bli medlemu>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">Hjema>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregistera>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Foruma>&nbsp;       
            <
class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobba>&nbsp;
            <
class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg uta>&nbsp;  

          <{if 
$xoops_isadmin}>
          <
class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admina>
          <{/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 innu>a>
          
eller
          
<class="login" href="<{$xoops_url}>/register.php"><u>Bli medlemu>a>
          <
class="userbar" href="<{$xoops_url}>/modules/news">Hjema>&nbsp;
             <
class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregistera>&nbsp;
          <
class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Foruma>&nbsp;       
          <
class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobba>&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

297 user(s) are online (263 user(s) are browsing Support Forums)


Members: 0


Guests: 297


more...

Donat-O-Meter

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

Latest GitHub Commits