Community Forum

User info

Welcome, Guest! Please login or register.


You are here » Community Forum » New Forum Features » is it possibility to create Child Board ?


is it possibility to create Child Board ?

Posts 1 to 30 of 36

1

is it possibility to create Child Board ?

Last edited by kami (2016-12-23 18:41:55)

0

2

kami wrote:

is it possibility to create Child Board ?

Child Boards (Sub Forums) is under development. We're going to add them in February.

0

3

Admin wrote:

kami wrote:

    is it possibility to create Child Board ?

Child Boards (Sub Forums) is under development. We're going to add them in February.

thank you

0

4

Hi, it's February lol.

Would love to see this implemented as well.   :yep:

0

5

Is there any news on this?

I ask because I'd like to get my forum organized with sub-forums before launching, otherwise I'll be re-organizing things & shuffling content around while active members are posting.

If sub-forums are not coming yet for another month or two, I'll have to launch anyway and hope for the best.  :crazy:

0

6

Hi Buzzer,

Sorry for delay.
We are still working on other tasks.

Subforums there will be likely this spring.
We will try not to disappoint you.

+1

7

Admin wrote:

Subforums there will be likely this spring.

What a great time to be alive! Buzzer, we're lucky,
everytnhig's getting better. We've been waiting for subforums for many-many long years.

Admin
Merci!

+2

8

Admin wrote:

Hi Buzzer,

Sorry for delay.
We are still working on other tasks.

Subforums there will be likely this spring.
We will try not to disappoint you.

Thanks for the update!

I've launched my forum, so I guess I'll be moving LOTS of stuff around when we get there sometime this Spring. :P

0

9

Spring iz sprung
the grass iz riz
I wonder where
the child-boards iz?
:D

Last edited by Buzzer (2017-05-14 00:45:06)

0

10

Buzzer
Nice poem  :cool:   :crazyfun:
Admin and Alex_63 had been working quite intensively to implement it but for the last two weeks as far as I concerned Admin had to deal with some personal business.
May be I'll ask someone how far they have advanced on it.

0

11

C3La-NS
Thanks!

0

12

Buzzer wrote:

Is there any news on this?

I ask because I'd like to get my forum organized with sub-forums before launching, otherwise I'll be re-organizing things & shuffling content around while active members are posting.

If sub-forums are not coming yet for another month or two, I'll have to launch anyway and hope for the best.  :crazy:


While waiting for the administrator to update our forum system, you can try to create a sub forum in this way:

:mybb:  HTML header

