The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Closing Categorys like ForuMotion Support Forum

+2
HyperActive
DK
6 posters

Go down

Solved Closing Categorys like ForuMotion Support Forum

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

Closing Categorys like ForuMotion Support Forum 454427-88201245559am
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
DK
Forumember

Male Posts : 588
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 August 8th 2012, 4:05 am

I'm pretty sure it's only for phpbb3, like they have here, but i stand corrected
HyperActive
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™ August 8th 2012, 4:13 am

Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

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

Sir Chivas™ wrote:Hello,

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

Thank you kindly mate!
DK
DK
Forumember

Male Posts : 588
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™ August 8th 2012, 4:17 am

No problemo. Wink
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

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

Now I have a problem with my homepage message.

Closing Categorys like ForuMotion Support Forum 901914-88201252649am

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
DK
Forumember

Male Posts : 588
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™ August 8th 2012, 4:32 am

Sir What is the Version of this Forum ?
Abuse™
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 August 8th 2012, 4:35 am

Forumotion Support forum is PhpBB3
Jaredseven
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™ 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>
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

Post by DK 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?

Closing Categorys like ForuMotion Support Forum 467966-88201254501am
DK
DK
Forumember

Male Posts : 588
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™ August 8th 2012, 4:48 am

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

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

https://aforums.org

Back to top Go down

Solved Re: Closing Categorys like ForuMotion Support Forum

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

Alright, thanks! Very Happy
DK
DK
Forumember

Male Posts : 588
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 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
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 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.
https://www.youtube.com/watch?v=ZlB2I8EOw1A
DK
DK
Forumember

Male Posts : 588
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 August 9th 2012, 3:02 am

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

Male Posts : 588
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 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
DK
Forumember

Male Posts : 588
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 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://2img.net/i/fa/m/tabs_more1.gif);}
    .contract {background: url(http://2img.net/i/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 : https://help.forumotion.com/t102749-category-toggle?highlight=category+toggle
DK
DK
Forumember

Male Posts : 588
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™ August 9th 2012, 3:34 am

is there ? For phpBB 3..
Abuse™
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 August 9th 2012, 3:37 am

Abuse™ wrote:is there ? For phpBB 3..
https://help.forumotion.com/t102749-category-toggle
DK
DK
Forumember

Male Posts : 588
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 August 10th 2012, 1:36 am

Bump
DK
DK
Forumember

Male Posts : 588
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 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
DK
Forumember

Male Posts : 588
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 August 11th 2012, 4:16 am

Bump.
DK
DK
Forumember

Male Posts : 588
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 August 12th 2012, 7:58 pm

BUMP
DK
DK
Forumember

Male Posts : 588
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 August 14th 2012, 4:17 am

BUMP I NEED HELP
DK
DK
Forumember

Male Posts : 588
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 August 14th 2012, 4:38 am

Thanks! It works now (:
DK
DK
Forumember

Male Posts : 588
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Back to top

- Similar topics

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