Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Arantor on December 15, 2009, 08:08:21 PM

Title: View/Enter Board Permissions
Post by: Arantor on December 15, 2009, 08:08:21 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2309)

This mod allows you to convert ability to see a board and ability to enter a board into a true permission - meaning you can deny access to boards.

You are strongly advised to make this change whilst the forum is in maintenance mode. By default, no boards are visible or enterable except to admin!

View board allows the board to be seen on the board index, enter board allows viewing of topics therein. This way you can set up boards that require a higher post count to actually enter, but visible on the board index to see the description.

IMPORTANT: There are currently no plans to build any kind of importer/exporter for this. Meaning that you will have to transfer access manually. However, for many cases this will be pretty painless, since in many cases you will be using the Default board template, for which it's a case of adding view/enter (both) permissions to the main usergroups.

This is NOT transferrable to 1.1 (well, it could be rewritten, but I'm not going to do it), and a converter is not being built due to the impracticalities of trying to do it on a generic basis.


To apply this permission to specific boards, you can create a new permissions profile (Admin > Permissions > Edit Profile > the bit at the bottom), assign that profile to the boards you want

1.1 - 29 December 2009
Added Spanish support courtesy of 130860.

1.0 - 6 December 2009
First public release.
Title: Re: View/Enter Board Permissions
Post by: chaitu_cheat on December 16, 2009, 05:21:52 AM
This is what I have been talking about few months back...thanks for the Mod dude.
Title: Re: View/Enter Board Permissions
Post by: punktravis182 on December 16, 2009, 05:33:10 AM
i've been waiting for this mod for rc2!! thanks a lot! :D
Title: Re: View/Enter Board Permissions
Post by: chaitu_cheat on December 16, 2009, 08:06:14 AM
Could you please explain how to set a number of post requirement to enter the board.
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 16, 2009, 08:19:05 AM
Same way you'd grant any other permission to a post count group, create a profile for that board, and grant that permission to post counts.
Title: Re: View/Enter Board Permissions
Post by: 7s-1k on December 16, 2009, 08:51:33 AM
Nice mod! I wonder where i could set those permissions..

Not at the 'board / board edit in the acp.
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 16, 2009, 09:00:12 AM
It's a permission - in the regular permissions area.
Title: Re: View/Enter Board Permissions
Post by: Hoodie on December 17, 2009, 12:00:11 AM
Nice..  I was just looking for a mod like this..
Title: Re: View/Enter Board Permissions
Post by: scenerip2k on December 17, 2009, 11:35:47 PM
good mod but very buggy. When you install this mod you wont be able to edit certain groups who are allowed to access the board through the admin panel -->boards. The author needs to fix that bug.
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 18, 2009, 02:23:41 AM
Quote from: scenerip2k on December 17, 2009, 11:35:47 PM
good mod but very buggy. When you install this mod you wont be able to edit certain groups who are allowed to access the board through the admin panel -->boards. The author needs to fix that bug.

You know, maybe that's entirely intentional? It adds *permissions* through the permissions area. Permissions are not controlled through the manage boards area, which is why I removed it.
Title: Re: View/Enter Board Permissions
Post by: chaitu_cheat on December 20, 2009, 05:27:35 AM
Dude..I would request you to post few steps on how actually one can enable to allow members with certain post count. I smacked my head but still couldn't find the solution. Please don't mind :).
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 20, 2009, 05:29:47 AM
Same way you grant any board-specific permission to a post count group.

You create a profile for those boards, and modify the permissions for the post count groups and the main groups from there.
Title: Re: View/Enter Board Permissions
Post by: scenerip2k on December 22, 2009, 07:44:13 AM
i tried creating a new profile and only allowing certain groups to enter the board it wont even do that. It keeps saying access denied or something like that for the groups i assigned access to.
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 22, 2009, 07:46:19 AM
Did you set that profile to the relevant board?
Title: Re: View/Enter Board Permissions
Post by: Calcricho on December 23, 2009, 01:18:26 AM
A humble suggestion

The mod is very good and perfect. and, if necessary.

but I think instead of being designed to assign permissions in the categories of members should be on the board.

Easy on the board there is a line selection that category are the board members. serious issue of creating another line of who gets to read with these two columns of the mod will be perfect choice.

=========================================

Una humilde sugerencia

El mod esta muy bueno y perfecto.  y si hace falta.

pero creo que en vez de estar diseñado para asignar permisos en las categorías de miembros debería ser en los board.

Fácil en los board hay una linea de selección de que categoria de miembros ven los board . seria cuestión  de crear otra linea de quien entra a leer y con esas dos columnas de selección el mod estará perfecto.



Asi quedaria
board selection permissions
1- check only view  board index   2- check see post
(http://i49.tinypic.com/2jfn1fn.jpg)



Title: Re: View/Enter Board Permissions
Post by: Arantor on December 23, 2009, 02:08:50 AM
Quote from: Calcricho on December 23, 2009, 01:18:26 AM
Easy on the board there is a line selection that category are the board members. serious issue of creating another line of who gets to read with these two columns of the mod will be perfect choice.

No it wouldn't be the perfect choice, because you'd have to add four columns, not two.

The whole point of this mod being true permissions was so that you could actually ban users from individual boards with deny permissions, something not possible otherwise since without this mod you cannot actually stop someone entering a board if the rest of their groups allow them to enter.

Splitting view and enter is actually a side bonus.
Title: Re: View/Enter Board Permissions
Post by: Calcricho on December 23, 2009, 02:28:46 AM
Sorry but the translator does not help me express myself.

As I understand it can assign permissions to a category that you can see the board and could deny a specific user?

if not mastered so well the mod

Thanks great mod and very useful

========================================

Perdona pero el traductor no me ayuda a expresarme.

Según entiendo puedo asignar permiso a una categoría a que pueda ver el board y pudiera denegar a un user en específico ?

si es así pues no domino bien el mod

Gracias excelente mod y de gran utilidad
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 23, 2009, 02:30:42 AM
QuoteAs I understand it can assign permissions to a category that you can see the board and could deny a specific user?

You cannot ban an individual user from a board without a mod. This mod will let you ban entire groups, meaning you can set it up to ban people from boards.
Title: Re: View/Enter Board Permissions
Post by: Calcricho on December 23, 2009, 02:41:37 AM
I hope the translator or interpreter pocible best jeje

I used a similar mod that gave only passing wings categories of members who see the board in the index and those who enter and can read, and only wanted a private board that nobody read, but if everybody could see in the index, believing na class that if he could read only the user that I wanted to read were already added in your profile that category and have already read the board but only the ones I wanted they could read no matter the category

It pocible this with this mod?

once again forgive the poor translation that must be annoying
===========================================


bien espero el traductor lo interprete lo mejor pocible jeje

Yo usaba un mod similar que solo le daba paso alas categorías de miembros de quienes ven el board en el index y quienes entran y pueden leer,  como solo querían un board privado que nadie leyera pero si todos lo pudieran ver en el index,  pues cree na categoría que si pudiera leer y solo a los user que yo queria que leyeran les adicionaba esa categoría en su profile y ya tendrían lectura de el board pero solo los que yo queria que pudieran leer sin importar la categoría

Es pocible esto con este mod ?

una vez mas perdona la pobre traduccion que se debe de ser molesta
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 23, 2009, 02:59:04 AM
It is possible with this mod. Just it does a lot more.

http://custom.simplemachines.org/mods/index.php?mod=610 for example lets you control a group being able to see and enter the board - but that's all it does. It doesn't allow you to stop people entering boards if one or more of the groups they have access to would allow them in.

Mine allows you to set up whether a group can view and enter the board, and additionally (what it was made for) stopping people entering boards.
Title: Re: View/Enter Board Permissions
Post by: Calcricho on December 23, 2009, 03:05:57 AM
Quote from: The Grinch on December 23, 2009, 02:59:04 AM
It is possible with this mod. Just it does a lot more.

http://custom.simplemachines.org/mods/index.php?mod=610 for example lets you control a group being able to see and enter the board - but that's all it does. It doesn't allow you to stop people entering boards if one or more of the groups they have access to would allow them in.

Mine allows you to set up whether a group can view and enter the board, and additionally (what it was made for) stopping people entering boards.


that is not compatible with 2.rc2

Thanks Calcricho   :-[   ;)

Title: Re: View/Enter Board Permissions
Post by: Arantor on December 23, 2009, 03:13:10 AM
You *can* do it with this mod, just it takes a little more work is all.
Title: Re: View/Enter Board Permissions
Post by: blokey on December 23, 2009, 12:57:02 PM
I would like to thank you gringe for without this mod I found it very hard to manipulate the board to restrict and or allow member group access across my forum
With this mod my life has become significantly easier.
So well done perfect mod!

In fact its that good I have sent you a superhero gif.
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 23, 2009, 04:02:39 PM
Thanks :)

