MyBB Community Forums

Full Version: Noob help needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys and gals.

I'm totally new to createmybb, having used invisionfree before.  The questions I'm about to ask are probably pretty simple, but bare with me, please. Big Grin

Firstly, how do I add new emoticons?  I tried adding a new one by uploading it to imageshack then inserting the full URL but it doesn't work.

Secondly, how do I upload files to the image directory?  Buttons etc.

Thirdly, I've started making a new theme for my board, by trial and error I'm getting there, but I've found a few problems.  The [quote], [code] or [php] won't work.

[Image: untitledql5.jpg]

All that it displays is  "Code:"

Any help is greatly appreciated.  I tried having a look around on the forum first, but most of the other talk on these things was going over my head, as I haveb very little CSS or HTML experience.Big Grin
Can we please have a link to your forums?
This is not createMyBB btw... this is MyBB, it seems you are hosting your forum on createMyBB so im not sure if they allow uploading of emoticons. Same for the images directory.
Ah I see.

Well here's the forum:

http://backofthenet.createmybb.com/

I've managed to edit the CSS to get the Quotes working again, but they still won't work on Firefox. Sad

I added that:
Quote:.quote_header {
background: #46474c;
border: 1px dashed #ffffff;
border-bottom: 0;
color: #ffffff;
font-weight: bold;
margin: 8px auto 0 auto;
padding: 4px;
}

.quote_body {
background: #46474c;
border: 1px dashed #ffffff;
border-top: 0;
color: #ffffff;
padding: 4px;
margin: 0 auto 8px auto;
}
Probably your theme is broken somewhere.. can you start with a whole new one and see if it works? then apply your modifications.
Did you just change your theme to another one? (When I went on your site just now it didn't look the same as in your screenshot). I took a look at your CSS, and it seems like you're missing the stuff in the "Additional CSS" box.

The quote/code CSS by default is:
.quote_body {
	background: #fff;
	border: 1px dashed #000;
	border-top: 0;
	color: #000;
	padding: 4px;
	margin: 0 auto 8px auto;
}

.code_header {
	background: #fff;
	border: 1px dashed #000;
	border-bottom: 0;
	color: #000;
	font-weight: bold;
	margin: 8px auto 0 auto;
	padding: 4px;
}

.code_body {
	background: #fff;
	border: 1px dashed #000;
	border-top: 0;
	color: #000;
	padding: 4px;
	margin: 0 auto 8px auto;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 12px;
}
Ok thanks both of you.

Yeh I've changed the theme back again sorry.  It's just easier that way for the rest of the members to post without the things I've still to fix.

I'll add that to the Additional CSS, thanks.

One last thing though, I added this bit of code from another template to my new one, in the 'header' section:

<script language="Javascript" type="text/javascript">
		 var cookieDomain = "$settings[cookiedomain]";
		 var cookiePath = "$settings[cookiepath]";
		 var quickdelete_confirm = "$lang->quickdelete_confirm";
		 var newpm_prompt = "$lang->newpm_prompt";
		 var deleteevent_confirm = "$lang->deleteevent_confirm";
		 var removeattach_confirm = "$lang->removeattach_confirm";
	</script>
	<a name="top"></a>
<div style="padding: 40px;padding-left:0px;padding-right:10px;float:right;">
<img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a></div>
<table cellpadding="4" cellspacing="0" width="80%">
<tr>
	<td class="tcat" width="20%" align="center"><a href="$settings[bburl]/index.php"><b>Forum Index</b></a></td>
	<td class="tcat" width="20%" align="center"><a href="$settings[bburl]/search.php"><b>$lang->toplinks_search</b></a></td>
	<td class="tcat" width="20%" align="center"><a href="$settings[bburl]/memberlist.php"><b>$lang->toplinks_memberlist</b></a></td>
	<td class="tcat" width="20%" align="center"><a href="$settings[bburl]/calendar.php"><b>$lang->toplinks_calendar</b></a></td>
	<td class="tcat" width="20%" align="center"> <a href="$settings[bburl]/misc.php?action=help"><b>$lang->toplinks_help</b></a></td></tr></table>
			<div id="panel">
				$welcomeblock
			</div>

				<br><br>
<div id="container">
		<div id="content">
			$bannedwarning
			$bbclosedwarning
			$unreadreports	

Though I want to be able to centre my banner, the header and my welcome box.

Any help will greatly appreciated.  Thanks.
For future reference, we only provide limited support for the 1.1.* series. Your best bet would be to contact createmybb support (http://support.createmybb.com/)

As for your problem do this:

find:

<img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a>

replace with:

<center><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></center>

I know thats not the xhtml way, but I'm too lazy to type it the long way lol
lol thanks for your help, greatly appreciated. Smile

I'll edit it in now.

Thanks again.