MyBB Community Forums

Full Version: Part of Header Missing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
mkportal probably has its own style sheet. Ill do it for you if you want me to.
well it does but i have several themes on my forum that MKPortal pulls from, but yet only has 1 Forum templete it uses for them.
You have to find a way to dynamically call your themes CSS..the same as I called your logo actually.

The easiest method I can think of is to use the style directly in the div.

<div style="background: #fff url(<?php echo $theme['dir'] ?>/background.gif) no repeat">

That's super rough but you should get the idea. This would require that all your backgrounds are named the same though.

Quote: i'm not asking for you to do it for me

yes you are...the only way for me to get you the exact fix is for me to login to your server and do it...I don't use a mkportal/mybb setup so my guess is as good as anyone else's

Quote:You took the the time to type out your long post telling why your not gonna help me, why not take that same time and help someone out.

I can type VERY fast.

Quote:if you help me out here, i will never ask you for another thing.

Well the pattern is that I help you and then you expect more help...I really don't believe that if I help you again you won't bother me more about it. It's obvious from your attitude that my help only inspired you to be more irrate that I didn't help you even more.

Hey...I said I would help you get your logo fixed and I did it...no problem. I never said I would help with the background problem.
(2008-06-10, 09:19 AM)labrocca Wrote: [ -> ]You have to find a way to dynamically call your themes CSS..the same as I called your logo actually.

The easiest method I can think of is to use the style directly in the div.

<div style="background: #fff url(<?php echo $theme['dir'] ?>/background.gif) no repeat">

That's super rough but you should get the idea. This would require that all your backgrounds are named the same though.

yeah they can all be named the same, thats not a big problem.

Quote:yes you are...the only way for me to get you the exact fix is for me to login to your server and do it...I don't use a mkportal/mybb setup so my guess is as good as anyone else's

oh didnt think about it that way, i guess i am asking you do it.

Quote:I can type VERY fast.

ok good regardless, my point was, you could have typed a solution just as quick.

Quote:Well the pattern is that I help you and then you expect more help...I really don't believe that if I help you again you won't bother me more about it. It's obvious from your attitude that my help only inspired you to be more irrate that I didn't help you even more.

I am as good as my word, Once this is fixed i won't need anything else from you, EVER. I never got irrate either, frustrated, yes because i was having so much trouble figuring it out and it seemed like you were ignoring what i was saying, i figured since it is part of the header, that you wouldnt mind finishing it.

Quote:Hey...I said I would help you get your logo fixed and I did it...no problem. I never said I would help with the background problem.

Thanks, i am glad you fixed it, but technically the background is part of the header, hence why i asked you to fix it, believe me i hate to ask anyone for help, i tried to figure this out this header issue a long time before i came on here and asked for someone to help.
Yeah well you closed the temp FTP account on me so not sure how you expected me to fix anything else.

Quote:ok good regardless, my point was, you could have typed a solution just as quick.

As I said...I can't type out a solution without first finding it. However I did make an attempt to tell you how it might be done. You seem to be ignoring that. I keep giving you hints hoping to get you close enough to figure it out yourself. Sometimes the easy way doesn't help someone. It's my opinion that you really need to figure out how the relationship of mybb to mkportal really works. Without an understanding of the 2 systems and how they interact you are bound to have a LOT of problems and you can't go running to people everytime. It's going to only frustrate you.

And I been VERY busy this week. So I been personally trying to focus on my own work.

I just took a peek and you edited the CSS but what you need to do is change this:

  <td id="mklogostrip" width="100%">
     <a href="http://www.theresetbutton.net/index.php"><img src="http://theresetbutton.net/forums/images/gospel/grey/logo.jpg" border="0" alt="" /></a>
     </td>

You can't change the CSS normally because it doesn't usually allow for php execution.

Your goal is something like this:
  <td id="mklogostrip" width="100%" style="background: #ececec url(./forums/images/gospel/grey/background.gif) top left repeat-x;">
     <a href="http://www.theresetbutton.net/index.php"><img src="http://theresetbutton.net/forums/images/gospel/grey/logo.jpg" border="0" alt="" /></a>
     </td>

It looks like somehow MKportal does grab some of the CSS from mybb. They import the trow information. You have to spend time finding that code and how they implement the pull. Then connect the dots to your logo td.

I don't believe I can be more descriptive than that no matter how much I try short of just doing it myself. I don't use mkportal nor do I plan on using it.

Good luck to you.


EDIT: It looks to me like mkportal does import the mybb css and somehow you have just botched this.

Quote:/* IMPORT logostrip */
#mklogostrip,
#container {
width: 96%;
<div style="background: #fff url(./forums/<?php echo $theme['dir'] ?>/logo_bg.jpg) no repeat">
margin: auto auto;
padding: 0px;
text-align: left; /* IE 5 fix */
}

/* logostrip */
#mklogostrip {
text-align: left;
}

So #mklogostrip exists...how did you add the backgrounds to these themes? You're just gonna have to figure this out. I can't believe the mkportal people aren't helping you as really this is their problem not ours.
Thanks, acually My FTP back open, i closed if because i didnt know it was still needed.
also now, i believe all the background files are called tile_back.gif now.
There I just wasted 30 more minutes of my time. You have 17 themes (yes counted them all) and each does the header differently. Unless they are all uniform in some way or you alter mkportal to grab the exact header code this isn't doable. Sorry but you have reached my free help limit.

mkportal needs to fix this...they SHOULD be grabbing your header exactly as it is from the mybb theme...

Time for breakfast.

Good luck.
(2008-06-10, 07:28 PM)labrocca Wrote: [ -> ]There I just wasted 30 more minutes of my time. You have 17 themes (yes counted them all) and each does the header differently. Unless they are all uniform in some way or you alter mkportal to grab the exact header code this isn't doable. Sorry but you have reached my free help limit.

Ok, thanks for you time, sorry to have wasted so much of it.


Quote:Good luck.

Thanks, i'm gonna need it.
At last i think i finally fixed it. Big Grin

Mods you can close this thread now.
Pages: 1 2