It's easy to allow users access -- not so easy to prevent them accessing it.
Title: Re: View/Enter Board Permissions
Post by: mirahalo on December 24, 2009, 05:11:57 PM
really helpful mod Arantor,  many thanks ;)


heres spanish translation  ;)
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 24, 2009, 05:17:44 PM
Thanks 130860 :)

I really need to swoop through my mods and get all the translations fixed up sometime soon. To be honest it'll probably happen when I fix everything up for RC3 when that's released.
Title: Re: View/Enter Board Permissions
Post by: mirahalo on December 24, 2009, 05:25:04 PM
oh, don't worry about it ;)   I also post the translations in a topic in Spanish boards made just for that,  so  thats pretty much covered :)   although some users don't have  much knowledge about open an editing files  thats why I post the translations in the mod's support topic hopping the mod author include it on the package so the users don't have to edit files, just  install and ejoy   ;)


Title: Re: View/Enter Board Permissions
Post by: Arantor on December 24, 2009, 05:37:24 PM
Thanks - I will :)

That's the only curse of having a lot of mods, is trying to keep up with translations at times.
Title: Re: View/Enter Board Permissions
Post by: mirahalo on December 24, 2009, 05:43:39 PM
lol, and here I was sending you translation after translation :P  but thats because you're always making new mods!

if you keep making mods, then I will keep sending you translations for those!   :P
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 24, 2009, 05:45:47 PM
Hehe, well, I'm always working on *something* or other...

But as RC3 approaches (as it inevitably must) I'll be sweeping up all the changes, all the bug fixes etc etc into the RC3 package (is what I did for mods for RC2, after all)
Title: Re: View/Enter Board Permissions
Post by: mirahalo on December 24, 2009, 06:08:15 PM
ok, looking forward for it,  if there's  something I could do to help just let me know  ;)
Title: Re: View/Enter Board Permissions
Post by: scenerip2k on December 27, 2009, 03:43:53 AM
damn can someone please help us on how to get this mod to work properly. Step by step instructions on how not to allow a particular group accessing the board.

Thanks
Title: Re: View/Enter Board Permissions
Post by: Arantor on December 27, 2009, 08:29:38 AM
When I wrote this, I really didn't intend to get into discussions on how to set it up; you set it up like any other board specific permission in SMF 2.0.

But it depends on, precisely, what you're trying to do. Tell me exactly what you're trying to do and I'll tell you how to do it.
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 07:47:33 PM
OK, I used this mod after being directed there from this help request: http://www.simplemachines.org/community/index.php?topic=357732.0

I applied the "disallow" for the Ambassador UserGroup across the general profile.
I set up a test user in no groups and they could see all boards and posts.
I added them the the Ambassador user group abnd they could see none. So far so good.

I then (after experimentation removed and) created a new board called Embassy with the permissions group of Ambassadorial. I ensured that all non guest groups had Allow on "View board on board listing" and "Enter the board and see the threads in it"

The new board is there for all users in the home page listing. Admin can see inside it. My test user can see inside when in the Ambassador group but not when in no groups, even though general member is set to allow viewing.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 07:49:20 PM
Disallow doesn't stop users going in. All it means is that that group doesn't add the permission (doesn't add isn't the same as prevent).

One or more of the other groups is still allowing access. To correct, Admin > Permissions > Settings > Enable deny permissions, and set to deny (which will force it to be disabled)
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 08:17:57 PM
OK, so why do regular users get "The topic or board you are looking for appears to be either missing or off limits to you." when they are set to allow in the profile permissions for that board?

It's the only board with that profile group and all usergroups have the Allow for view in listing, view topics and post new topics.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 08:18:51 PM
If it's set to deny, it DENIES it, even if other groups would allow it.
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 08:45:29 PM
Using the test user who is in no membergroups to test.

They can see all boards on the default profile.

I removed the Embassy board and Ambassadorial persmission profile.
I re-created the Ambassadorial permissions profile, copying Default. I created a new board Embassy set to this new profile.
The test user not in any group got the same error that the board did not exist or was off limits.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 08:55:25 PM
The test user will be in at least two membergroups - can't be avoided.

Check what permissions they have from their profile.
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 09:01:34 PM
All permissions stated show "Given by regular member"
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 09:09:23 PM
I think part of the problem is that I don't fully understand the specifics of what you're trying to do.
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 09:19:49 PM
Well. I kinda do, and regardless of the complexities of what I want to do this issue is very straightforward.

I create a new permissions profile and select Copy from Default.
I create a new board and assign it that profile.

A user with no group membership that can see all the existing (pre install of mod) boards on the default permissions profile can see the new one in the listing but when entering the new one gets:
"An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you. "
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 09:20:30 PM
Step back. I don't understand what the end result is, which is why we're both having problems.
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 09:25:57 PM
OK, regardless of the desired end result.
Since installing the mod I now have this issue that if I set up a new permission profile based on Default then users without a groupget the error trying to enter any board set with the new profile though they show up on the listing, despite the fact that both Show on Listing and Show Topics inside are ticked.

Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 09:33:08 PM
Regular Members does not appear on that page for modification.

I am sure I got a list of user groups on board modify page but cannot find it since the mod.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 09:37:13 PM
Quote from: Bodestone on January 03, 2010, 09:33:08 PM
I am sure I got a list of user groups on board modify page but cannot find it since the mod.

That's because the mod removes it, because it doesn't work or make sense when it's a true permission.

So, back up. What is the desired end result?
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 09:41:42 PM
Ahh, thankyou. I now have to explicitly add the board to all post count groups I assume.

These I had ignored because all members were regular members and I made no special discrimination or bonus for posts. This mod has deep implications. I saw some of them but missed the whole post count thing since I has discounted them as calculated additions type thing.

Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 09:49:48 PM
Can be a steep learning curve but seconded. Great mod and with good support for the curve.

Hopefully my trials and tribulations will add to the search keywords for help.

You've been great guys and much appreciated.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 10:02:41 PM
Well, part of the problem is mine for not documenting it very well, but I've never been sure how to explain it, unfortunately.
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 10:12:38 PM
Hopefully, by asking correctly and receiving concise answers this will become the documentation. I'm ******e at it myelf but from this maybe you can form an FAQ.

I think One big one there is transference from Regular Member visibility to the specific Post Count groups when assigning board visibilities.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 03, 2010, 10:14:16 PM
I think you might be on to something there.

