Page Index Toggle Pages: 1
Topic Tools
Normal Topic Can The Entire Forum Be Resized? (Read 1,915 times)
UVT
YaBB Newcomer
*
Offline



Posts: 11
Location: USA
Can The Entire Forum Be Resized?
Mar 5th, 2012 at 8:49pm
Post Tools
is it possible to resize the overall size of the forum to fit within a frame? Is there a overall bodey size in the css, etc?

Thank you. Great product.
  
Back to top
 
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,593
Location: UK:Scotland/livingston

None
Re: Can The Entire Forum Be Resized?
Reply #1 - Mar 6th, 2012 at 12:03am
Post Tools
UVT wrote on Mar 5th, 2012 at 8:49pm:
is it possible to resize the overall size of the forum to fit within a frame? Is there a overall bodey size in the css, etc?

Thank you. Great product.

if you mean can it fit into a iframe then yes you can do this but the width cant be under 800
and you have to look in the admin center > Template > default.html and find

Code
Select All
</head>
<body>
<div id="maincontainer">
<div id="container"> 



and remove <div id="maincontainer"> then look for

Code
Select All
</div>
<script language="JavaScript1.2" type="text/javascript">
<!--
sh_highlightDocument();
// -->
</script>
</body>
</html>
 



and remove </div>

and it will now fit in a iframe better than it was
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
UVT
YaBB Newcomer
*
Offline



Posts: 11
Location: USA
Re: Can The Entire Forum Be Resized?
Reply #2 - Mar 22nd, 2012 at 9:50pm
Post Tools
Thank you so much. Really appreciated.
  
Back to top
 
IP Logged
 
Elfen
Full Member
***
Offline



Posts: 452
Re: Can The Entire Forum Be Resized?
Reply #3 - Mar 23rd, 2012 at 1:15am
Post Tools
UVT wrote on Mar 5th, 2012 at 8:49pm:
is it possible to resize the overall size of the forum to fit within a frame? Is there a overall bodey size in the css, etc?

Thank you. Great product.

Within the length of a frame? No. Its impossible because no one know how long your forum and the threads within are going to me.

Within the width was the frame? Yes. It takes some fudging about the Perl Code inside the display templates and source codes.

I done it. Its not easy. Screw it up and you can say bye bye to your board if you cant reinstall the files you screwed up.

Why you want it in a frame? Sounds to me like you're trying to circumvent YaBB displaying its CGI-URL. I know enough to block what most things but circumventing YaBB from printing out certain things is a no no.
« Last Edit: Mar 23rd, 2012 at 1:16am by Elfen »  
Back to top
 
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,725
Location: Los Angeles

YaBB 2.4
Re: Can The Entire Forum Be Resized?
Reply #4 - Mar 23rd, 2012 at 4:19am
Post Tools
One of the cool things about YaBB is that it really fits quite well in frames that are different sizes, and that's without doing anything to it.
On an iPad, many of the YaBB forums I've seen look terrific, including this one!  Smiley
  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
UVT
YaBB Newcomer
*
Offline



Posts: 11
Location: USA
Re: Can The Entire Forum Be Resized?
Reply #5 - Apr 6th, 2012 at 2:37pm
Post Tools
Thanks everyone. frame was the answer.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools