Announcement

Collapse
No announcement yet.

Moving "forumhome_logincode" UP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Moving "forumhome_logincode" UP

    Hello,

    Do anyone know how to move the template " forumhome_logincode " UP beside :

    Members: xxxxx , Threads: xxxxx , Posts: xxxxx
    Welcome to our newest member xxxxx

    Best regards,

  • #2
    In your forumhome_logincode template, find:

    Code:
    <table border="0" cellpadding="0" cellspacing="0">
    <form action="member.php" method="post">
    <tr>
    	<td nowrap><smallfont><b>Not cookied?</b><br>Login with username and password:</smallfont></td>
    </tr><tr>
    	<td nowrap><input type="hidden" name="s" value="$session[sessionhash]">
    	<input type="hidden" name="action" value="login">
    	<input type="text" class="bginput" name="username" size="7">
    	<input type="password" class="bginput" name="password" size="7">
    	<input type="submit" class="bginput" value="Login!"></td>
    </tr>
    </form>
    </table>
    Now in your forumhome template, place that code where you want. I haven't tried this, but it makes sense. If it doesn't work, lemme know and I'll see what I did wrong

    Comment


    • #3
      I tried it but ...

      Hello,

      Thanks for responding Radon3k, I tried what you said But the things doesn't seem okay.

      Now the login and password fields and the login button appear when I am loged in !! , it is supposed to appear only if I am not logged in ...

      What do you think is the right thing to do ?

      Best regards,

      Comment


      • #4
        forumhome template:

        find:

        $logincode

        cut and paste it before

        <!-- last visit/post indicators/forum leaders -->
        You're my Prince of Peace
        And I will live my life for You

        Comment


        • #5
          I made it part of my forumhome_unregmessage so it only appears when you're not logged in. A lot of my members were having a hard time finding it so it made more sense being up top when you're not logged in.
          christine
          clubDUB

          Comment


          • #6
            Nuno is corect use the $logincode in the forumhome template well get you what is needed

            Comment


            • #7
              Thanks

              Hello,

              Thanks guys for your help, it is solved now

              Best regards & wishes,

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X