Permissions as a whole is something of a nightmare at times to get your head round, though. I'm a coder not a doc writer :(
Title: Re: View/Enter Board Permissions
Post by: Bodestone on January 03, 2010, 10:33:32 PM
Know that one. Mainly a DBA, SQL programmer. Have been software tester too and believe me I spent a long time wandering round, trying to work out why the basic things failed, in my eyes.

All you need to do though is to create a topic here, or on your forum and link to it both from here and the mod description download. When a certain common question ciops up a lot add it and answers.

E.G.

Q: After installing the mod users not in groups cannot see groups on different permission profiles

A: This mod allows extremely specific permissions settings and so you need to be specific about what you set. Rather than Regular Users when adding which groups a board is visible to you need to add the board to all of the relevant Post Specific groups such as Newbie, Jr, Full to the permissions to the required groups. Regular Member no longer is a total catchall for anyting but the Default Group.
Title: Re: View/Enter Board Permissions
Post by: ~DS~ on January 05, 2010, 11:26:19 AM
Quote from: Arantor on December 23, 2009, 02:59:04 AM
It is possible with this mod. Just it does a lot more.

http://custom.simplemachines.org/mods/index.php?mod=610 for example lets you control a group being able to see and enter the board - but that's all it does. It doesn't allow you to stop people entering boards if one or more of the groups they have access to would allow them in.

Mine allows you to set up whether a group can view and enter the board, and additionally (what it was made for) stopping people entering boards.
Since I have posted in other thread...a mod made by Rudolf but it doesn't give me what I want. I hope this mod is possible and weather it's a request or not, I have attached the image. This shows you the board form the guest and regular members views but they will still not able to enter. It would be great if this mod can make the topics and posts invisible and the "last post" to "private". 
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 05, 2010, 11:29:15 AM
I'm not really planning on adding it to this mod, sorry.
Title: Re: View/Enter Board Permissions
Post by: ~DS~ on January 05, 2010, 12:02:06 PM
Quote from: Arantor on January 05, 2010, 11:29:15 AM
I'm not really planning on adding it to this mod, sorry.
:'(


Title: Re: View/Enter Board Permissions
Post by: scenerip2k on January 06, 2010, 12:29:36 PM
Quote from: Arantor on January 05, 2010, 11:29:15 AM
I'm not really planning on adding it to this mod, sorry.

I wish you did........
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 06, 2010, 12:38:25 PM
Considering that I'm in the middle of a much, much larger mod right now, even if I were to add this, I probably wouldn't get to it for months (literally)

In any case, the main reason I don't want to add it is because it would require changes on most custom themes.
Title: Re: View/Enter Board Permissions
Post by: ~DS~ on January 06, 2010, 12:44:56 PM
Quote from: Arantor on January 06, 2010, 12:38:25 PM
Considering that I'm in the middle of a much, much larger mod right now, even if I were to add this, I probably wouldn't get to it for months (literally)

In any case, the main reason I don't want to add it is because it would require changes on most custom themes.
Well everyone (mostly) are using the default curve theme, if they were to have this feature they would have to install it manually, that way you can separate the installation instruction. Better off for a default theme.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 06, 2010, 12:54:14 PM
Not really, it would only be guaranteed to work on an unmodified board index - anything even remotely touching it would have to be a manual installation which to be honest I don't really have the time for.
Title: Re: View/Enter Board Permissions
Post by: ŦώεαЖзяŁ on January 06, 2010, 06:21:05 PM
I'm not sure what happened, but now, guests cannot see any posts anywhere in the forum :(

I mean, the permission to allow them to view boards works, but the permission to allow them to enter doesn't, that is, i can get them to view them, but i cannot get them to be able to enter.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 06, 2010, 06:49:48 PM
Without seeing how you've configured permissions I can't help, I'm afraid.
Title: Re: View/Enter Board Permissions
Post by: ŦώεαЖзяŁ on January 06, 2010, 07:03:47 PM
Guests have premission to see and enter the board, yet they can only see the board, not enter...
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 06, 2010, 07:08:40 PM
So what permission profile are you using on that board?
Title: Re: View/Enter Board Permissions
Post by: ŦώεαЖзяŁ on January 06, 2010, 07:20:34 PM
I tried to use both the default and a custom one, and setting the guest permission for both to be able to see AND enter the board, and yet, no matter what combination of permissions I tried for guests, the guests can only at most see the board but never enter it...

Anyways, it doesn't really matter anymore, my original goal was go create this 1 board that did not show in the board list for anyone, but yet could be entered by everyone, I use a portal system and one of my blocks has a navigation tab for the threads inside this specific board, so hiding it from the board list would decrease unnecessary clutter. But when i tried to do that for the other groups, it didn't work either, if they can't view the board in the list, they can't enter it either even if they have permission to enter it... So solving my guest problem is mute since the enter permission is dependent on the view permission, which makes my original goal unachievable...

Sorry for the trouble :(
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 06, 2010, 07:25:50 PM
QuoteSo solving my guest problem is mute since the enter permission is dependent on the view permission, which makes my original goal unachievable...

No it isn't, not with this mod. They are totally and completely separate for just that reason.
Title: Re: View/Enter Board Permissions
Post by: smith_13 on January 08, 2010, 01:34:05 PM
Hey Arantor, please review this error in this mod:
http://www.simplemachines.org/community/index.php?topic=358707.msg2444495#msg2444495
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 08, 2010, 01:42:02 PM
It's not a bug.

You haven't set permissions for those users to enter the boards.
Title: Re: View/Enter Board Permissions
Post by: smith_13 on January 08, 2010, 01:46:16 PM
Of course I did, it was a OK before changing the board description, but after that BAM, no access. If you still think it was my fault, I'll install it and check again.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 08, 2010, 01:49:52 PM
So you went into permissions and actually ticked the permission for users from the permissions tabs?
Title: Re: View/Enter Board Permissions
Post by: smith_13 on January 08, 2010, 01:54:39 PM
It was already ticked, yes.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 08, 2010, 01:56:53 PM
For which usergroup(s)? Which profile(s) did you add it to? Which board(s) use those profiles?
Title: Re: View/Enter Board Permissions
Post by: smith_13 on January 08, 2010, 01:58:20 PM
I use only 1 (Default) profile. I added it to Regular Members.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 08, 2010, 02:02:04 PM
So you granted both view and enter to Regular Members in the Default profile?

Users with different primary groups won't be able to access anything because they're not regular members...

What exactly are you trying to achieve with this mod?
Title: Re: View/Enter Board Permissions
Post by: smith_13 on January 08, 2010, 02:09:03 PM
Guests can view the boards and categories in home page but can't access further, that's all :D I installed the mod again, now it's back to normal, so far.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 08, 2010, 02:48:20 PM
Hmm, weird. Let me know if it acts up again.
Title: Re: View/Enter Board Permissions
Post by: smith_13 on January 09, 2010, 12:09:07 AM
Hope I'm using the right tool for the job. I'll let you know if it strikes again, thanks!
Title: Re: View/Enter Board Permissions
Post by: Amendoim on January 09, 2010, 01:28:55 PM
The MOD is very good, but lacks something in it, when selected for the member not enter the picture in question, just fleece, something private for example .. the error that appears is this:

"An error occurred! The topic or board you are looking for does not seem to exist."

This misconfigured because it says does not exist, you can do to configure the message that appears? but the message is the own MOD, anything that has to change the default SMF ..

Thanks :)
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 09, 2010, 01:30:45 PM
If you want to change the message, Admin > Configuration > Languages > Edit Language > pick your language. Then in the dropdown, select Errors. The message is in there.
Title: Re: View/Enter Board Permissions
Post by: Amendoim on January 09, 2010, 01:57:15 PM
Thanks, I get it:)
Title: Re: View/Enter Board Permissions
Post by: boy2099 on January 28, 2010, 12:40:34 PM
greetings. am new to smf.