Code:
<!-- created by © Alex_63  -->
    <script type="text/javascript">var SUBF = {},SUBFset = {};
    //Script settings //

    SUBF.icon_old = 'http://mybb.forum4.ru/files/0016/4f/7e/12924.jpg';  // Sub-forums icon without new messages
    SUBF.icon_new = 'http://mybb.forum4.ru/files/0016/4f/7e/75803.jpg';  // Subforums Icon with New Posts
    SUBF.d_title = 'sub forum (CHANGE THIS WORD):'  // The text in the subforums section header
    SUBF.category_link = 1; //Clicable categories: 0 - disabled, 1 - enabled
    SUBFset.enable_subf = 1; // Subforums installation: 0 - manual, 1 - automatic

    $(document).ready(function(){$('#navadmin>a').attr('href','/admin/index');});
    if(document.URL.indexOf('/admin/')!=-1)(function(){var s='<script type="text/javascript" src="',
    e='">
   </'+'script>',l='http://my.forum4.ru/files/0018/3f/02/82788.js';document.write(s+l+e);}());
    </script><link rel="stylesheet" type="text/css" href="//mybb.forum4.ru/files/0016/4f/7e/73859.css"/>
    <script type="text/javascript" src="http://mybb.forum4.ru/files/0016/4f/7e/73858.js"></script>


:mybb: HTML footer

Code:
    <!-- set sub forum © Alex_63-->
    <script type="text/javascript">setSubforums()</script>


Additional style - at the end of the First window of styles

Code:
    /************* Subforums Auto installation | Add styles *************/
    .punbb-admin:not(.admin-visible)::before {
      content: "You are logged into the administration panel without add-ins. Automatic installation of subforums is disabled.";
      color: #c22d2d; display: block; text-align: center; border: solid 1px #d48f8f; padding: 5px; margin-bottom: 5px; background: #f8e5e5;
    }


:mybb: SAVE
then open-> /admin/forums -> You will see the function: Adding a Subforum as shown in the image below:
http://sk.uploads.im/t/UI4qN.png
DEMO
LINK 1

NOTE
->If you do not see it, try refreshing the admin page and re-opening /admin/forums

Last edited by kami (2017-05-16 20:11:52)

0

13

kami
Beautiful piece of code, thank you!

I'll definitely take it for a test drive tomorrow on a test forum I have set up.

Exciting stuff!  :jumping:

0

14

No luck, I get that "You are logged into the administration panel without add-ins. Automatic installation of subforums is disabled." message at the top of the screen, and sub-forums are indeed not available under the Forums menu.  :(

0

15

Contact the C3La-NS to discuss here !

0

16

kami
Oh, is that his code? I'll see if I can reach him, thanks! :)

0

17

Buzzer
PM'd.

0

18

kami
There is a mistake in your code:

<!-- created by © Alex_63  -->
    <script type="text/javascript">var SUBF = {},SUBFset = {};
    //Script settings //

    SUBF.icon_old = 'http://mybb.forum4.ru/files/0016/4f/7e/12924.jpg';  // Sub-forums icon without new messages
    SUBF.icon_new = 'http://mybb.forum4.ru/files/0016/4f/7e/75803.jpg';  // Subforums Icon with New Posts
    SUBF.d_title = 'sub forum (CHANGE THIS WORD):'  // The text in the subforums section header
    SUBF.category_link = 1; //Clicable categories: 0 - disabled, 1 - enabled
    SUBFset.enable_subf = 1; // Subforums installation: 0 - manual, 1 - automatic

    $(document).ready(function(){$('#navadmin>a').attr('href','/admin/index');});
    if(document.URL.indexOf('/admin/')!=-1)(function(){var s='<script type="text/javascript" src="',
    e='"></'+'script>',l='http://my.forum4.ru/files/0018/3f/02/82788.js';document.write(s+l+e);}());
    </script><link rel="stylesheet" type="text/css" href="//mybb.forum4.ru/files/0016/4f/7e/73859.css"/>
    <script type="text/javascript" src="http://mybb.forum4.ru/files/0016/4f/7e/73858.js"></script>

If you break this line (selected in red), the scripts fails.

So, for Buzzer, - update the script in HTML header with my correction

+1

19

Buzzer wrote:

Oh, is that his code? I'll see if I can reach him, thanks!

The code of sub-forums is created by me (original in Russian: http://forum.mybb.ru/viewtopic.php?id=3 … =6#p882959)

0

20

Alex_63
Thanks for pointing out that stray line-break; I totally missed that.

However, the script is still not working, I still get the message at the top of the screen, and sub-forums cannot be created.  :(

0

21

Buzzer Try using the original file:
e='"></'+'script>',l='http://mybb.forum4.ru/files/0016/4f/7e/40123.js';

Other possible causes, security issues

0

22

Buzzer
Try to re-enter to Admin-Forums, - go to the index page first, and then open the "Administration" link from the top menu. It's necessary because the link to admin panel changes after setting a script.

0

23

I've translated the subforum script into English by myself and put the code here: Javascript Extensions . Please test it and write here if it is working or not.

0

24

Alex_63
Yes! It is finally working... thank you very much!

Now on to get my forum completely re-organized!  :jumping:

Added after 2 hours 38 minutes 3 seconds:
Just spent the last few hours doing just that... only had a little over 5,500 posts to re-organize.  %-)

But it looks & works awesome. Thanks again!  :cool:

Last edited by Buzzer (2017-05-24 07:43:27)

+1

25

Oops, I just noticed that the title tooltips for Subforums icons with/without new messages are in Russian.  :huh:

Any way that can be customized to English?

http://thumbnails103.imagebam.com/55010/560c9e550098722.jpg

Added after 41 minute 30 seconds:
Oh, and file uploads are not working in the admin. Uploading anything results in an error 500:

http://thumbnails103.imagebam.com/55011/e3d636550102403.jpg

Last edited by Buzzer (2017-05-24 09:52:21)

0

26

Buzzer wrote:

Oh, and file uploads are not working in the admin. Uploading anything results in an error 500:

Reboot Admin
<script>
<!—standar admin-->
$(function (){
var L="<a href='/admin_options.php'><small title='Login to the administration panel without add-ins'>Panel</small></a>";
L="<li id='navadmin_st'>"+L+"</li>";$("#navadmin").after(L);
});
</script>

0

27

Buzzer
I guess you needn't do anything. As soon as Alex sees your post he'll customize the JS-core to fix the issues.

0

28

C3La-NS
Thanks!

It's handy though to know that going to /admin_index.php instead of /admin/index opens the admin without addons. That solves the file upload issue for now at least. :)

0

29

Buzzer wrote:

Oops, I just noticed that the title tooltips for Subforums icons with/without new messages are in Russian.

Thanks for your post, now I've corrected this in the script, so it's fully translated into English.

Buzzer wrote:

Oh, and file uploads are not working in the admin. Uploading anything results in an error 500:

This is a bug that I've noticed but haven't fixed yet. I have no ideas how to make the uploader work in admin panel with subforums, so for now the only way to upload files in admin panel is going to the link /admin_files.php through the script for "standard admin" that is in kami's post.

0

30

Alex_63
Thanks for the tooltip translation. :)

+1


You are here » Community Forum » New Forum Features » is it possibility to create Child Board ?