Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Private Forums.....
KiLLMasTer Offline
Junior Member
**
Posts: 4
Joined: May 2008
Post: #1
Private Forums.....
Hey guys I need to know if it can be done to make it look like Vb does its Private forums look at pic.... If it can be done plaz help me out I need it...

Or this there away I can show the Private forums but not the post that are in there


Attached File(s) Thumbnail(s)
   
05-21-2008 09:24 PM
Find all posts by this user
KiLLMasTer Offline
Junior Member
**
Posts: 4
Joined: May 2008
Post: #2
RE: Private Forums.....
No info ?
05-25-2008 09:34 PM
Find all posts by this user
incadude Offline
Member
***
Posts: 52
Joined: Jan 2008
Post: #3
RE: Private Forums.....
im not sure what you mean. But you can change who you want to view your board in the admin control panel.
(This post was last modified: 05-27-2008 07:03 AM by incadude.)
05-27-2008 07:02 AM
Find all posts by this user
nathangrubb Offline
Junior Member
**
Posts: 4
Joined: May 2008
Post: #4
RE: Private Forums.....
He means to make forums that you can't read display "private" in the newest post column. No idea how you might do this though.
05-28-2008 05:07 AM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: Private Forums.....
I believe this can already be done.
AdminCP -> Settings -> Forum Home Options -> Hide Private Forums -> Set to No.

It will display the last poster of the forum though.  If you don't want this, open up inc/functions_forumlist.php, find:

PHP Code:
if($forum['password'] != '' && $_COOKIE['forumpass'][$forum['fid']] != md5($mybb->user['uid'].$forum['password']))

Replace with:

PHP Code:
if(($forum['password'] != '' && $_COOKIE['forumpass'][$forum['fid']] != md5($mybb->user['uid'].$forum['password'])) || $permissions['canview'] != "yes")


My Blog
05-28-2008 12:46 PM
Find all posts by this user
KiLLMasTer Offline
Junior Member
**
Posts: 4
Joined: May 2008
Post: #6
RE: Private Forums.....
thanks man. Thats what i was looking for.... Is there away you can make the Last Post column say Private. If not thats ok.
(This post was last modified: 05-28-2008 11:33 PM by KiLLMasTer.)
05-28-2008 11:25 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: Private Forums.....
For that, in inc/functions_forumlist.php, find:

PHP Code:
$lastpost = "<div style=\"text-align: center;\">-</div>";

Replace with

PHP Code:
$lastpost = "<div style=\"text-align: center;\">Private</div>";


My Blog
05-29-2008 11:04 AM
Find all posts by this user
KiLLMasTer Offline
Junior Member
**
Posts: 4
Joined: May 2008
Post: #8
RE: Private Forums.....
ZiNgA BuRgA your the best......
05-29-2008 11:58 PM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: