Closing Categorys like ForuMotion Support Forum

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
avatar
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
avatar
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 y it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6810
Reputation : 433
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


Thank you kindly mate!
avatar
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 y it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6810
Reputation : 433
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>
avatar
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 ?
avatar
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
avatar
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 y it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6810
Reputation : 433
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?

avatar
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 y it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6810
Reputation : 433
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
avatar
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?
avatar
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.
https://www.youtube.com/watch?v=ZlB2I8EOw1A
avatar
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.
avatar
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.
avatar
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
avatar
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..
avatar
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

avatar
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
avatar
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
avatar
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.
avatar
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
avatar
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
avatar
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 (:
avatar
DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Back to top


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