1
bobdevilman
**Realy need help**
  • 2005/1/27 17:26

  • bobdevilman

  • Just popping in

  • Posts: 3

  • Since: 2005/1/22


My friend was editing the the script for the user menu and deleated the origanal script I need help now guys. please can one of you send me the script so i can put it back in and get this fixed thank you.

Thank you
chris bobclan.org

2
m0nty
Re: **Realy need help**
  • 2005/1/27 17:40

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


it should be in your original download zip file of xoops...

failing that you can always download the package again, and search in modules/system/templates/blocks/system_block_user.html

it's advisable to never edit the default templates.. for this obvious reason you have now discovered.. if you clone the templates 1st and then edit them, you will laways have the default template set to fall back on should something go wrong..

here's the html for the system_block_user block.. >

<table cellspacing="0">
  <
tr>
    <
td id="usermenu">
      <
class="menuTop" href="<{$xoops_url}>/user.php"><{$block.lang_youraccount}>a>
      <
a href="<{$xoops_url}>/edituser.php"><{$block.lang_editaccount}>a>
      <
a href="<{$xoops_url}>/notifications.php"><{$block.lang_notifications}>a>
      <
a href="<{$xoops_url}>/user.php?op=logout"><{$block.lang_logout}>a>
      <{if 
$block.new_messages 0}>
        <
class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}>span>)a>
      <{else}>
        <
a href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}>a>
      <{/if}>

      <{if 
$xoops_isadmin}>
        <
a href="<{$xoops_url}>/admin.php"><{$block.lang_adminmenu}>a>
      <{/if}>
    td>
  tr>
table>


hope this helps

3
bobdevilman
Re: **Realy need help**
  • 2005/1/27 18:46

  • bobdevilman

  • Just popping in

  • Posts: 3

  • Since: 2005/1/22


thank you very much it works like a treat all the people hear are so kind thank you.

4
Lutalo
Re: **Realy need help**
  • 2005/3/10 13:18

  • Lutalo

  • Just popping in

  • Posts: 4

  • Since: 2005/3/10


Can I hack this same file if I want to put an image in front of my menu members or would I need to do something else for that?

Login

Who's Online

316 user(s) are online (211 user(s) are browsing Support Forums)


Members: 0


Guests: 316


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