11
WarDick
Re: How to change login form place
  • 2005/10/15 16:29

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Edit the system_block_user.html a good start is to remove the carriage returns.

You can find this in the templates manager.

Or you can manually code it in theme.html.
Urging XOOPS to be the Best It Can Be.
Richard......

12
PTlooker
Re: How to change login form place
  • 2005/10/15 16:38

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


Thanks but i dont really know how to do it, can do do it for me please? dont wanna be boring..just cause i really need this...
One more time thanks a lot for your time :)

13
PTlooker
Re: How to change login form place
  • 2005/10/15 19:53

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


anyone please?

14
PTlooker
Re: How to change login form place
  • 2005/10/16 15:45

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


dont wanna be boring but i really need to change this...
Thanks :)

15
jansen
Re: How to change login form place
  • 2005/10/16 16:33

  • jansen

  • Just popping in

  • Posts: 71

  • Since: 2004/3/9 1


One way to do it, I've done it like this. Paste this in theme.thml


<table cellspacing="0" cellpadding="0">
<
tr>
<{if 
$xoops_isuser == 1}>
   <
td>
        <
a href="Link to userfuntion01">Userfunction1</a>
        <
a href="Link to userfuntion02">Userfunction2</a>
<{if 
$xoops_isadmin}>
        <
a href="Link to adminfuntion01">Adminfunction1</a>
<{/if}>
   </
td>

<{else}>

<
td><form action="<{$xoops_url}>/user.php" method="post">
Username</td><td><input type="text" name="uname" size="12" value="" maxlength="25" /></td>
<
td>Password</td><td><input type="password" name="pass" size="12" maxlength="32" /></td>
<
td><input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
<
input type="hidden" name="PHPSESSID" value="" /><input type="hidden" name="op" value="login" />
<
input class="formButton" type="submit" value="Login" /></form></td><td><a href="<{$xoops_url}>/modules/profile/register.php">New???</a></td>
                        
<{/if}>
    
</
tr>
</
table>
Find your spot on Earth and Wreck it!

BoardStyle Magazine...

16
PTlooker
Re: How to change login form place
  • 2005/10/16 16:54

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


I dont think that <a href="Link to userfuntion01">Userfunction1</a> will work...e need the exact links please...
Thanks in advance!

17
jansen
Re: How to change login form place
  • 2005/10/17 11:00

  • jansen

  • Just popping in

  • Posts: 71

  • Since: 2004/3/9 1


Come on... Try a bit harder, it's not that difficult,I just don't feel like typing it out totally:
But what you have to do is replace:

<a href="Link to userfuntion01">Userfunction1</a>
<a href="Link to userfuntion02">Userfunction2</a>

With:

<a href="http://yoursite.com/user.php">View Account</a>
<a href="http://yoursite.com/edituser.php">Edit Account</a>

And then add the other links you want in the user menu, you can even copy/paste them from the system_usermenu.html template.

All I do is try to help you understand how this works, and not to provide a ready to go solution.

Cheers
Find your spot on Earth and Wreck it!

BoardStyle Magazine...

18
PTlooker
Re: How to change login form place
  • 2005/10/17 18:24

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


Thanks :)
But i do i do for the admin link? And for the form?
I now have only this:

Quote:

<td bgcolor="#9CCFCE"><a href="user.php">Ver Conta</a>&nbsp;&nbsp;&nbsp;<a href="edituser.php">Editar Conta</a>&nbsp;&nbsp;&nbsp;<a href="notifications.php">Notificações</a>&nbsp;&nbsp;&nbsp;<a href="viewpmsg.pgp">Caixa de entrada</a> </td>


Thanks in advance!

19
PTlooker
Re: How to change login form place
  • 2005/10/17 23:43

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


anyone please?

Login

Who's Online

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


Members: 0


Guests: 187


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