The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Closing Categorys like ForuMotion Support Forum

View previous topic View next topic Go down

Solved Closing Categorys like ForuMotion Support Forum

Post by DK on August 8th 2012, 4:04 am


How can I do this?
My forum : http://urandom.forumotion.com/forum


Last edited by iLeo on August 14th 2012, 4:41 am; edited 3 times in total

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by HyperActive on August 8th 2012, 4:05 am

I'm pretty sure it's only for phpbb3, like they have here, but i stand corrected

HyperActive
Forumember

Male Posts : 374
Reputation : 10
Language : English
Location : Virginia

http://forumpeak.com/

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by Sir Chivas™ on August 8th 2012, 4:13 am

Hello,

You're lucky. It's for PunBB as well. Here: http://help.forumotion.com/t102749-category-toggle?highlight=category+toggle



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 8th 2012, 4:16 am

Sir Chivas™ wrote:Hello,

You're lucky. It's for PunBB as well. Here: http://help.forumotion.com/t102749-category-toggle?highlight=category+toggle

Thank you kindly mate!

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by Sir Chivas™ on August 8th 2012, 4:17 am

No problemo. Wink



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 8th 2012, 4:28 am

Now I have a problem with my homepage message.



This is my Homepage message code.


Code:
            <span style="float: left; margin-left: 60px; display: block;"><strong>BEFORE POSTING...</strong><br>
              - <a href="http://urandom.forumotion.com/t11-urandom-rules">uRandom Rules</a><br>
              - <a href="http://urandom.forumotion.com/t35-meet-our-staff">Staff List</a><br>
              - <a href="http://urandom.forumotion.com/t72-urandom-s-ucoins-guide">Points guide</a><br>
              - <a href="http://urandom.forumotion.com/t69-adding-signatures-for-members">Signatures info</a>
            </span>
            <span style="float: left; margin-left: 80px; display: block;">
              <strong>OTHER IMPORTANT/USEFUL LINKS</strong><br>
              - <a href="http://urandom.forumotion.com/t161-introduce-yourself">Introduce Yourself</a><br>
              - <a href="http://urandom.forumotion.com/t140-package-service-guidelines">Package Service guidelines. </a><br>
              - <a href="http://urandom.forumotion.com/h3-affiliates">Affiliate with us!</a><br>
                    - <a href="http://urandom.forumotion.com/f37-ushop">uShop</a><br>
            </span>

    <script type="text/javascript">
    function toggleLTcategory(cat) {
        var cid=cat.id;
        var button=document.getElementById('b'+cid);
        if (cat.style.display=='none') {
            cat.style.display='block';
            button.className='contract';
            my_setcookie('_' + cid, '', true);
        }
        else {
            cat.style.display='none';
            button.className='expand';
            my_setcookie('_' + cid, '1', true);
        }
    }

    jQuery(function () {
        x=jQuery('.main-head .page-title').get();
        for (i=0; i<x.length; i++) {
            x[i].style.position='relative';
            var cid='c'+String(i+1);
            x[i].parentNode.nextSibling.setAttribute('id',cid);
            x[i].parentNode.nextSibling.style.display='block';
            var y='<div id="b'+cid+'" class="contract" onclick="toggleLTcategory(this.parentNode.parentNode.nextSibling);"></div>';
            x[i].innerHTML=x[i].innerHTML+y;
        }

        cookies = document.cookie.split('; ');
        for (i in cookies) {
            if (cookies[i].charAt(0) == '_') {
                cookie = cookies[i].split('=');
                if (cookie[1] == '1') {
                    cid = cookie[0].substring(1);
                    if (document.getElementById(cid)) {toggleLTcategory(cid);}
                }
            }
        }
    });
    </script>

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by Abuse™ on August 8th 2012, 4:32 am

Sir What is the Version of this Forum ?

Abuse™
New Member

Male Posts : 24
Reputation : 1
Language : English & Tagalog

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by Jaredseven on August 8th 2012, 4:35 am

