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.
This is what I have been talking about few months back...thanks for the Mod dude.
i've been waiting for this mod for rc2!! thanks a lot! :D
Could you please explain how to set a number of post requirement to enter the board.
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.
Nice mod! I wonder where i could set those permissions..
Not at the 'board / board edit in the acp.
It's a permission - in the regular permissions area.
Nice.. I was just looking for a mod like this..
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.
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.
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 :).
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.
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.
Did you set that profile to the relevant board?
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)
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.
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
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.
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
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.
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 :-[ ;)
You *can* do it with this mod, just it takes a little more work is all.
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.
Thanks :)
It's easy to allow users access -- not so easy to prevent them accessing it.
really helpful mod Arantor, many thanks ;)
heres spanish translation ;)
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.
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 ;)
Thanks - I will :)
That's the only curse of having a lot of mods, is trying to keep up with translations at times.
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
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)
ok, looking forward for it, if there's something I could do to help just let me know ;)
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
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.
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.
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)
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.
If it's set to deny, it DENIES it, even if other groups would allow it.
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.
The test user will be in at least two membergroups - can't be avoided.
Check what permissions they have from their profile.
All permissions stated show "Given by regular member"
I think part of the problem is that I don't fully understand the specifics of what you're trying to do.
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. "
Step back. I don't understand what the end result is, which is why we're both having problems.
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.
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.
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?
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.
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.
Well, part of the problem is mine for not documenting it very well, but I've never been sure how to explain it, unfortunately.
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.
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 :(
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.
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".
I'm not really planning on adding it to this mod, sorry.
Quote from: Arantor on January 05, 2010, 11:29:15 AM
I'm not really planning on adding it to this mod, sorry.
:'(
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........
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.
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.
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.
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.
Without seeing how you've configured permissions I can't help, I'm afraid.
Guests have premission to see and enter the board, yet they can only see the board, not enter...
So what permission profile are you using on that board?
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 :(
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.
Hey Arantor, please review this error in this mod:
http://www.simplemachines.org/community/index.php?topic=358707.msg2444495#msg2444495
It's not a bug.
You haven't set permissions for those users to enter the boards.
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.
So you went into permissions and actually ticked the permission for users from the permissions tabs?
It was already ticked, yes.
For which usergroup(s)? Which profile(s) did you add it to? Which board(s) use those profiles?
I use only 1 (Default) profile. I added it to Regular Members.
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?
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.
Hmm, weird. Let me know if it acts up again.
Hope I'm using the right tool for the job. I'll let you know if it strikes again, thanks!
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 :)
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.
Thanks, I get it:)
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.
Isn't this mod. There are *no* template changes at all. So it's something else that has been installed on index.template.php.
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
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
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 :(
This mod require a rewrite for RC3? Now that Robbo_ own this, hopeful he can update it.
No, it needs major changes for RC3, ones I had no real intention of doing anyway.
I will probably make a version for RC3 one of these days. When I get some spare time.
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.
its not work with RC3 ...
i wann to instal this mod but my forum version is Powered by SMF 2.0 RC3 please help me
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.
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?
any chance of getting an rc3 version out :P ?
Hello, could you make this mod compatible with RC3 please?
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.
Develop for SMF 2.0 rc3
waiting for R3 Version
When I have time I will make it....
h0w much time it will take for RC3? ? ?
http://www.simplemachines.org/community/index.php?topic=146964.460
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 ???
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)
how does this work i am very confused how do set this thing up
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
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*
Russian translation
So... how do I go about making this work on RC3?
Replace files in original package
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! >_<
Can I get any help?
Edits? Please do tell what you are trying to do so we can help.
Sorry, it's okay.
Bugo PM'd me and we sorted it out. I'm all good now, thank you =)
i have just install this mod but i'am very comfuse how to set user permission please help me guys
need help
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?
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
please help me guys please see below link for more details
http://www.simplemachines.org/community/index.php?topic=391048.0
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.
excellent mod man took me a minute to figure out how to set it up but it is awesome :) :)
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
Have you tried this one:
http://www.simplemachines.org/community/index.php?topic=146964.msg2734095#msg2734095
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?
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
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.
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)
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
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'] : '') . ')';
loadBoardsVisibility();
</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>';
</dd>';
// We don't need membergroups, we don't need no DB control :P
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
the code is different between RC2 and RC4, the mod is telling you to look for the RC2 code ;)
exactly i see that i am hopeful this will work
looks good
I won't know till later
I will update accordingly
thanks
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
try these
same error
Call to undefined function loadboardsvisibility() in /home/lostzer1/public_html/appfuzion.com/Sources/Load.php on line 566
hmmm thats weird... are you sure you installed the mod?
try this
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';
}
Ahh thats it... I hadnt looked that far down since that part doesnt fail on install
that did it man thanks guys really appreciate it
it is working fine
you rock
glad its working for ya now... I really should have checked all the edits tho (now I know better :) )
no worries man there is no better community than the smf community
appreciate the help
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
double check the permissions... i just tried it and its working as intended.
i have man i have triple checked still no go i can see the boards as a guest but cannot go into them
repost your load.php
here you go
Well thats fine... I cant think of why it would be doing that... its working flawlessly for me
yeah i know it is weird i will play with it a lil bit and see if i can get it
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
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.
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
So its working properly on all but 1 board...?
PM me the info, if you want me to check it out
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
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 ;)
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.
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
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.
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.
Well... someone might ask for the package to be removed to comply with the license here
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.
Tiz done.
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.
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)
Ahh kk. Well I didn't think them rules would apply to attaching it to a topic it originated from.
Thanks for the info.
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?
There may be a new mod for this for SMF 2.0 Gold.
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.
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.
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)
good mod. why isn't this in SMF by default?
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
aljo1985, I really mean error free not free error during installation only. Do check your error logs to confirm this is error free.
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.
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.
No, not really. Have a look here: http://www.simplemachines.org/community/index.php?topic=256206.msg3095070#msg3095070
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.
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.
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.
I'll bet it's more likely that you didn't configure it properly rather than the mod misbehaving.
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.
Use this mod for over a year and have no problems.
Running perfectly on SMF 2.07
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
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...
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)
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.
I'm confused ;D ;D
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)
I was just messing with you ;)
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.
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
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.
Yeah all boards have DefaultBB permission in witch allows guests to see and enter boards.
boombox.rs/forum
Profiles?
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.
In general permissions guests viewing board was enabled and i enabled 'Use basic forum functionality' too,still guests cant enter boards..
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.
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
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.
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
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.
Oh,okay then sorry :)
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
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
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. :)
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?
Makes sense but it keeps permissions from before the mod install :S
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.
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.
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.
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
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.
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)
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
It needs a fairly substantial rewrite that I don't have the time or inclination to do right now, sorry.
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....
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__);
:)
That line is from 1.1.x, you can't just tweak it.
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...
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 ?
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