I also added some code with help from another xoopser to make it centered at around 800px. Thank StudioC for the following:
Quote:
-change your body tag
<body style="text-align:center;">
-fill in div tag after the body tag
<div style="width:800px;margin:0px auto;text-align:left;">
-close div tag before the </body> tag
</div>
After that I just set the blocks for the right and left to only be displayed on the front page, unless you aren't logged in. In that case, the login one stays on for all of the pages and it brings a couple others with it because I haven't shut them off yet. I still have some block rearranging to do in order to get it exactly right, but for the most part that is what I was going for. Glad you guys like it. :)
As for the Invision Board one, All I did was edit the header source code. I chopped out a bunch of unneeded stuff and got this as a result:
<script language='JavaScript' type="text/javascript">
<!--
function buddy_pop() { window.open('index.{ibf.vars.php_ext}?act=buddy&s={ibf.session_id}','BrowserBuddy','width=250,height=500,resizable=yes,scrollbars=yes'); }
function chat_pop(cw,ch) { window.open('index.{ibf.vars.php_ext}?s={ibf.session_id}&act=chat&pop=1','Chat','width='+cw+',height='+ch+',resizable=yes,scrollbars=yes'); }
function multi_page_jump( url_bit, total_posts, per_page )
{
pages = 1; cur_st = parseInt("{$ibforums->input['st']}"); cur_page = 1;
if ( total_posts % per_page == 0 ) { pages = total_posts / per_page; }
else { pages = Math.ceil( total_posts / per_page ); }
msg = "{ibf.lang.tpl_q1}" + " " + pages;
if ( cur_st > 0 ) { cur_page = cur_st / per_page; cur_page = cur_page -1; }
show_page = 1;
if ( cur_page < pages ) { show_page = cur_page + 1; }
if ( cur_page >= pages ) { show_page = cur_page - 1; }
else { show_page = cur_page + 1; }
userPage = prompt( msg, show_page );
if ( userPage > 0 ) {
if ( userPage < 1 ) { userPage = 1; }
if ( userPage > pages ) { userPage = pages; }
if ( userPage == 1 ) { start = 0; }
else { start = (userPage - 1) * per_page; }
window.location = url_bit + "&st=" + start;
}
}
//-->
</script>
<!--IBF.BANNER-->
<% MEMBER BAR %>
</div>
If you copy that into your Invisionboard header, you should get the same results I have for the ib module's header. Make sure that you have the files chmoded correctly in that module though, otherwise it won't let you edit them. This should help you figure out which ones to chmod:http://www.invisionpower.com/documentation/showdoc.php?page=115