BrokenFEMALE
Member
 
Posts: 14
Registered: 9-23-2012
Location: Louisiana
Member Is Offline
Mood: tired.....
|
|
[Resolved] Move "Login/Logout" and user info
I was unsure where to post this so if it's in the wrong place, sorry about that.
I have been searching to find a way to move the "Login/Logout", "user info" from the right of the table to either under the logo/banner or have it
placed in its own header/table under the logo/banner. I designed a banner for my forum but the login/logut and other text are on the right and it
throws off my design.
I'm not sure which version of XMB I have because the footer text does not show the version. It just says Powered by XMB. If anyone
can tell me how to find out the version I won't mind getting the info for you if this will help answer my question.
|
|
Mouser
XMB Contributor
      
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
Have you done any modifications to your header ?
I once posted a "hack" for this, as it was a much requested modification.
It's on CVS , but I don't have a client installed (yet).
Could you attach your header.php and header template in a txt file?
|
|
BrokenFEMALE
Member
 
Posts: 14
Registered: 9-23-2012
Location: Louisiana
Member Is Offline
Mood: tired.....
|
|
I haven't touched anything yet on my site. i found the header.php file in the forum main directory, is this the correct one you wanted? i didn't see a
header template file, where do i find that one? Attachment: header.txt (27kB) This file has been downloaded 1431 times
|
|
Mouser
XMB Contributor
      
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
Admin Panel --> Templates --> header
|
|
BrokenFEMALE
Member
 
Posts: 14
Registered: 9-23-2012
Location: Louisiana
Member Is Offline
Mood: tired.....
|
|
found it and its has been attached Attachment: adminheader.txt (2kB) This file has been downloaded 275 times
|
|
Mouser
XMB Contributor
      
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
Ok, this has been a very long time for me... So if I don't get it right the first time... Please don't be mad
Attachment: header.template.txt (2kB) This file has been downloaded 300 times
Attachment: header.php (26kB) This file has been downloaded 428 times
Please also edit ./include/functions.inc.php
Find (line 2304)
Code: | return '<img src="'.$imgdir.'/top_search.gif" alt="'.$lang['altsearch'].'" border="0" /> <a href="search.php'.$fid.'"><font class="navtd">'.$lang['textsearch'].'</font></a> '; |
Replace with
Code: | return '<img src="'.$imgdir.'/top_search.gif" alt="'.$lang['altsearch'].'" border="0" /> <a href="search.php'.$fid.'">'.$lang['textsearch'].'</a> '; |
|
|
BrokenFEMALE
Member
 
Posts: 14
Registered: 9-23-2012
Location: Louisiana
Member Is Offline
Mood: tired.....
|
|
Thanks. It looks good and you did a great job but I have one more thing to ask. Is it possible to edit the header so there's no space between the
banner and the part where login/logout is? There's a gap but I think I rather have those 2 parts together. I attached a preview for you that shows the
space. 
|
|
Mouser
XMB Contributor
      
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
BrokenFEMALE ,
Please check my updated post for a little fix (the instructions for functions.inc.php).
Also, here is a TXT file for you. See if that does the trick  Attachment: header.template.BrokenFEMALE.txt (2kB) This file has been downloaded 240 times
|
|
BrokenFEMALE
Member
 
Posts: 14
Registered: 9-23-2012
Location: Louisiana
Member Is Offline
Mood: tired.....
|
|
Ok first I tried the fix with the functions.inc.php file. When i replaced the small code on line 2304, for some reason the entire forum would not show
up, it was just a blank page. So I put back the default coding for line 2304 and that fixed it back to normal. Then I edited my header template with
the new text file you provided and that has removed the gap between the banner and the login/logout text. Do I still need to add that coding to line
2304 in the functions.inc.php?
|
|
Mouser
XMB Contributor
      
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
The functions.inc.php modification is only 1 thing : removing the FONT tag. To make that link look like the others.
See the screenshot. That's what the find/replace should do. Remove the grey selected FONT tags. 
|
|
BrokenFEMALE
Member
 
Posts: 14
Registered: 9-23-2012
Location: Louisiana
Member Is Offline
Mood: tired.....
|
|
I retried and edited the code and it appears to have fixed the banner and login/logout text the way I wanted it. I am all set now. Thank you!
|
|
Mouser
XMB Contributor
      
Posts: 202
Registered: 4-14-2008
Member Is Offline
Mood: Christmasy. Yes, in September.
|
|
No problem. Glad to hear 
|
|