New messages Members Forum rules Search
Page 1 of 11
Forum moderator: kostova, Brazen 
uCoz Support Forum by uCozers » Coding » HTML » uCoz Forum's Subforum (sml[tutorial])
uCoz Forum's Subforum
SirDarknightDate: Tuesday, 2011 April 26, 8:00 PM | Message # 1
Font size: A | A |
Lieutenant
Group: uCozer
Message: 61
[ ]
Offline
Author : ???
Location : rucoz.com

1. Create a main board for holding sub-forums.
2. Create boards which will be your sub-forums.

3. Save your sub-forum urls - will be needed for links.

4. CP -> Customize Design -> General appearance of forum pages.
5. Find the $BODY$ code (F3 for search) and paste this code after it:

For one sub-board:

Code
<script type="text/javascript">
link=document.getElementsByTagName('a');
hideForums=new Array('sub_forum_name');
        for(k=0;k<hideForums.length;k++){
          for(i=0;i<link.length;i++){
            if(link[i].className=='forum' && link[i].innerHTML==hideForums[k]){
              link[i].parentNode.parentNode.style.display='none';
            }
          }
        }       
</script>

For many sub-boards:

Code
<script type="text/javascript">
link=document.getElementsByTagName('a');
hideForums=new Array('sub_forum_name','sub_forum_name');
        for(k=0;k<hideForums.length;k++){
          for(i=0;i<link.length;i++){
            if(link[i].className=='forum' && link[i].innerHTML==hideForums[k]){
              link[i].parentNode.parentNode.style.display='none';
            }
          }
        }       
</script>

6. Go to your forum - the sub-boards you created are gone. (Invisible)
7. CP -> Forum Module -> Management of forums and sections.
8. Edit the board you want to hold the sub-boards. In description:

Code
<br>Subforums:       
<a href="url for subforum">name</a> |       
<a href="url for subforum">name</a>

Note: You can use any other system, like

and
but only HTML is supported.

9. Modify:
url for subforum- to your sub-boards url.
url for subforum - to your sub-boards url.

name - to your sub-boards name.
name - to your sub-boards name.

10. If you want to have only one sub-board:

Code
<br>Subforum:       
<a href="url for forum">name</a>

Ask Any Question You Want!


Please Give Me Some Reputation or Award If My Post Helps You

Edited BySirDarknight - Thursday, 2011 April 28, 2:57 PM
 
SDMTEAMDate: Friday, 2011 June 17, 9:54 AM | Message # 2
Font size: A | A |
Private
Group: User
Message: 14
[ ]
Offline
i am not understand what is sub forums please show the pic & more details

Thanks its
 
H[o_0]LiGaNDate: Friday, 2011 October 07, 0:29 AM | Message # 3
Font size: A | A |
Private
Group: User
Message: 1
[ ]
Offline
SDMTEAM,
 
uCoz Support Forum by uCozers » Coding » HTML » uCoz Forum's Subforum (sml[tutorial])
Page 1 of 11
Search:


Copyrights uCozers 2009 - 2017 To TOP
Refresh Smileys Manager