Closing Categorys like ForuMotion Support Forum
+2
HyperActive
DK
6 posters
Page 1 of 1
Closing Categorys like ForuMotion Support Forum
Last edited by iLeo on August 14th 2012, 4:41 am; edited 3 times in total
Re: Closing Categorys like ForuMotion Support Forum
I'm pretty sure it's only for phpbb3, like they have here, but i stand corrected
Re: Closing Categorys like ForuMotion Support Forum
Hello,
You're lucky. It's for PunBB as well. Here: https://help.forumotion.com/t102749-category-toggle?highlight=category+toggle
You're lucky. It's for PunBB as well. Here: https://help.forumotion.com/t102749-category-toggle?highlight=category+toggle
Re: Closing Categorys like ForuMotion Support Forum
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!
Re: Closing Categorys like ForuMotion Support Forum
Now I have a problem with my homepage message.
This is my Homepage message code.
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>
Re: Closing Categorys like ForuMotion Support Forum
Sir What is the Version of this Forum ?
Abuse™- New Member
- Posts : 24
Reputation : 1
Language : English & Tagalog
Re: Closing Categorys like ForuMotion Support Forum
Forumotion Support forum is PhpBB3
Jaredseven- Forumember
- Posts : 96
Reputation : 6
Language : English
Location : Omaha
Re: Closing Categorys like ForuMotion Support Forum
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>
Re: Closing Categorys like ForuMotion Support Forum
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?
It's fixed now Chivas, thanks!
How do I remove the "uRandom" part in the homepage message?
Re: Closing Categorys like ForuMotion Support Forum
Ah, that will be in the templates i believe, let me see first then I'll report back.
Re: Closing Categorys like ForuMotion Support Forum
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?
Is there a way to fix it?
Re: Closing Categorys like ForuMotion Support Forum
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!
I uploaded a video about my problem.
https://www.youtube.com/watch?v=ZlB2I8EOw1A
Re: Closing Categorys like ForuMotion Support Forum
No. I uploaded a video about my problem. ^ Up there.Rideem3 wrote:Is this solved?
Re: Closing Categorys like ForuMotion Support Forum
Rideem3 wrote:I noticed your problem. Try clearing your cookies and cache, then try closing, and refreshing the page.
Just tried that. Didn't work.
Re: Closing Categorys like ForuMotion Support Forum
I used this code for css :
And this on the homepage message.
- 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>
Re: Closing Categorys like ForuMotion Support Forum
is there ? For phpBB 3..
Abuse™- New Member
- Posts : 24
Reputation : 1
Language : English & Tagalog
Re: Closing Categorys like ForuMotion Support Forum
https://help.forumotion.com/t102749-category-toggleAbuse™ wrote:is there ? For phpBB 3..
Re: Closing Categorys like ForuMotion Support Forum
Rideem3 wrote:What is the forum URL of which you have installed this on?
Forum URL : http://urandom.forumotion.com/forum
Similar topics
» Welcome to the support forum of forumotion hide button?
» Greek Forumotion Support Forum
» Welcome to the support forum of forumotion thing
» Forumotion Support Forum 1M Posts!
» Do you miss the old Forumotion Support Forum theme?
» Greek Forumotion Support Forum
» Welcome to the support forum of forumotion thing
» Forumotion Support Forum 1M Posts!
» Do you miss the old Forumotion Support Forum theme?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum