• Welcome to Simple Machines Community Forum. Please login or sign up.
September 19, 2021, 03:07:17 PM

News:

Wondering if this will always be free?  See why free is better.


Allowing guests to see all Boards but not entering

Started by trenchteam, September 05, 2004, 11:19:01 PM

Previous topic - Next topic

teamvtec

Quote from: [Unknown] on September 05, 2004, 11:37:51 PM
Sources/BoardIndex.php, find:

WHERE $user_info[query_see_board]

Replace with:

WHERE ($user_info[query_see_board]" . ($user_info['is_guest'] ? " OR FIND_IN_SET('0', b.memberGroups)" : '') . ")

--> Tips and Tricks.

-[Unknown]

I want a certain member group to have the same access as guests for some boards, so that they can see the board but do not have access, can i change the:
" OR FIND_IN_SET('0', b.memberGroups)" to " OR FIND_IN_SET('4', b.memberGroups)" ??
Or does it work that way?



dmw3913

Looking for the mod that ables guests to view a topic but not able to read the posts inside it.
I have SMF Version 1.0.9 (just updated) and I am not sure which if any of the mods in this post work with this version.  Does anyone have it working for this version?? Much Appreciated.

digikleuter

whow... this is a difficult board to read. I searched a bit but didn't exactly found what I was looking for.

I want: not registert guests to see the forum, boards AND topics, but they must not be able to enter the topics. Is this possible with permissions or do I need to mod something? I have no skills in code, so i'll need some help...

Thanks,
Mario

Vinspire

Will this prevent spiders from checking out my forum too ?

mrandall131

I would have to say yes, I haven't seen a spider in the boards that I have applied this mod to.

mrandall131

BTW, just installed this with 1.1RC3 with no problems!

rockgeek


  • I want to allow everyone to view everything
  • However I only want guests to be allowed to post in ONE certain board
  • If there could be a message that asked the guest to register also, that would be top

Please can someone help me out - I believe this would be the final piece to my jigsaw of integrating SMF with Wordpress!

Alice

For anyone that wants to make boards visible to guests, but when a guest clicks to view the board they are told they don't have permission (must be registered) use this code given by [Unknown].  Worked with my 1.0.8.

Quote from: [Unknown] on January 15, 2005, 04:00:02 AM
Sources/BoardIndex.php, find:

WHERE $user_info[query_see_board]

Replace with:

WHERE ($user_info[query_see_board]" . ($user_info['is_guest'] ? " OR b.ID_BOARD IN (##, ##, ##)" : '') . ")

Where ##, ##, ## is a list of board IDs.

How do I modify files?

-[Unknown]

twostars

December 15, 2006, 02:49:19 PM #188 Last Edit: December 15, 2006, 02:54:14 PM by twostars
Wow, I read through every post in this topic.  :D

I'd like to be able to give a post group this permission, instead of guests.

So for example:
User A can see board A. He tries to access it, but he can't.
User earns 10 posts. He can now not only see it, but he can access it.

Any help guys?

PS: It'd be great if Post groups had the same permission options as normal groups. It really sucks because of the lack of that feature.

L.G.S

Mod: Read topic Permissions

That will do what you are looking for ;)
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


twostars

You sure? I've already got this on there, but I cannot use it to set Post group permissions. If there's a way of setting local post group permissions that'd be great. :)

L.G.S

Quote from: twostars on December 15, 2006, 02:49:19 PM
So for example:
User A can see board A. He tries to access it, but he can't.
User earns 10 posts. He can now not only see it, but he can access it.

Any help guys?

PS: It'd be great if Post groups had the same permission options as normal groups. It really sucks because of the lack of that feature.

User A can see board A but not enter. That will happen with a membergroup you choose if you use the read topic permissions mod.

User earns 10 posts and can now see. With the Read topic permission mod disabled, a standard post group will work for this.

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


twostars

December 15, 2006, 03:09:07 PM #192 Last Edit: December 15, 2006, 03:13:52 PM by twostars
lol but how?  ;D

I appreciate your time btw ;)

edit: I mean, how do I disable the mod for a post count group?

L.G.S

Admin > Permissions > Post Group A > Allow read topic? Off. (or something close to looking like that)

Same thing, but: Post Group B > Allow read topic? On.

Obviously it won't be "Allow read topic", it's been a while since I saw it.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


twostars

Quote from: L.G.S on December 15, 2006, 03:20:51 PM
Admin > Permissions > Post Group A > Allow read topic? Off. (or something close to looking like that)

Same thing, but: Post Group B > Allow read topic? On.

Obviously it won't be "Allow read topic", it's been a while since I saw it.
Nope, see, this is my problem.
Post groups aren't included in the permissions.  :(

L.G.S

You can modify permissions for post groups per-board.

So Board A you don't want Group A to see posts, you'd modify their permissions and untick Allow view topics.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


twostars

Quote from: L.G.S on December 15, 2006, 03:24:14 PM
You can modify permissions for post groups per-board.

So Board A you don't want Group A to see posts, you'd modify their permissions and untick Allow view topics.
I'm using 1.1RC3 and I don't see any of the post groups there.  :o

L.G.S

Admin > Permissions > Settings > Enable permissions for post count based groups TICK

Admin > Permissions > Settings > Enable advanced by-board permissions TICK
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


twostars

Quote from: L.G.S on December 15, 2006, 04:06:23 PM
Admin > Permissions > Settings > Enable permissions for post count based groups TICK

Admin > Permissions > Settings > Enable advanced by-board permissions TICK

Thanks. Had the second one ticked already, but not the first.

THANKS AGAIN!!  8)

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Advertisement: