Current time: 10-11-2024, 10:14 AM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[44.222.134.250], connected from San Diego, California United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tip&Trick] Show the Topic Lists on no permissions forums.
11-29-2009, 05:44 PM
Post: #1
[Tip&Trick] Show the Topic Lists on no permissions forums.
This small edit will allwow you to show the topic lists inside all your forums that you have denied access to different usergroups to enter them.

i.e. say, you have a forum/forums that you want to deny access to guests for ex, but you want them to see it/them, you would simply disallow them access at the permissions and then at the Configuration-Forum Home Options, you would set the Hide Private Forums? to No. So anytime a guest that clicks at that forum will get the no permission error.

But personally I would like to take it a step further. I want them to be able to see all the topics inside that forum, so they know what they are missing on. To do that find the following code at forumdisplay.php file:

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

And change it to:

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

Now all the usergroups that don''t have permissions at certain forums, will be able to see all the topics inside that particular forum, but not the posts themselves.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-16-2009, 06:53 AM
Post: #2
RE: [Tip&Trick] Show the Topic Lists on no permissions forums.
ya.. nice.. i am using Dis...
Visit this user's website Find all posts by this user
Quote this message in a reply
01-11-2010, 01:34 AM (This post was last modified: 01-11-2010 01:36 AM by sinhvienk32.)
Post: #3
RE: [Tip&Trick] Show the Topic Lists on no permissions forums.
Very Nice..I had been asking for something like this on two other forums.. Thank you Babjusi ! It has aided with sign upsWink
Visit this user's website Find all posts by this user
Quote this message in a reply
01-11-2010, 11:11 AM
Post: #4
RE: [Tip&Trick] Show the Topic Lists on no permissions forums.
You are most welcome Smile

babjusi's signature
Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Tip&Trick]Hide Board Statisctic from guests! babjusi 14 5,183 05-23-2011 09:00 PM
Last Post: Gpizzle
  [Tip&Trick]Spice up your Admin on postbits and the online list babjusi 5 2,734 05-23-2011 08:59 PM
Last Post: Gpizzle
  [Tip&Trick] Receive a pop up notification when receiving new pm''s babjusi 3 2,059 12-16-2009 10:30 AM
Last Post: skiilz
  [Tip&Trick] Default Groups Avatar babjusi 2 1,877 12-12-2009 10:12 AM
Last Post: skiilz
  [Tip&trick]Hide the members in the online list from guests babjusi 1 1,519 11-29-2009 05:38 PM
Last Post: babjusi

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com