i tried installing your view boards enter permission mod.  at the first try, its worked great, by allowing restricted users to view the boards . but at the second try, i get this error

" Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator."

i am not sure what is the problem.  Can u pls advice.

tq.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 28, 2010, 02:19:32 PM
Isn't this mod. There are *no* template changes at all. So it's something else that has been installed on index.template.php.
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on February 25, 2010, 07:13:48 PM
Excellent mod..

I been looking for something like this works a treat..

Unfortunatly I installed look but no reed,

Which looked like the only option when i was searching for something like this..

But the mods work along side eachother which is great but now i cant uninstall it the edits are to deep lol

and i have no idea what my other mods has added to some of the edits. but its cool all works a treat.

Thanks Arantor
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on March 17, 2010, 09:43:00 PM
Will this mod work with RC3..

I'm going to update to RC3 now and this is one of the mods that is important in my forums
Title: Re: View/Enter Board Permissions
Post by: Arantor on March 17, 2010, 09:49:31 PM
Not without me rewriting it.

EDIT: Note that the mod is flagged as unsupported. That's no guarantee I won't update it sometime, but that I'm certainly under no obligation, not that I really have time to do so anyhow :(
Title: Re: View/Enter Board Permissions
Post by: ~DS~ on May 02, 2010, 07:49:38 AM
This mod require a rewrite for RC3? Now that Robbo_ own this, hopeful he can update it.
Title: Re: View/Enter Board Permissions
Post by: Arantor on May 02, 2010, 05:22:21 PM
No, it needs major changes for RC3, ones I had no real intention of doing anyway.
Title: Re: View/Enter Board Permissions
Post by: Robbo_ on May 03, 2010, 03:03:55 AM
I will probably make a version for RC3 one of these days. When I get some spare time.
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on May 24, 2010, 10:27:03 PM
Dam.. I would really love this for RC3 lol.. I'm not updating untill i get all mods that are o RC2 working on RC3.. It just messes everything up.
Title: Re: View/Enter Board Permissions
Post by: jaisi on May 28, 2010, 08:27:36 AM
its not work with RC3 ...
Title: Re: View/Enter Board Permissions
Post by: forumnepali on May 31, 2010, 08:58:30 AM
i wann to instal this mod but my forum version is Powered by SMF 2.0 RC3  please help me
Title: Re: View/Enter Board Permissions
Post by: Arantor on June 06, 2010, 07:26:58 PM
Quote from: forumnepali on May 31, 2010, 08:58:30 AM
i wann to instal this mod but my forum version is Powered by SMF 2.0 RC3  please help me

You'll just have to wait until someone can be bothered to totally rewrite this mod for RC3, since I can't any more.
Title: Re: View/Enter Board Permissions
Post by: netjerk on June 16, 2010, 04:10:32 AM
This is something I am looking for unfortunately I do not understand how to set it up. Read throught the forum still having some problem to deal with it.

I would like to have all board title shown to anyone or post shown to everyone but when non Gold Member try to open the topic they will get a message saying they required to be Gold Member to view it.
Gold Member is a membergroup created inherited regular member right.

Problem faced, after installing I logged in with another user account with either Gold or non Gold member account. Nothing shown meaning I don't see any board just menu. Does the installation overwrite all existing board permission set? After this problem I dare not to make any further changes because user will complaint ite down if I trial and error too much.

Do you have any photo guiding on how to setup with this mod?
Title: Re: View/Enter Board Permissions
Post by: RaXavier69 on June 16, 2010, 01:30:20 PM
any chance of getting an rc3 version out :P ?
Title: Re: View/Enter Board Permissions
Post by: mitk0o0o0 on June 17, 2010, 09:21:24 AM
Hello, could you make this mod compatible with RC3 please?
Title: Re: View/Enter Board Permissions
Post by: Robbo_ on June 17, 2010, 09:34:48 AM
Quote from: Robbo_ on May 03, 2010, 03:03:55 AM
I will probably make a version for RC3 one of these days. When I get some spare time.
Title: Re: View/Enter Board Permissions
Post by: kartheekb on June 17, 2010, 09:30:11 PM
Develop for SMF 2.0 rc3
Title: Re: View/Enter Board Permissions
Post by: jaisi on June 18, 2010, 03:06:14 AM
waiting for R3 Version
Title: Re: View/Enter Board Permissions
Post by: Robbo_ on June 18, 2010, 11:51:58 PM
When I have time I will make it....
Title: Re: View/Enter Board Permissions
Post by: Divaksh on June 24, 2010, 07:40:46 AM
h0w much time it will take for RC3? ? ?
Title: Re: View/Enter Board Permissions
Post by: scenerip2k on June 30, 2010, 12:21:45 PM
http://www.simplemachines.org/community/index.php?topic=146964.460
Title: Re: View/Enter Board Permissions
Post by: jaisi on July 01, 2010, 06:34:18 AM
Quote from: scenerip2k on June 30, 2010, 12:21:45 PM
http://www.simplemachines.org/community/index.php?topic=146964.460

Scenerip what is this ???
Title: Re: View/Enter Board Permissions
Post by: scenerip2k on July 02, 2010, 08:09:50 AM
same idea of the mod just more friendly version where you can specify the permissions directly from the Manage boards menu.
(http://i48.tinypic.com/14e409d.gif)
Title: Re: View/Enter Board Permissions
Post by: sattninja on July 03, 2010, 10:57:57 PM
how does this work i am very confused how do set this thing up
Title: Re: View/Enter Board Permissions
Post by: sattninja on July 03, 2010, 11:05:49 PM
Quote from: scenerip2k on July 02, 2010, 08:09:50 AM
same idea of the mod just more friendly version where you can specify the permissions directly from the Manage boards menu.
(http://i48.tinypic.com/14e409d.gif)

forget my last post this worked perfectly
Title: Re: View/Enter Board Permissions
Post by: FireDitto on July 09, 2010, 06:24:34 AM
This is a fantastic mod, and I can't wait until and RC3 is functional. No rush on my part, just expressing my enthusiasm for it :D

*tips hat*
Title: Re: View/Enter Board Permissions
Post by: Bugo on July 09, 2010, 10:20:50 AM
Russian translation
Title: Re: View/Enter Board Permissions
Post by: FireDitto on July 10, 2010, 10:49:46 PM
So... how do I go about making this work on RC3?
Title: Re: View/Enter Board Permissions
Post by: Bugo on July 11, 2010, 01:04:50 AM
Replace files in original package
Title: Re: View/Enter Board Permissions
Post by: FireDitto on July 11, 2010, 04:56:40 AM
Okay, installed with the edits provided by Bugo. All went well on RC3 version... but, I'll be damned if I can find where I'm meant to make the edits! >_<
Title: Re: View/Enter Board Permissions
Post by: FireDitto on July 12, 2010, 06:39:27 AM
Can I get any help?
Title: Re: View/Enter Board Permissions
Post by: ~DS~ on July 12, 2010, 10:14:47 AM
Edits? Please do tell what you are trying to do so we can help.
Title: Re: View/Enter Board Permissions
Post by: FireDitto on July 14, 2010, 10:37:08 PM
Sorry, it's okay.

Bugo PM'd me and we sorted it out. I'm all good now, thank you =)
Title: Re: View/Enter Board Permissions
Post by: forumnepali on July 16, 2010, 05:24:10 AM
i have just install this mod but i'am very comfuse how to set user permission  please help me guys


Title: Re: View/Enter Board Permissions
Post by: forumnepali on July 19, 2010, 05:56:42 AM
need help
Title: Re: View/Enter Board Permissions
Post by: Hassan_the best on July 19, 2010, 06:04:50 AM
Quote from: forumnepali on July 16, 2010, 05:24:10 AM
i have just install this mod but i'am very comfuse how to set user permission  please help me guys
by going to the permissions tab?
Title: Re: View/Enter Board Permissions
Post by: forumnepali on July 19, 2010, 07:19:22 AM
Quote from: Hopey(Hassan) on July 19, 2010, 06:04:50 AM
Quote from: forumnepali on July 16, 2010, 05:24:10 AM
i have just install this mod but i'am very comfuse how to set user permission  please help me guys
by going to the permissions tab?

Thank you for replying Hasan ji. maine try kiya thaha par kuch huyaa hi nahi
Title: Re: View/Enter Board Permissions
Post by: forumnepali on July 22, 2010, 11:48:26 AM
please help me guys  please see below link  for more details

http://www.simplemachines.org/community/index.php?topic=391048.0
Title: Re: View/Enter Board Permissions
Post by: Hj Ahmad Rasyid Hj Ismail on August 04, 2010, 08:14:37 PM
Quote from: forumnepali on July 16, 2010, 05:24:10 AM
i have just install this mod but i'am very comfuse how to set user permission  please help me guys
If you want to use this mod (have successfully installed it) go to Admin Center (ACP) > Members > Permission > General Permission and edit permission for the membergroup that you want. However, you might not see membergroup that is based on post.

For you to see and edit permission post based membergroup, you have to enabled it first Admin Center (ACP) > Members > Permission > Settings. Then only you can change it as above mentioned.

Note: This mod totally delete permission options in board create / edit page.
Title: Re: View/Enter Board Permissions
Post by: sattninja on August 20, 2010, 10:55:26 PM
excellent mod man took me a minute to figure out how to set it up but it is awesome :) :)
Title: Re: View/Enter Board Permissions
Post by: sattninja on August 20, 2010, 11:49:47 PM
well i may have spoke too soon everything is working except when i create a new board regular members cannot get into it no matter what i do all my existing boards are working flawlessly after install and setup but new boards just error saying off limits this all started when i had 1 read only board tat i tried to set permissions for and it told me to make a duplicate group i did all that and reg members still couldnt get to it so i just created a few test boards using default category which is what i have all the other boards set to anf they are fine but if it is a newly created board regular members are not getting in
Title: Re: View/Enter Board Permissions
Post by: camoura on September 05, 2010, 02:00:06 AM
Have you tried this one:

