| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 7823|Reply: 5
Collapse the left

How to hide all forum content from visitors?

[Copy link]
Post time: 2013-08-28 01:21
| Show all posts |Read mode
Hello Friends
How to hide all forum content from visitors? (they can see main page of forum but when click to see threds content , shown a pop up massege that war them to register).


Related collections:

  • · Tricks|Threads: 23, Subscribe: 3
Post time: 2013-08-28 05:10
| Show all posts
本帖最后由 vincent 于 2013-8-28 06:20 编辑

1) Go to adminCP - Forum -Forums



2) Click "Edit" on the interested Forum



3) Click "Permission related"



4) Set different user permissions



5) Additionally you can set a password to access this forum



[edited by vot]

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

Rate

Number of participants 1Rating +1 Collapse Reason
khalid + 1 Powerfull!

View Rating Log

 Author| Post time: 2013-08-28 09:26
| Show all posts
Edited by mj1919 at 2013-8-28 10:29
vincent 2013-8-28 06:10
本帖最后由 vincent 于 2013-8-28 06:20 编辑

1) Go to adminCP - Forum -Forums

Thank you,
but there is not any global setting to set this option for all forums in one step??????

Comments

If you want to all section, you can try to modify some code  Post time 2013-08-28 10:22
There is no such Settings  Post time 2013-08-28 10:21
Post time: 2013-08-28 10:24
| Show all posts
Can modify the code to achieve such effect.
Detect whether the user is logged in,
if not logged in then jump to the login page:
  1. if(empty($_G['uid'])){
  2. echo "<script>window.location.href='./member.php?mod=logging&action=login';</script>";
  3. }
Copy the Code


[edited by vot]

Comments

Thank you, i think A-cp is better!!! :)))))))))  Post time 2013-08-28 11:26
 Author| Post time: 2013-08-30 23:51
| Show all posts

 India

Post time: 2014-05-22 15:12
| Show all posts
Here is one more thing you can do,

Open Admin CP >> Users >> User Groups >> System Group Members >> Visitor >> EDIT >> Under "Allow Access to the Site" -- Select -- Forbidden

Try this
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 04:10 GMT+3 , Processed in 0.058663 sec., 11 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list