MyBB Community Forums

Full Version: Load page & Change colour of error & Portal information box & Home page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I wanted to find out a few things so instead of making multiple threads, I thought maybe it's cleaner for the forums if I just do it all in one.

1. I wanted to know how I can get rid of this when loading up certain pages:

[Image: b147f0fe73ac314b77054d2ec330e281.png]

2. the error message colour you can't read unless you highlight it with your mouse:

[Image: e31d97537ae332fa6f389c89b934ab76.png]

How do I change that?

3. is there anyway I can make an information box on the portal page of my website at the top? I know it's possible but I want the box to look like this:

[Image: 555d5a7022fadab28819e94dd2ae5d21.png]

But without the avatar, so it's just that box with custom information in it that stays at the top of the page?

4. How do I make my portal page the home page? I'd also like to change the name of the portal to "homepage".

My website (If needed): www.CRAGaming.com

Thank you in advance!
1. You will need to edit the core files such as search.php and look for the code:

redirect("search.php?action=results&sid=".$sid, $lang->redirect_searchresults);

That is the code that shows the redirect page. There are a few of these in the search.php core file. If you must edit core files, keep a record of the files you have edited, or use the Patches Plugin.

2. Open up global.css and find:

div.error ul {
    margin-left: 24px;
}

Below that add:

div.error ul li {
    color: black;
}
1.) Go to ACP » Board Settings » Server and Optimization Options and disable Friendly Redirection Pages

2.) Click => http://community.mybb.com/thread-164690-...pid1131817

3.) Go to ACP » Template & Styles » Templates » your theme templates » Portal Templates and open portal template to edit.

Add there below {$header}
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead"><strong>YOUR TITLE HERE</strong></td>
</tr>
</thead>
<tbody>
<tr>
<td class="trow1">
YOUR CONTENT HERE
</td>
</tr>
</tbody>
</table>
<br />

Replace "YOUR TITLE HERE" with your table title and "YOUR CONTENT HERE" with your content.


4.) Look => http://community.mybb.com/thread-165541.html
(2015-01-14, 01:22 AM)SvePu Wrote: [ -> ]-text-

Solved every single problem I had, thank you. Big Grin