MyBB Community Forums

Full Version: A few questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A few questions..(First time I've setup a forum so please bear with me)

Which file should I replace so I can replace my banner?

Can I set the limits in size(pixels, not KBs) which an avatar can have? If you are giving me a code tell me which file to put it in too.

Can I put in ads in the forum?? How?

Can I bring the contents of the navbar (Logout, Login, Home, UserCP etc.) to the right instead of left?

How to install new themes?

Thanx a lot for the help!
Quote:Which file should I replace so I can replace my banner?
images/Light/logo.png

Quote:Can I put in ads in the forum?? How?
what sort of ads? you can just edit the template files and add the advert code where you want them to appear.
err...I wanna put a google ad or an image linking to a site...I suppose I shld be edting the index.php file but where shld I add the coding?
Which file should I replace so I can replace my banner?
images/Light/logo.png

Can I set the limits in size(pixels, not KBs) which an avatar can have? If you are giving me a code tell me which file to put it in too.
Coming next version if I remember correctly.

Can I put in ads in the forum?? How?
Well, the easist way is at the top on the right. Admin CP > Templates > Modify/Delete > *template set* > header > Change original > find:
<a href="$settings[bburl]" class="logo"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a>
and change to
<div style="float:right">Google add code here</div><a href="$settings[bburl]" class="logo"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a>
making sure you replace Google add code here with the code you get from google.

Can I bring the contents of the navbar (Logout, Login, Home, UserCP etc.) to the right instead of left?
Admin CP > Templates > Modify/Delete > *template set* > css > and find
.menu ul {
.menu li {
and
.menu a {
and change all float: left; in them to float: right;

How to install new themes?
Admin CP > Templates > Add Set (then enter the name of yoiur theme, eg: brown

Then Admin CP > Themes > Add and give it a name, (same as template would be better) and changhe the Template Set dropdown to whatever the templater set name you chose iis.
The right-side shift doesn't work. The links all stack up over each other on the right instead of being aligned to the right.
ok, change them all back to align: left;

Then go to Admin CP > Templates > Modify/Delete > *template set* > and in
Quote:toplinks
toplink_admin
toplinks_member
add
<div style="float: right">
before everything, and
</div>
after everything. Does that work??

Btw, does everything else I answered work??
It works! Thanx! And the ad thing, it doesn't.Sad I put in a google search box code there. It did come up, but the search box was above the banner, makin it all really ugly. Can you modify the code a bit? I didn'r know how to...And just in case you need to know, am using the frostbite template by the altered 1. Thanx again!Smile
Admin CP > Templates > Modify/Delete > *template set* > header > Change original > find:
<a href="$settings[bburl]" class="logo"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a>
and change to
<a href="$settings[bburl]" class="logo"><img src="$theme[logo]" alt="$settings[bbname]" border="0" /></a><div style="float:right">Google add code here</div>
(the float right div after the logo?) making sure you replace Google add code here with the code you get from google.

If that doesn't work, then Ill have to make you a table structure. Lets hope not though.
It works. Thanx. But I didn't like the way it looked so I put it in as a footer. Thanx again!