how to add this button
5 posters
Page 1 of 1
BetterHax- Forumember
- Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines
Re: how to add this button
Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine. |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: how to add this button
this feature is working in phpbb2
Symbianize- Forumember
- Posts : 65
Reputation : 1
Language : English
Location : || New York City ||
Re: how to add this button
Hi,
Isn't this button related to this script --> https://help.forumotion.com/t102749-category-toggle?highlight=Category+toggle
The category toggle?
Isn't this button related to this script --> https://help.forumotion.com/t102749-category-toggle?highlight=Category+toggle
The category toggle?
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Re: how to add this button
this feature is working in phpbb2? in tutorial punbb3 and punbb only?
my forum version is phpbb2
my forum version is phpbb2
BetterHax- Forumember
- Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines
Re: how to add this button
BetterHax wrote:this feature is working in phpbb2? in tutorial punbb3 and punbb only?
my forum version is phpbb2
It says in the tutorial PHPBB2 boards aren't supported within this tutorial.
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Re: how to add this button
how about sir gray link..
i think here have a tutorial there but i dont understand it
i think here have a tutorial there but i dont understand it
BetterHax- Forumember
- Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines
Re: how to add this button
Now since I can't read french other than some basic french I used a translator and from what I can tell.
You need to take this code
And then place it in a JavaScript so go to ACP --> Modules --> Javascript Management --> Create New --> Title it whatever --> In all pages --> enter the code from above --> Save
I could be wrong as the translation wasn't that great but from what I can tell this was what you needed to do to install it.
EDIT: I just tested it and it worked.
You need to take this code
- Code:
/* categories retractables sans invision */
$(function() {
if(window.localStorage) {
var b = JSON.parse(localStorage.getItem("catRet")) || {}
}
var f = 0;
if($("body#phpbb").length) {
var a = "div.table-title h2", e = "ul.topiclist", c = ":not(ul.topiclist.forums)"
}else {
$("#pun-intro").length ? (a = "div.page-title h2", e = "div.main-head", c = ":not(div.main-content)") : (a = "th.secondarytitle h2", e = "tr", c = ":not(tr)")
}
$(a).closest(e).css("cursor", "pointer").each(function() {
var d = "c" + f++, a;
window.localStorage ? b[d] && (a = !0) : a = !1;
a && $(this).nextUntil(c).toggle();
$(this).click(function() {
$(this).nextUntil(c).toggle();
window.localStorage && (b[d] ? delete b[d] : b[d] = 1, localStorage.setItem("catRet", JSON.stringify(b)))
})
})
});
And then place it in a JavaScript so go to ACP --> Modules --> Javascript Management --> Create New --> Title it whatever --> In all pages --> enter the code from above --> Save
I could be wrong as the translation wasn't that great but from what I can tell this was what you needed to do to install it.
EDIT: I just tested it and it worked.
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Re: how to add this button
Hi,
If the answer provided by Derri helped out, please edit your first post and mark your thread as solved, thank you.
If the answer provided by Derri helped out, please edit your first post and mark your thread as solved, thank you.
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Re: how to add this button
not working theres any code will be add in CSS?
BetterHax- Forumember
- Posts : 304
Reputation : 3
Language : English,Tagalog
Location : United State, Philippines
Re: how to add this button
i think no code this feature in phpbb2 version
Symbianize- Forumember
- Posts : 65
Reputation : 1
Language : English
Location : || New York City ||
Re: how to add this button
BetterHax wrote:not working theres any code will be add in CSS?
Symbianize wrote:i think no code this feature in phpbb2 version
I installed this on a PHPBB3 forum and it worked like a charm. Make sure you have Javascript enabled, you'll see an option in the Javascript management section.
EDIT, I can't say for sure but it sounds like the code might be universal, nothing from the French tutorial will indicate otherwise.
EDIT 2, By the way, you won't get an image, you actually just click on the category title.
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Re: how to add this button
Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine. |
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum