Hide a forum from Index Page?
3 posters
Page 1 of 1
Hide a forum from Index Page?
Do you know if hiding a forum from the index page can be done? Because I want my members to have to visit this HTML page to get to the these forums, I don't just want them to scroll down the Index Page and find them, I need it to be organized and provide a more fun and neat way to get to these areas.. sorry I'm not making a new topic for this I just need to start on this project really quickly, can you help me out mates?
Last edited by HogwartsAcademy on 3rd January 2013, 08:07; edited 1 time in total
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Re: Hide a forum from Index Page?
You can not do this since it is parsed through php. They will only work in the topic_list template and category list ... I'm not sure if jQuery could fetch one of them.
Re: Hide a forum from Index Page?
nextlevelgaming wrote:You can not do this since it is parsed through php. They will only work in the topic_list template and category list ... I'm not sure if jQuery could fetch one of them.
Hmm.. I guess I'll wait to see if anyone else can see if they can do anything about it, thanks for the input lad.
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Re: Hide a forum from Index Page?
Nope just tested and it is not possible without the page being loaded. The latest topic is parsed through a PHP placeholder. This is just not possible and no way around it. Sorry. I mean unless you have an off site server to host php scripts you can strip the site using a cURL, cronJobs and some other PHP stuff. I'm not an expert of PHP but i know this here is not possible without
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Re: Hide a forum from Index Page?
Did you change everything? Um cuz this was your latest topics in HTML page? If so it makes my answers look redundant and you shouldn't do that you should just have made a new thread! Its possible with scripts but I don't have tine fir it so.
Re: Hide a forum from Index Page?
nextlevelgaming wrote:Did you change everything? Um cuz this was your latest topics in HTML page? If so it makes my answers look redundant and you shouldn't do that you should just have made a new thread! Its possible with scripts but I don't have tine fir it so.
It was I didn't want to make a new topic, you are free to just delete your posts mate? Thanks for your help btw, I just realized since that issue wasn't and can't be resolved I can ask this one here..
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Re: Hide a forum from Index Page?
Rideem3 wrote:You could hide the categories and forums with CSS. What's the forum you want to hide and what is your forums URL?
Okay so the Forum that I want hidden's URL is http://www.hogwartsacademy.org/f18-classrooms
My forum's url is: http://www.hogwartsacademy.org
(p.s. there are many sub-forums inside the general forum I want hidden from the Index page, will those be hidden as well?
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Re: Hide a forum from Index Page?
Hi,
Add this to your JavaScript codes management:
ACP ~> Modules ~> HTML & JAVASCRIPT ~> JavaScript codes management. Create a new code and add it.
Add this to your JavaScript codes management:
- Code:
$(document).ready(function(){
$('.forumline tr').has('a[href="/f18-classrooms"]').css('display','none');
});
ACP ~> Modules ~> HTML & JAVASCRIPT ~> JavaScript codes management. Create a new code and add it.
Re: Hide a forum from Index Page?
SGSS wrote:Hi,
Add this to your JavaScript codes management:You can find JavaScript codes management from:
- Code:
$(document).ready(function(){
$('.forumline tr').has('a[href="/f18-classrooms"]').css('display','none');
});
ACP ~> Modules ~> HTML & JAVASCRIPT ~> JavaScript codes management. Create a new code and add it.
This worked but there is one problem, it for some reason shows that redirect
Hogwarts Academy :: Hogwarts Academy :: Classrooms :: Defense Against The Dark Arts
So all someone needs to do is click back to Classrooms to see the hidden forum..
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Re: Hide a forum from Index Page?
Sure mate, give me a second.
Edit:
As you can see, the part in the red is what I am speaking of.
"Classrooms" is the one I made hidden, and the "Defense against the dark arts" is the sub-forum, and there's about 14 other sub-forums. What I am saying is all someone has to do is click on the classrooms to view it.
Edit:
As you can see, the part in the red is what I am speaking of.
"Classrooms" is the one I made hidden, and the "Defense against the dark arts" is the sub-forum, and there's about 14 other sub-forums. What I am saying is all someone has to do is click on the classrooms to view it.
HogwartsAcademy- Forumember
- Posts : 474
Reputation : 1
Language : English
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum