Community Forum

User info

Welcome, Guest! Please login or register.


You are here » Community Forum » Forum for Newbies » General Questions [#1]


General Questions [#1]

Posts 1 to 6 of 6

1

C3La-NS wrote:

Fully Functional Portal Page for MyBB Forums (C3La-NS)
This is a fully functional version of a Portal Page with such features as: displaying recent 50 posts including media-content (images, video, emoticons, etc.), auto-split text after the first paragraph and read-more button, two sidebars for custom content, no-JavaScript mode and some more.


Is there a way to make this page as home page?

Displaying
very difficult to adjust the width of the sidebar that can suit automatically in mozilla and chrome browser. if adjusting to look good in mozilla, but will be severely damaged in chrome, and the same thing happens, if adjusting to look good in chrome but is broken in Mozilla...

see the example page: Link

Last edited by kami (2017-01-28 10:03:23)

0

2

Sometimes it's better to ask questions in this topic instead of creating every new one for that purpose. Be free to ask here anything you want considering your forum  :flag:

0

3

kami
Hello, your post was moved, as I asked to restrain from asking questions here: Javascript Forum Extensions


kami wrote:

Is there a way to make this page as home page?

It's possible with JavaScript codes but MyBB doesn't provide such a feature for now.

<script>
var portal = '/pages/portal';
var url = document.URL.split('#')[0];
if((url+'%a').split('/%')[1]=='a')location.href=portal;
$(document).ready(function(){
  var a = $('#pun-navlinks #navindex a')[0];
  a.href = a.href+'=&forum'
});
</script>


I personally do not recommend to use this Script, to my mind it makes forums less convenient and simple to use.

kami wrote:

Displaying
very difficult to adjust the width of the sidebar that can suit automatically in mozilla and chrome browser. if adjusting to look good in mozilla, but will be severely damaged in chrome, and the same thing happens, if adjusting to look good in chrome but is broken in Mozilla...

Seems the problem is due to the template. Try to add this:

<style>
#pun-pages .main td {
padding: 1%;
}
</style>

You may add this code to your portal page.

Then you try to make again left and right sidebars' width 25%.
Added after 8 minutes 26 seconds:
I'm sorry, I made something wrong, I didn't intend to make your post the first of this topic. I'll have to remove your post later to make my second message primary.

+1

4

thank you for answer,,,
i dont understand this... ?

Added after 8 minutes 26 seconds:


I am Sorry my english

0

5

kami wrote:

thank you for answer,,,
i dont understand this... ?


oh, that's just a BB-tag
http://imgur.com/MKkAKwj.png
that marks the precise time of edition since the post was originally submitted.

kami wrote:

I am Sorry my english

That's OK. English is not my mother-tongue either.

0

6

Seems the problem is due to the template. Try to add this:

    <style>
    #pun-pages .main td {
    padding: 1%;
    }
    </style>

You may add this code to your portal page.
Then you try to make again left and right sidebars' width 25%.


after adding the code above, the most suitable settings for Mybb Tulip Garden to be perfect in mozilla and chrome are
left 20%
middle 55%
right 22%

Thank For Helping....

+1


You are here » Community Forum » Forum for Newbies » General Questions [#1]