http://www.simplemachines.org/community/index.php?topic=146964.msg2734095#msg2734095
Title: Re: View/Enter Board Permissions
Post by: Stigmartyr on October 09, 2010, 06:05:16 PM
Quote from: sattninja on August 20, 2010, 10:55:26 PM
excellent mod man took me a minute to figure out how to set it up but it is awesome :) :)

Im finding it a little confusing to make this mod useful as well.

Originally I'd wanted to restrict posting to some boards until a post count was reached and I can't really figure out the best way to do that as the board only allows you to assign one kind of permission profile.

Anyone able to share some insight?
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 06, 2011, 09:40:06 PM
i had a mod that worked on RC2 called view/enter board permission. I lost it when i updated to RC4 I have tried getting it to work and cannot i get tons of errors using RC2 emulation so my ??? is there a more current updated mod out there that will do what that mod does

I want members to be able to see boards but not enter them

any help will be greatly appreciated
Title: Re: View/Enter Board Permissions
Post by: Illori on January 07, 2011, 05:50:06 AM
please use the support thread for that mod, and request the author to update it. you could also try http://custom.simplemachines.org/mods/index.php?mod=1332 which i have heard still works with current versions.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 07, 2011, 06:46:33 AM
Quoteplease use the support thread for that mod, and request the author to update it.

The original author will not update it, and the current maintainer doesn't seem to have time. I'm just glad I gave it away to be honest, caused much more trouble than it saved writing that mod, most people just didn't understand what it did, and why it looked like it broke their forum (when they just didn't read the instructions)
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 08:36:37 AM
I actually love this mod and have it updated for my use... ssems fairly easy to maintain... I've even wondered if I should ask to take it over.... hmmmmmmm, pondering.


Quote from: IncognitoMuse on January 07, 2011, 06:46:33 AM
most people just didn't understand what it did, and why it looked like it broke their forum (when they just didn't read the instructions)
Agreed I would get PM's even after explicitly stating that all board permissions will need to be redone... oh well.


@OP

Code ( sources/load.php FIND) Select

if ($user_info['is_admin'])
$user_info['query_see_board'] = '1=1';
// Otherwise just the groups in $user_info['groups'].
else
$user_info['query_see_board'] = '(FIND_IN_SET(' . implode(', b.member_groups) != 0 OR FIND_IN_SET(', $user_info['groups']) . ', b.member_groups) != 0' . (isset($user_info['mod_cache']) ? ' OR ' . $user_info['mod_cache']['mq'] : '') . ')';


Code ( replace with) Select
loadBoardsVisibility();




Code ( themes/default/Maganeboards.template.php FIND) Select

</dd>
<dt>
<strong>', $txt['mboards_groups'], ':</strong><br />
<span class="smalltext">', $txt['mboards_groups_desc'], '</span>
</dt>
<dd>';

// List all the membergroups so the user can choose who may access this board.
foreach ($context['groups'] as $group)
echo '
<label for="groups_', $group['id'], '">
<input type="checkbox" name="groups[]" value="', $group['id'], '" id="groups_', $group['id'], '"', $group['checked'] ? ' checked="checked"' : '', ' class="input_check" />
<span', $group['is_post_group'] ? ' class="post_group" title="' . $txt['mboards_groups_post_group'] . '"' : '', $group['id'] == 0 ? ' class="regular_members" title="' . $txt['mboards_groups_regular_members'] . '"' : '', '>
', $group['name'], '
</span>
</label><br />';
echo '
<em>', $txt['check_all'], '</em> <input type="checkbox" class="input_check" onclick="invertAll(this, this.form, \'groups[]\');" /><br />
<br />
</dd>';


Code ( replace with) Select
</dd>';
// We don't need membergroups, we don't need no DB control :P

Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 10:31:51 AM
wow that is the exact edits i had to make but your a just a tad different I will try that when i get home

thanks alot

Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 10:39:41 AM
the code is different between RC2 and RC4, the mod is telling you to look for the RC2 code ;)
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 10:58:51 AM
exactly i see that i am hopeful this will work

looks good


I won't know till later

I will update accordingly

thanks
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 06:36:48 PM
ok i installed and made the edits and i get this error

Fatal error: Call to undefined function loadboardsvisibility() in /home/lostzer1/public_html/appfuzion.com/Sources/Load.php on line 566

I have attached the 2 files can you please take a look and see what is wrong



Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 07:08:07 PM
try these
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 07:15:36 PM
same error

Call to undefined function loadboardsvisibility() in /home/lostzer1/public_html/appfuzion.com/Sources/Load.php on line 566
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 07:18:58 PM
hmmm thats weird... are you sure you installed the mod?

try this
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 07, 2011, 07:19:26 PM
One of the instructions was missed, that this has to go at the end of Load.php.



// Figure out what we can see. Note, because this sets up query_see_board, we cannot call boardsAllowedTo() :(
function loadBoardsVisibility() {
global $user_info, $smcFunc;

if($user_info['is_admin']) {
$user_info['query_see_board'] = '1=1';
$user_info['query_see_only_board'] = '1=1';
return;
}

// SLOW QUERY?
$query = $smcFunc['db_query']('', '
SELECT b.id_board, bp.permission, bp.add_deny
FROM {db_prefix}boards AS b INNER JOIN {db_prefix}board_permissions AS bp ON (b.id_profile = bp.id_profile)
WHERE id_group IN ({array_int:groups}) AND bp.permission IN ({array_string:permission})',
array(
'groups' => $user_info['groups'],
'permission' => array('view_board', 'enter_board'),
)
);

$boards = array(
'allow' => array(
'view_board' => array(),
'enter_board' => array(),
),
'deny' => array(
'view_board' => array(),
'enter_board' => array(),
)
);

while($row = $smcFunc['db_fetch_assoc']($query)) {
$area = $row['add_deny'] ? 'allow' : 'deny';
$boards[$area][$row['permission']][] = $row['id_board'];
}
$smcFunc['db_free_result']($query);

$allow = array_diff($boards['allow']['view_board'], $boards['deny']['view_board']);
$user_info['query_see_only_board'] = count($allow) > 0 ? 'b.id_board IN (' . implode(',', $allow) . ')' : '1=0';

$allow = array_diff($boards['allow']['enter_board'], $boards['deny']['enter_board']);
$user_info['query_see_board'] = count($allow) > 0 ? 'b.id_board IN (' . implode(',', $allow) . ')' : '1=0';
}
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 07:24:11 PM
Ahh thats it... I hadnt looked that far down since that part doesnt fail on install
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 07:26:53 PM
that did it man thanks guys really appreciate it

it is working fine

you rock
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 07:33:10 PM
glad its working for ya now... I really should have checked all the edits tho (now I know better :) )
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 07:53:47 PM
no worries man there is no better community than the smf community

appreciate the help

Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 08:02:37 PM
i have one more question i have made a profile for guests to be able to view a board and enter it to see threads and it is half working it lets the guest see the board but when i try to go into it as a guest it kicks me to the register/login board
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 08:07:01 PM
double check the permissions... i just tried it and its working as intended.
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 08:14:56 PM
i have man i have triple checked still no go i can see the boards as a guest but cannot go into them
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 08:21:53 PM
repost your load.php
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 08:25:37 PM
here you go

Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 07, 2011, 08:28:43 PM
Well thats fine... I cant think of why it would be doing that... its working flawlessly for me
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 07, 2011, 08:30:46 PM
yeah i know it is weird i will play with it a lil bit and see if i can get it
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 09, 2011, 11:48:47 AM
well i have been trying for 2 days changing all kinds of settings and still cannot get it to where the guest can enter the board. I have changed every setting to test and nothing has worked can someone tell me exactly how this can be achieved maybe go through how to set this up maybe i missed something
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 09, 2011, 12:03:36 PM
Sorry you're still having issues with this bro, no matter what I do its working as intended for me... if you dont mind can you pm me a test account with temporary admin rights so I can check it out for you.
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 09, 2011, 08:07:20 PM
well i have uninstalled it cause i found out today that is was restricting access to one board for all members and i could not figure out how to fix it no matter what I can reinstall and get you the account if you would like
Title: Re: View/Enter Board Permissions
Post by: Spoogs on January 09, 2011, 08:12:57 PM
So its working properly on all but 1 board...?
PM me the info, if you want me to check it out
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 09, 2011, 08:18:29 PM
ok i figured it out i think I just reinstalled it but before installing i went into the boards and clicked the box for guests being able to access the board. now after install those settings go away and are no longer available. so what i needed to do was check the box for guests on the boards i want to control how guests can access after the install of the mod. i hope you understand what i mean but it is working fine now

Title: Re: View/Enter Board Permissions
Post by: sattninja on January 09, 2011, 08:23:52 PM
yes i just tested it on a few boards i left guest uncheked in the pre mod board settings and sure enuff they can see the board after install but if you try to go into it it sends you to the log in screen

on the boards that i checked guest on pre mod after i install the mod they work perfectly

so i figured it out real weird but hey i am glad i figured it out

now if i could figure out why notification are not working from here i no longer get notified of replies to threads that i have set to notify me

thanks for all the help  ;)
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 09, 2011, 08:26:18 PM
Or it's broken since it never did that before; the whole point of the way it was originally written was to control true access, permissions set prior to the mod being installed were ignored.
Title: Re: View/Enter Board Permissions
Post by: sattninja on January 09, 2011, 08:31:06 PM
i know but if i got it working i am not sure i want to go messing with it

damn why am i not getting notification of replies
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 09, 2011, 08:34:18 PM
Hmm, that's probably a bug due to the way permissions are generated, since I never tested that originally. No, I am not going to debug it now, I've long since forgotten how I originally wrote it and don't have the time, energy or inclination to update it.
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on April 15, 2011, 08:22:11 PM
I have this working on SMF 2.0 RC3

It was originally on SMF RC2

I updated the website on a different domain then ported it to the MAIN domain.

I dunno how it works but it does..
Works like a treat also aslong as you have everything correct.

It was last year when I set all this up and re-ported it to RC3 but I remember having to make a few tweaks to allow it to work again.
I am pretty sure it will be as simple for anyone else.

This is the MOST valued mod on the forums as we have different sections for different groups.
So this is a MUST HAVE on our boards.

I checked to see if notifications work and they do. So I am glad..
Like I said its been a long time since installed so I am not sure what edits we did if any.

I have attached my package below.

It is probably best to put this on a NEW installation of SMF due to it being so complex.
I noticed there is loop holes in this mod but we have applied patches to recent topics and member groups gaining access to other peoples posts by viewing there posts on there profiles.

Its the BEST mod on SMF and something like this needs to be on the default SMF setup as people want to only allow access for certain people to certain boards.

Choice is best.

I am currently waiting on gold before I do my final update and will try my best to get it working on there also..
IT BETTER HAD DO. lol.


Thanks for this mod and please try my package anyone that wants to try and get this working.
Also works on any theme for me.

I would love to see some one update and release a WORKING version for all current versions of SMF.
Maybe this will help some one.

Title: Re: View/Enter Board Permissions
Post by: live627 on April 15, 2011, 11:59:42 PM
Well... someone might ask for the package to  be removed to comply with  the license here
Title: Re: View/Enter Board Permissions
Post by: Arantor on April 16, 2011, 04:26:08 AM
Quote from: live627 on April 15, 2011, 11:59:42 PM
Well... someone might ask for the package to  be removed to comply with  the license here

Yup, this package is in breach of licence.
Title: Re: View/Enter Board Permissions
Post by: kat on April 16, 2011, 10:25:33 AM
Tiz done.
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on April 19, 2011, 07:43:39 PM
Whoops sorry. I didn't know you couldn't repost a package. I just seen so many people attaching other fixs to things thought it was cool.
Title: Re: View/Enter Board Permissions
Post by: live627 on April 19, 2011, 07:57:05 PM
Attaching a file for help like maybe a parse error is fine. Posting the code changes made to a mod o allow it to install is also fine. The two major no-no's are attaching a mod (redistributing it) or attaching SMF (redistributing it)
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on April 19, 2011, 08:28:34 PM
Ahh kk. Well I didn't think them rules would apply to attaching it to a topic it originated from.
Thanks for the info.
Title: Re: View/Enter Board Permissions
Post by: MiY4Gi on August 11, 2011, 05:09:53 PM
Is this mod gonna get updated? I tried installing (with the manual edits) and I got a server error. Has anyone got this mod to work on 2.0 Gold?
Title: Re: View/Enter Board Permissions
Post by: Hj Ahmad Rasyid Hj Ismail on August 11, 2011, 06:27:17 PM
There may be a new mod for this for SMF 2.0 Gold.
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on August 16, 2011, 06:16:28 PM
I have the package from RC2 that I have edited in the past and I installed the same package on GOLD without any problems.
Unfortunately it was a LONG time ago when I edited this package to install on later SMF versions so I have no idea what edits I have made.
If the author allows me to post the package here to help others I will.

