MyBB Community Forums

Full Version: [Tip&Trick] Show the Topic Lists on no permissions forums.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hey that's a great tutorial.I learn a lot from that.
Really that is so informative.Please keep sharing in future..
I have done it all
but not working !
Does this stop Search engine bots, GoogleBot.etc. and crawlers from crawling and seeing the content inside a thread?

Won't they get the No Permission page?

How will they crawl the thread?
(2009-12-24, 12:12 PM)jak123 Wrote: [ -> ]Does this stop Search engine bots, GoogleBot.etc. and crawlers from crawling and seeing the content inside a thread?

Won't they get the No Permission page?

How will they crawl the thread?

I think so as this will stop only those groups that don''t have permissions to enter the forums/threads that you will set as a no go area. What this basically does, it expands the no permission page to the thread listing instead of the forums.
So if i wanted to allow search engine bots to crawl my site (which i obviously do), would i need to change the permissions for BOTS?
This isn't working for me either. Did something change in an update of MyBB which causes this not to work?
Thanks a lot babjusi
This is exactelly what I was looking for

(2009-12-05, 07:08 PM)Azizone05 Wrote: [ -> ]I have done it all
but not working !
There are 3 steps:
1-
forumdisplay.php file:


if($fpermissions['canview'] != 1)
{
    error_no_permission();
}

And change it to:


if($fpermissions['canview'] != 1 && $thread['tid'])
{
    error_no_permission();
}

2-
Go to ACP --> Settings ---> Forum Home Options ---> Hide Private Forums? NON


3-
Choose a forum ----> edit permissions
Choose a group
Set permissions as follow
Can view forum NON
Can view threads within forums YES

That's all Smile
Works great, I'm using it also at my site for certain forum boards
A quick question about this hack. Is there anyway to expand this so the first post only is still displayed?

That way, search engines can still index each thread (from the first post), while guests would be shown a teaser, but not able to see further replies and be shown a No Permission message.
Still working...nice works babjusi !!!
trick on tip I am work my sites fine I learn it
Pages: 1 2 3