Forumotion Support forum is PhpBB3

Jaredseven
Forumember

Male Posts : 96
Reputation : 6
Language : English
Location : Omaha

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by Sir Chivas™ on August 8th 2012, 4:38 am

Try this:

Code:
            <span style="float: left; margin-left: 60px; display: block;"><strong>BEFORE POSTING...</strong><br>
              - <a href="http://urandom.forumotion.com/t11-urandom-rules">uRandom Rules</a><br>
              - <a href="http://urandom.forumotion.com/t35-meet-our-staff">Staff List</a><br>
              - <a href="http://urandom.forumotion.com/t72-urandom-s-ucoins-guide">Points guide</a><br>
              - <a href="http://urandom.forumotion.com/t69-adding-signatures-for-members">Signatures info</a>
            </span>
            <span style="float: left; margin-left: 80px; display: block;">
              <strong>OTHER IMPORTANT/USEFUL LINKS</strong><br>
              - <a href="http://urandom.forumotion.com/t161-introduce-yourself">Introduce Yourself</a><br>
              - <a href="http://urandom.forumotion.com/t140-package-service-guidelines">Package Service guidelines. </a><br>
              - <a href="http://urandom.forumotion.com/h3-affiliates">Affiliate with us!</a><br>
                    - <a href="http://urandom.forumotion.com/f37-ushop">uShop</a><br>
            </span><br>
<br>
<br>
<br>

    <script type="text/javascript">
    function toggleLTcategory(cat) {
        var cid=cat.id;
        var button=document.getElementById('b'+cid);
        if (cat.style.display=='none') {
            cat.style.display='block';
            button.className='contract';
            my_setcookie('_' + cid, '', true);
        }
        else {
            cat.style.display='none';
            button.className='expand';
            my_setcookie('_' + cid, '1', true);
        }
    }

    jQuery(function () {
        x=jQuery('.main-head .page-title').get();
        for (i=0; i<x.length; i++) {
            x[i].style.position='relative';
            var cid='c'+String(i+1);
            x[i].parentNode.nextSibling.setAttribute('id',cid);
            x[i].parentNode.nextSibling.style.display='block';
            var y='<div id="b'+cid+'" class="contract" onclick="toggleLTcategory(this.parentNode.parentNode.nextSibling);"></div>';
            x[i].innerHTML=x[i].innerHTML+y;
        }

        cookies = document.cookie.split('; ');
        for (i in cookies) {
            if (cookies[i].charAt(0) == '_') {
                cookie = cookies[i].split('=');
                if (cookie[1] == '1') {
                    cid = cookie[0].substring(1);
                    if (document.getElementById(cid)) {toggleLTcategory(cid);}
                }
            }
        }
    });
    </script>



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 8th 2012, 4:46 am

My Forum is PunBB. And the tutorial works with phpbb3 and PunBB.

It's fixed now Chivas, thanks!
How do I remove the "uRandom" part in the homepage message?


DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by Sir Chivas™ on August 8th 2012, 4:48 am

Ah, that will be in the templates i believe, let me see first then I'll report back.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 8th 2012, 4:51 am

Alright, thanks! Very Happy

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by BimbasVG on August 8th 2012, 12:54 pm

This its not good, when refresh page everything returns to normal its not stay closed. On this forum is closed.

Is there a way to fix it?

BimbasVG
Forumember

Male Posts : 100
Reputation : 4
Language : Croatian

http://www.ch-yakuza.com

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 8th 2012, 3:35 pm

@BimbasVG wrote:This its not good, when refresh page everything returns to normal its not stay closed. On this forum is closed.

Is there a way to fix it?

Really? I didn't notice this. Thanks for pointing it out! Smile

I uploaded a video about my problem.
http://www.youtube.com/watch?v=ZlB2I8EOw1A

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 9th 2012, 3:02 am