So if your reading this get back to me as it seems some people would like this.
Title: Re: View/Enter Board Permissions
Post by: Hj Ahmad Rasyid Hj Ismail on August 17, 2011, 02:57:05 AM
Are you sure that there is no error at all aljo1985? So far that I have checked there is a lot of errors produced by the last RC2 & RC3 packaged here last time.
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on August 17, 2011, 11:53:06 AM
Yes 100% installs perfect
Here is proof.. SMF GOLD fresh install.. no errors....

Like I said.. I edited this a very long time ago when I had to adapt my forums to the latest RC version so its just been continued and it was a very long time ago since I have had to update it.. It installed fine on last update no modifications needed.. Here is pictures for you.

(http://www.uniquez-home.com/Images/boards-visible.png)
(http://www.uniquez-home.com/Images/view-enter.png)
(http://www.uniquez-home.com/Images/viewerror.png)
(http://www.uniquez-home.com/Images/visible-boards.png)


Title: Re: View/Enter Board Permissions
Post by: Jessica. on August 17, 2011, 03:42:27 PM
good mod. why isn't this in SMF by default?
Title: Re: View/Enter Board Permissions
Post by: MiY4Gi on August 17, 2011, 06:05:46 PM
Quote from: Jessica. on August 17, 2011, 03:42:27 PM
good mod. why isn't this in SMF by default?

It is. Have a look here: http://www.simplemachines.org/community/index.php?topic=446194.msg3133575#msg3133575
Title: Re: View/Enter Board Permissions
Post by: Hj Ahmad Rasyid Hj Ismail on August 17, 2011, 07:01:25 PM
aljo1985, I really mean error free not free error during installation only. Do check your error logs to confirm this is error free.
Title: Re: View/Enter Board Permissions
Post by: Hj Ahmad Rasyid Hj Ismail on August 17, 2011, 07:03:31 PM
MiY4Gi, it is not the same at all. That is access alone. No access means no view at all. Here the mod control view as well. So you can view but have no access to the board rather than no access at all. It works differently.
Title: Re: View/Enter Board Permissions
Post by: MiY4Gi on August 17, 2011, 07:35:40 PM
I see.

Well, then the Look But No Read Mod (http://custom.simplemachines.org/mods/index.php?mod=1332), is similar, although it's outdated.
Title: Re: View/Enter Board Permissions
Post by: Hj Ahmad Rasyid Hj Ismail on August 17, 2011, 07:54:11 PM
No, not really. Have a look here: http://www.simplemachines.org/community/index.php?topic=256206.msg3095070#msg3095070
Title: Re: View/Enter Board Permissions
Post by: oOo--STAR--oOo on August 18, 2011, 12:46:21 AM
Quote from: ahrasis on August 17, 2011, 07:54:11 PM
No, not really. Have a look here: http://www.simplemachines.org/community/index.php?topic=256206.msg3095070#msg3095070

Yes error free. Zero errors in the error log. I am using this now and have done since way back when.
Title: Re: View/Enter Board Permissions
Post by: Hj Ahmad Rasyid Hj Ismail on August 18, 2011, 04:13:26 AM
Your quote is referring to something else i.e. Look But No Read mod that works with SMF 2.0 Gold. And I am replying to MiY4Gi as she said it is outdated.

Anyway, it is a good news that you have successfully made the changes to that mod that really works with no error.

However, I prefer to use View Only Boards Mod.
Title: Re: View/Enter Board Permissions
Post by: agentblackhat on January 31, 2014, 10:59:11 AM
Be careful when using this mod, there are several loopholes which allows anyone to view the content in the private area. Also, if you change the description on a board your members will be locked out and there is no way to fix this problem without uninstalling.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 31, 2014, 11:00:11 AM
I'll bet it's more likely that you didn't configure it properly rather than the mod misbehaving.
Title: Re: View/Enter Board Permissions
Post by: agentblackhat on February 05, 2014, 05:15:08 AM
Quote from: Arantor on January 31, 2014, 11:00:11 AM
I'll bet it's more likely that you didn't configure it properly rather than the mod misbehaving.

I wish this was the case.
Title: Re: View/Enter Board Permissions
Post by: DSystem on February 05, 2014, 11:52:33 AM
Use this mod for over a year and have no problems.

Running perfectly on SMF 2.07
Title: Re: View/Enter Board Permissions
Post by: gigashiga on May 10, 2014, 03:45:15 AM
Quote from: DSystem on February 05, 2014, 11:52:33 AM
Use this mod for over a year and have no problems.

Running perfectly on SMF 2.07


great  mod
but me not able to use it
smf 2.07

in browse package I am not getting install option
when i upload this mod package is uploaded successfully and that time i get install option

and when clicking on it
i get this error
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i tried downloading it again . downloaded file size is 4.24 kb 
Title: Re: View/Enter Board Permissions
Post by: Arantor on May 10, 2014, 01:10:47 PM
The clue is 'not compatible with this version'. Version emulate will be your friend, but to be honest, if this is a difficult concept, even more so will be explaining how to actually use it and then it'll be my fault for your site not working how you want...
Title: Re: View/Enter Board Permissions
Post by: margarett on May 10, 2014, 06:49:33 PM
And that's what the wiki is for :P
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: View/Enter Board Permissions
Post by: Arantor on May 10, 2014, 07:01:03 PM
That wasn't what I meant. This is, inherently, a complex mod to install. Sufficiently so that it confuses people, and if someone is confused by a less complex idea, they are going to be so much more confused later.

This is one of the mods I wish I'd never written.
Title: Re: View/Enter Board Permissions
Post by: margarett on May 10, 2014, 07:03:44 PM
I'm confused ;D ;D
Title: Re: View/Enter Board Permissions
Post by: Arantor on May 10, 2014, 07:04:44 PM
Precisely my point. If someone is confused by installation, configuration is likely to be something beyond them (as this mod requires permission profiles and stuff since that's how 2.0 board permissions work)
Title: Re: View/Enter Board Permissions
Post by: margarett on May 10, 2014, 07:07:30 PM
I was just messing with you ;)
Title: Re: View/Enter Board Permissions
Post by: gigashiga on May 12, 2014, 02:23:50 AM
Quote from: gigashiga on May 10, 2014, 03:45:15 AM
Quote from: DSystem on February 05, 2014, 11:52:33 AM
Use this mod for over a year and have no problems.

Running perfectly on SMF 2.07


great  mod
but me not able to use it
smf 2.07

in browse package I am not getting install option
when i upload this mod package is uploaded successfully and that time i get install option

and when clicking on it
i get this error
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i tried downloading it again . downloaded file size is 4.24 kb

Sir/Mam, version emulation didn't worked for me,
because browse package I am not getting install option. when browsing packages
and if i try to upload again I get same same error

I am a novice and not a pro technically.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 10, 2015, 05:02:01 PM
Quote from: Bounty_y2k on January 09, 2015, 04:50:57 AM
Hi,I recently installed "View / Enter Board Permissions" (http://custom.simplemachines.org/mods/index.php?mod=2309) and it works very well. But now I can't set the permission for guest to be able to see some boards.

I made a permission profile 'Default BB' witch has Viewing and Entering board on to Guests. But still boards with this profile asks guests to register first...any ideas why?

Another question General Permissions are only for Default profile?
:S
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 10, 2015, 09:35:45 PM
QuoteBut still boards with this profile asks guests to register first...any ideas why?

I don't know, have you actually configured it correctly? Link to site?

QuoteAnother question General Permissions are only for Default profile?

General Permissions apply outside of boards. Board Permissions apply in profiles.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 10, 2015, 10:43:24 PM
Yeah all boards have DefaultBB permission in witch allows guests to see and enter boards.
boombox.rs/forum

Profiles?
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 10, 2015, 10:58:41 PM
Um... yes... profiles, as in the DefaultBB profile that you have applied, this is a profile that applies to boards. And of course you'll get the registration screen if you only give out permission to see a board and not to enter it for guests in that profile that applies to all boards.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 10, 2015, 11:09:47 PM
In general permissions guests viewing board was enabled and i enabled 'Use basic forum functionality' too,still guests cant enter boards..
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 10, 2015, 11:12:05 PM
You gave them permission to view the board, yes. So they can see it on the board listing. Unless you give them permission to *enter* the board, they can't actually see anything *in* it and therefore get tossed to the login page.

And 'use basic forum functionality' is irrelevant in this context.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 10, 2015, 11:35:51 PM
Sorry, I was thinking about viewing AND entering I just didn't write it xD

I have checked everywhere all profiles are set to view AND enter but guests still can't...:S
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 10, 2015, 11:38:55 PM
All the profiles? Considering SMF doesn't even let you change all the base profiles, I find myself slight skeptical that 'all profiles are set' for that.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 11, 2015, 12:18:15 AM
General permissions:
(http://s6.postimg.org/6y1pciqc1/bb1.png)

DefaultBB permission:
(http://s6.postimg.org/yb6w79wwh/bb3.png)

All boards set to:
(http://s6.postimg.org/dsc027iz5/bb2.png)

And those two permissions are:
(http://s6.postimg.org/uqb0o1scx/3bb.png)

Still when entering board as guest it shows me login form...:S
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 11, 2015, 12:22:43 AM
Given that you have other things where this mod doesn't behave as expected (since the code I gave you in that other thread seemed to work for me on a test board) I'd wonder what else is wrong with your installation. I hate to say it but I really don't have the time to properly investigate this - do remember that I wrote this mod 5 years ago and don't really remember how it works and I'm currently trying to get enough work together to keep a roof over my head... this really is not my priority, I'm sorry.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 11, 2015, 12:34:31 AM
Oh,okay then sorry :)
Title: Re: View/Enter Board Permissions
Post by: Bruce the Shark on January 11, 2015, 12:56:48 AM
Quote from: Bounty_y2k on January 11, 2015, 12:34:31 AM
Oh,okay then sorry :)
dude your back ground images for your theme looks like an over enlarged herniated dual layer keyboard piano
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 11, 2015, 01:07:24 AM
Arantor sorry I have just uninstalled the mod and it shows no boards at all,checked the permissions also. I must check the code..:S
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 11, 2015, 09:48:06 AM
I just found out what is happening...
Anyone that has problems with this try the next thing.

Uninstall the mod,set all the "Allowed Groups" in ACP > Forum > Boards > -pick a board- > Modify > Allowed Groups.
For all of your boards,since this is impossible to do when mod is installed (at least for me). Then install the mod again and it all works perfectly. :)
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 11, 2015, 10:01:28 AM
QuoteFor all of your boards,since this is impossible to do when mod is installed (at least for me).

Of course it is, why leave it active when it doesn't work?
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 11, 2015, 10:12:42 AM
Makes sense but it keeps permissions from before the mod install :S
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 11, 2015, 10:29:54 AM
What do you mean? The mod replaces all the handling, so uninstalling should revert it to how it was before you installed it - unless you didn't uninstall it properly, and given the issues you have, this wouldn't surprise me... because I don't think it got installed properly. Or it's buggy, it was written originally for SMF years ago and I haven't had time to review how it works to make sure it works again on current SMF.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 11, 2015, 10:45:33 AM
I am aware of that. And it did install and uninstall cleanly. But still the mod somehow keeps permissions from before installing it. I got it worked out,sorry for trouble. It could have been that my theme is bugged,that is an option too.
Title: Re: View/Enter Board Permissions
Post by: Arantor on January 11, 2015, 10:48:53 AM
I still don't really understand what you mean by 'keeps permissions from before installing it'... the mod will ignore whatever was set beforehand and uninstalling it will revert to whatever you had before. Like the mod page kind of actually says it will do.
Title: Re: View/Enter Board Permissions
Post by: Bounty_y2k on January 11, 2015, 11:52:52 AM
Maybe its some kind of bug on my theme but I am 100% sure that when I modify the 'Allowed Groups' changes stays even when installing the mod again.
With that I solved my problem believe or not :D
Title: Re: View/Enter Board Permissions
Post by: gigashiga on March 30, 2015, 08:38:06 AM
is it compatible with 2.0.9 ?

i get this error.


Installations actions for "View / Enter Board Permissions"
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Title: Re: View/Enter Board Permissions
Post by: margarett on March 30, 2015, 09:21:20 AM
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: View/Enter Board Permissions
Post by: Burt on November 07, 2016, 01:40:41 AM
Hi Arantor...

I'm trying to install your mod on SMF 2.0.12 but

The mod can't find:

WHERE {query_see_board}  in Subs-BoardIndex.php


The only WHERE I can see is:

WHERE ' . $query_see_board . (empty($boardIndexOptions['countChildPosts']) ? (empty($boardIndexOptions['base_level']) ? '' : '


Could you help?

Thank you

Burt

Title: Re: View/Enter Board Permissions
Post by: Arantor on November 07, 2016, 02:03:07 AM
It needs a fairly substantial rewrite that I don't have the time or inclination to do right now, sorry.
Title: Re: View/Enter Board Permissions
Post by: Burt on November 07, 2016, 02:28:13 AM
Understood...


I just spent all day try to get the Guest to see the available Boards but not to access them, and I can't come up with nothing that works on 2.0.12...


The closest one I got was View only Boards (http://custom.simplemachines.org/mods/index.php?mod=610) but it gives me DB errors... Look But No Read is no longer available... and Suki  Hide Topics from Guest (http://custom.simplemachines.org/mods/index.php?mod=2380), for some mysterious reason, makes the Toggle View stop working when you post a new post...


Any suggestions??? :)


Like most other forum, I would like to show people what's available but only if they register....
Title: Re: View/Enter Board Permissions
Post by: Burt on November 07, 2016, 02:36:18 AM
Or even if you could suggest a line to replace in a similar way back in 2005...




      WHERE ($user_info[query_see_board]" . ($user_info['is_guest'] ? " OR b.ID_BOARD IN (12, 13)" : '') .')' . (empty($modSettings['countChildPosts']) ? "
         AND b.childLevel <= 1" : ''), __FILE__, __LINE__);



:)
Title: Re: View/Enter Board Permissions
Post by: Arantor on November 07, 2016, 06:22:44 AM
That line is from 1.1.x, you can't just tweak it.
Title: Re: View/Enter Board Permissions
Post by: Burt on November 09, 2016, 02:46:29 AM
So the bottom line is that with SMF 2.0.12 there are no mods available to allow guest to only view the index but not the posts contents... :(


No worries...
Title: Re: View/Enter Board Permissions
Post by: Fotosettore on December 18, 2017, 12:59:02 AM
Quote from: Burt on November 09, 2016, 02:46:29 AM
So the bottom line is that with SMF 2.0.12 there are no mods available to allow guest to only view the index but not the posts contents... :(
No worries...

hi ...
any news about solution ?
Title: Re: View/Enter Board Permissions
Post by: juliereader on January 29, 2018, 06:44:16 AM
sorry for a noob question But can anyone please tell me how to implement this on SPECIFIC BOARD?

I tired to add permission for GUESTS to VIEW BOARD & ENTER BOARD

but the forum gave error of

"An Error Has Occurred!
Invalid value inserted or no type specified"


I only want GUESTS to STOP seeing TOPICS of SPECIFIC BOARD