1
KernelXP
InvisionBoard Module in its own page???
  • 2004/1/16 4:48

  • KernelXP

  • Just popping in

  • Posts: 3

  • Since: 2004/1/13


Hey Guys,

Is it possible for the Invision Board module to open up in its own page, without the integrated look?

The reason I ask this is because it’s causing hell with my site, and making graphics move all over the place.

Hope someone can help me on this

2
Bazus
Re: InvisionBoard Module in its own page???
  • 2004/1/16 4:55

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


I doubt it it can be displayed in its own page if it's installed as a XOOPS module. What I did to go around this in one of my sites was editing some of the files that are related with the displacement of columns and rows in the boxes. that fixed almost most of the pages in my site, except the page to send private messages to users. see the results athttp://www.naccion.org (forum link)

3
djsckizo
Re: InvisionBoard Module in its own page???
  • 2004/1/16 5:07

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


Check out my site with the forum on it. I wanted to be able to do the same thing but since I couldn't, I just shut off all of the blocks in the forum and edited the css and template file for the header in invision board. This was the result:

Normal front page:http://quintina.net

Forum part:http://forum.quintina.net

Same XOOPS site though, just with the blocks removed from that part of the site.

By the way, that is the revised version of the site theme that I just put up about a week or two ago. Before that I used to just use the theme at bbpixel. I like this version a bit better.

4
Bazus
Re: InvisionBoard Module in its own page???
  • 2004/1/16 5:49

  • Bazus

  • Not too shy to talk

  • Posts: 144

  • Since: 2002/9/23


hey djsckizo that site looks pretty neat. By the way, what were the files you changed in order to make it fit into your theme. I know I did some changes in some files and changed 'columns=60' to 'columns=48' in several files. I did a search for columns in the whole ipboard files and replace the number of columns for the text boxes accordingly. This is to help our fellow kernelxp with his ipboard.

5
KernelXP
Re: InvisionBoard Module in its own page???
  • 2004/1/16 6:35

  • KernelXP

  • Just popping in

  • Posts: 3

  • Since: 2004/1/13


Dude, I bow down before you, How do I get lots of chicks like that on my site lol

Back on topic, what files did you edit?

Quote:

djsckizo wrote:
Check out my site with the forum on it. I wanted to be able to do the same thing but since I couldn't, I just shut off all of the blocks in the forum and edited the css and template file for the header in invision board. This was the result:

Normal front page:http://quintina.net

Forum part:http://forum.quintina.net

Same XOOPS site though, just with the blocks removed from that part of the site.

By the way, that is the revised version of the site theme that I just put up about a week or two ago. Before that I used to just use the theme at bbpixel. I like this version a bit better.

6
djsckizo
Re: InvisionBoard Module in its own page???
  • 2004/1/16 15:10

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


I deleted the actual column that holds the left blocks and moved the code for the left blocks into the right side. That way I had one big middle one and a right one (I'm planning on making a theme like this to put on XOOPS too by the way).

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_jumpurl_bittotal_postsper_page )
{
pages 1cur_st parseInt("{$ibforums->input['st']}"); cur_page  1;
if ( 
total_posts per_page == ) { pages total_posts per_page; }
 else { 
pages Math.ceiltotal_posts per_page ); }
msg "{ibf.lang.tpl_q1}" " " pages;
if ( 
cur_st ) { cur_page cur_st per_pagecur_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 promptmsgshow_page );
if ( 
userPage 0  ) {
    if ( 
userPage )     {    userPage 1;  }
    if ( 
userPage pages ) { userPage pages; }
    if ( 
userPage == )    {     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

7
djsckizo
Re: InvisionBoard Module in its own page???
  • 2004/1/16 15:13

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


Quote:

KernelXP wrote:
Dude, I bow down before you, How do I get lots of chicks like that on my site lol


beg lol

8
JackJ
Re: InvisionBoard Module in its own page???
  • 2004/1/16 16:37

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


To do this without hacking your theme you need a hacked file called functions.php, this opens ipboard in its own 100% page.

Upload it to modules/ipboard/sources/functions.php



Zip File

9
KernelXP
Re: InvisionBoard Module in its own page???
  • 2004/1/17 0:09

  • KernelXP

  • Just popping in

  • Posts: 3

  • Since: 2004/1/13


Cool it worked, thank you so much :)

Login

Who's Online

142 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits