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.

Hide a forum from Index Page?

3 posters

Go down

Hide a forum from Index Page? Empty Hide a forum from Index Page?

Post by HogwartsAcademy 3rd January 2013, 00:32

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
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by nextlevelgaming 3rd January 2013, 00:47

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.
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by HogwartsAcademy 3rd January 2013, 00:53

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.
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by nextlevelgaming 3rd January 2013, 01:12

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 Smile
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by HogwartsAcademy 3rd January 2013, 08:07

bump
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by nextlevelgaming 3rd January 2013, 08:15

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.
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by HogwartsAcademy 3rd January 2013, 10:36

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..
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by HogwartsAcademy 3rd January 2013, 23:53

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?
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by HogwartsAcademy 4th January 2013, 17:53

bump
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by Cassius Dio 4th January 2013, 23:08

Hi,

Add this to your JavaScript codes management:
Code:
$(document).ready(function(){
$('.forumline tr').has('a[href="/f18-classrooms"]').css('display','none');
});
You can find JavaScript codes management from:
ACP ~> Modules ~> HTML & JAVASCRIPT ~> JavaScript codes management. Create a new code and add it.
Cassius Dio
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by HogwartsAcademy 5th January 2013, 01:18

SGSS wrote:Hi,

Add this to your JavaScript codes management:
Code:
$(document).ready(function(){
$('.forumline tr').has('a[href="/f18-classrooms"]').css('display','none');
});
You can find JavaScript codes management from:
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..
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Hide a forum from Index Page? Empty Re: Hide a forum from Index Page?

Post by HogwartsAcademy 5th January 2013, 01:37

Sure mate, give me a second.

Edit:
Hide a forum from Index Page? Untitl11

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.
avatar
HogwartsAcademy
Forumember

Posts : 474
Reputation : 1
Language : English

Back to top Go down

Back to top


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