Rideem3 wrote:Is this solved?
No. I uploaded a video about my problem. ^ Up there.

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 9th 2012, 3:05 am

Rideem3 wrote:I noticed your problem. Try clearing your cookies and cache, then try closing, and refreshing the page. Wink

Just tried that. Didn't work.

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 9th 2012, 3:22 am

I used this code for css :
Code:
    .expand, .contract {position: absolute; top: 6px; right: 10px; cursor: pointer; width: 9px; height: 9px; background: url(http://illiweb.com/fa/m/tabs_more1.gif);}
    .contract {background: url(http://illiweb.com/fa/m/tabs_less1.gif);}

And this on the homepage message.
Code:
                <span style="float: left; margin-left: 60px; display: block;"><strong>BEFORE POSTING...</strong><br>
                  - <a href="http://urandom.forumotion.com/t11-urandom-rules">uRandom Rules</a><br>
                  - <a href="http://urandom.forumotion.com/t35-meet-our-staff">Staff List</a><br>
                  - <a href="http://urandom.forumotion.com/t72-urandom-s-ucoins-guide">Points guide</a><br>
                  - <a href="http://urandom.forumotion.com/t69-adding-signatures-for-members">Signatures info</a>
                </span>
                <span style="float: left; margin-left: 80px; display: block;">
                  <strong>OTHER IMPORTANT/USEFUL LINKS</strong><br>
                  - <a href="http://urandom.forumotion.com/t161-introduce-yourself">Introduce Yourself</a><br>
                  - <a href="http://urandom.forumotion.com/t140-package-service-guidelines">Package Service guidelines. </a><br>
                  - <a href="http://urandom.forumotion.com/h3-affiliates">Affiliate with us!</a><br>
                        - <a href="http://urandom.forumotion.com/f37-ushop">uShop</a><br>
                </span><br>
    <br>
    <br>
    <br>

        <script type="text/javascript">
        function toggleLTcategory(cat) {
            var cid=cat.id;
            var button=document.getElementById('b'+cid);
            if (cat.style.display=='none') {
                cat.style.display='block';
                button.className='contract';
                my_setcookie('_' + cid, '', true);
            }
            else {
                cat.style.display='none';
                button.className='expand';
                my_setcookie('_' + cid, '1', true);
            }
        }

        jQuery(function () {
            x=jQuery('.main-head .page-title').get();
            for (i=0; i<x.length; i++) {
                x[i].style.position='relative';
                var cid='c'+String(i+1);
                x[i].parentNode.nextSibling.setAttribute('id',cid);
                x[i].parentNode.nextSibling.style.display='block';
                var y='<div id="b'+cid+'" class="contract" onclick="toggleLTcategory(this.parentNode.parentNode.nextSibling);"></div>';
                x[i].innerHTML=x[i].innerHTML+y;
            }

            cookies = document.cookie.split('; ');
            for (i in cookies) {
                if (cookies[i].charAt(0) == '_') {
                    cookie = cookies[i].split('=');
                    if (cookie[1] == '1') {
                        cid = cookie[0].substring(1);
                        if (document.getElementById(cid)) {toggleLTcategory(cid);}
                    }
                }
            }
        });
        </script>
I followed this tutorial : http://help.forumotion.com/t102749-category-toggle?highlight=category+toggle

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by Abuse™ on August 9th 2012, 3:34 am

is there ? For phpBB 3..

Abuse™
New Member

Male Posts : 24
Reputation : 1
Language : English & Tagalog

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 9th 2012, 3:37 am


DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 10th 2012, 1:36 am

Bump

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 10th 2012, 3:28 am

Rideem3 wrote:What is the forum URL of which you have installed this on?

Forum URL : http://urandom.forumotion.com/forum

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 11th 2012, 4:16 am

Bump.

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 12th 2012, 7:58 pm

BUMP

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 14th 2012, 4:17 am

BUMP I NEED HELP

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK on August 14th 2012, 4:38 am

Thanks! It works now (:

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum