The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Moving the Login
Ok, I am pretty new to this so bare with me. Can someone give me a quick rundown on how to move my login form from the bottom of the page to a table that I already have set up and waiting for it in my header? I'm familiar with modifying templates to change appearances, but I have not got the knack of manipulating the location of templates on the forum home page. Any help you could give would be very much appreciated.
Thanks JakeC |
#2
|
||||
|
||||
i think you just add $logincode where you want it
|
#3
|
||||
|
||||
Find this in forumhome:
<td align="right">$logincode</td> Delete it, and then put the variable ($logincode) into the table. |
#4
|
|||
|
|||
Ok, I gave the above suggetion a try and here is what happened:
In the header template I changed the code for the table I want the login to be in to this: <table background="images/loggin.jpg" cellpadding="0" cellspacing="0" border="0" width="222" height="27"> <tr> <td align="right">$logincode</td> </tr> </table> Next I deleted this from the forum home template: <td align="right">$logincode</td> After saving the changes I went into the forum and refreshed. Nothing happened except the login at the bottom was deleted. Nothing was put into the desired table in the header. When I viewed the source code this is what it is showing for the table in the header: <table background="images/loggin.jpg" cellpadding="0" cellspacing="0" border="0" width="222" height="27"> <tr> <td align="right"></td> </tr> </table> Nothing is showing up in the <td></td> Any help you could give would be much appreciated. Thanks JakeC |
#5
|
||||
|
||||
Did any other text appear? Did you try to view it when you were logged out?
|
#6
|
|||
|
|||
No, no other text appeared. I went ahead and reverted to the original in both the header template and the forumhome template to get the login box to show back up. Unfortunately when I reverted back to the originals the login box did not show up at all. I am scratching my head here because it seems to me that if I deleted the $logincode out of the forumhome template, if I reverted to the original it should come back. Hmm. I even tried adding the $logincode to the forumhome template to see if it would show up and it does not. Any idea what might be going on here? I really need help with this. Thanks in advance.
JakeC |
#7
|
|||
|
|||
Whoops, I'm a bone head. I logged out and it showed up in the reverted template. Now I am going to go back and change the templates back and see if when I log out if it will show up in the desired location. I guess that brings me to another question. Is it possible to replace the login code with the logout link when the person is logged in? That way I will have the login showing until they log in at which time they go to the same place to log out. Any thoughts?
JakeC |
#8
|
|||
|
|||
Well, back to square one. I changed the header template back to the modified version. I inserted the $logincode into the table that I want it to go, and nothing is happening. I tried to insert into another table in the header and nothing happened. Next I inserted it elsewhere into the forum home and it shows up no problem. Any other ideas?
JakeC Ps. when I view the source for the homepage the only thing that is changed is that $logincode disappears. It's in the template but disappears in the source code. |
#9
|
|||
|
|||
Ok, I got it, thanks for the help.
JakeC |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|