doiches
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Disabling the html buttons in the editorthanks for the answer noahjonah,
after installing the plugin, i tryed in the advanced tab find how to disable the buttons but no idea.
Just what i can imagine is to write there a nwe js or css but no idea how. Any suggestion?Tnaks Mikko i gonna try it right now so hopefully i will tell you al soon as possible, maximun on monday ok? (depende on my boss)
I think role scoper works perfectly under its phylosophy, but dealing so much info is really hard so i understand kevinB’s difficulties. Lets just wait what he is preparing to surprise us.
Meanwhile, i also did not checked the code but Mikko make the light and so us where the issue was located or the main prob pliz =)Forum: Plugins
In reply to: [Plugin: Events Manager] Keeps showing private events on the front pageHi hixen,
i have deal a lot with that issue under the role-scoper.
If you read in the support forum of tthe RS plugin you can read a really long conversation between kevinB (the brilliant RS developer) and me.
the problem of being possible for all users to read the posts you want to restrict is that, as kevinB explained, once a user has access to one category, he can see all post within that category because the RS is done to GRANT access to all posts that user has access.
In my opinion is an strength of RS once you make it clear for yourself (it took me a lot). That means, with two restricted categories if a user has access to one of it, he could read all posts even if they have the two categories selected.
So if you want to restrict the posts you can do it via editing the post-> restricting access to readers.
Hope being helpfulHi Mikko,
you are right, i am combining the relevansii and role-scoper plugins and both are working.
The issue which is under the relevansii release is that I am using 2.9. not the 3.0 cause no results were sent back.
I do not really search deeply cuz i googled and found that version works. So if you want me to help pliz tell me which files, queries or anything to test. I was just waiting for the “repaired” release but providing any help don’t bother me not at all.KevinB,
the example you described still not solving the question showed in the scene i showed you … Still talking only about restrictions (Restrictions->Categories) not the Roles->Categories “situation” and what about if you configured the access to a member just to candle-both-ends and another one just to freshmeat ; u make it so because u are interestd in keeping separated and blocked the access to earch other contents… you know both would have access (at least readable) to the same amount of post if those posts have both categories checked (as example, Categories of the new post candle-both-ends and freshmeat), making not possible to block both blocks of information to each other.
So i beg you to test your sentence cause is trueWhenever a post is published, the member can read it if any of his or her categories are assigned but with the scene i am coming up with you are concious it is impossible to block contents and that is the key because is where all my prob was located. How to solve it, already found it and at the end of the post.
But keep in the discussion (not argue plz kevin do not forget it). After checking the plug i understand it is really hard to change it, it is your idea and phylosopy, more than respectable because it WORKS and it is good, but as i said still not understand WHY if you are the only one who has total control the code you didnt give me a hand or even a CLUE just to solve the problem and save a couple of weeks of reading code.
…..Ok let me then explain some points i think you should consider if you are going to keep working on this plugin as u wrote in agapetry web site, the same where you sold the press permit:
1.- It is suppose to be free source code, so it should be anywhere, as in any platform, ANY kinda documentation, at least a list of functions (name, goal of the function, parameters) It is typical in Java, php,… I think you even erase it in the source code, dont you? just this plugin keep crossing php and query calls through php files and several folders, being really easy to get lost. So i have clear it is impossible to keep in mind every call it is doing. Just read the terms the GPL LICENSE under your plugin is found, just the first line. It is allow to redistribute and modify it. And there it is more than suggest a documentation should appear.
2.- The more we talk, the more i have the feeling that the purpose of this plugin is just to promote te press permit. If i do not bought your press permit, it is because i cannot check if the plugin does what i am looking for. Not even a try or demo. Believe me when i write that 40 bucks is nohing, I’d rather paying than keeping two weeks digging into source code. I do not know if you were looking for beneficts when you released this plugin (before “capitalism” come through).I think it is respectable, but unethical in open source code. I read yesterday again the promotional comment of your plugin and th huge expectation, making possible to deploy 7 or 8 plugins just with your one.
3.- Going bakc to category grant access? So have you ever found the situation you related in any application, program, or just anything in real life? if a have 50 categories in the same level and two users, the first one has access only to 1 category and the second one to the 50 categories, BOTH have the same access because the user 1 has access to ONE category!!!???? So restriction should be wether all categories or noone then!!!! Are the restriction not considered??? Until you dont show me a real example, i keep in my mind, as i think most of people, restrictions are always over permissions. Keep reading please.
4.- HACKING!!!!!?????? easy words to avoid any qualificated help besides the one of how to configure the plug. GPL license again. Let me remind you the problem. Do you really think it is hacking!!?????
Problem: In a custom post type (there were NOT any difference if we were talking abaout post):
– Two users with the role as contributor having permissions to be authors, so as you know in Restrictions->Categories the five levels are restricted for every single category.
After that, in the Roles->Categories in the Author checkbox for each category the user with permission is selected.
Then we have
Cat1 (in the author Custom post type checkbox)
Sub_cat1.1 ———- User1
Sub_cat1.2 ———- User1 and User2
Sub_cat1.3 ———- User1 and User2
Cat2
Sub_cat2.1 ———- User1 and User2
Sub_cat2.2 ———- User1 and User2So as you know User 1 and User2 have access to the same posts!!!! even when only sub_cat1.1 is checked!!!!!!! UNLOGICAL whatever you said. i cannot believe you agree with it.
5.- Solution:
Mark each single post to be restricted, selecting the readers and the authors. So if the specific category is selected, readers should be restricted and none allowed to read. Besides authors should be restricted and only the User1 autorized. It can be done via admin and the metaboxes in the add/edit window. Now it is done automatically re-using YOUR function insert-role-restriction. My pain is the lack of documentation. Now to finish i am trying to remove the restrictions saved in the DB.i am not looking for any argue, just i try to understand why the most powerfurl plugin i am using has a black hole, and instead of keeping improving this, and all your plugins….
Forum: Fixing WordPress
In reply to: Custom post Types and CategoriesForum: Fixing WordPress
In reply to: excludin categoriesSolved editing the php in theplugin i am using category-checklist
funtion wp_category_checklist checking what kin of post is (custom or not) filtering the cats showed in the metabox.Is there any web where the functions the role scoper used are documentated kinda wordpress does??
it is quite hard to read code and code without any help cause i am trying to “solve” the problem my site has with the read permissions, adding automatically by code in wp-admin/post.php file the reader restrictions if the desired category (the one which restricts) is selected.
So i am looking for the functions the metaboxes, added by the role scoper when adding or editing a new post, uses to add there, but no luck.
Help plz it is my fourth hour keeping searching just a call (just to automatically keep checked the restriction in the readers box and in the editing box, assigning just one author group.I mean is there any web where the functions the role scoper used are documentated kinda wordpress does??
it is quite hard to read code and code without any helpHi
does anybody know which function is the one used by the metabox readers in the editing post to restrict access to post readers (just to restrict it to wveryone)?
ThanksBTW is not supposed when someone restrict a category and not the other ones in the post the post SHOULD be restricted? Answering your example : If you need “category 1 restricted” + “category 2 unrestricted” = “post restricted”, it will have to be with a different plugin.
It is unlogical because it is really easy to understand and intuitive that if a category is restricted it should be over the allowed categories, that is the meaning nad purpose of restrict something isn’t it?
if as u said, ur plugin does not follow that goal, then there is not much sense in letting administrator to work with restrcitions and roles dont you think?Tnx a lot,now peferct clear
but the question is what plugin can do that (cat1 restricted + cat2 unrestricted = post restricted)??? Tryed to download the press permit but not found a demo even.
if there was no one then possibilities i am trying, so if would be great if u give me your point of view
1.- publish the post they should be restricted as private. would the RS restrict the access?
2.- create a new role between admin and editorm kinda pseudo-admin, letting the user with this new role to view that kind of post. does the rs accomplish it?
3.- the option i think the best, change the query in the query-interceptor.php, but not sure which php files are also involved in the restrictions even with the relevanssi search. So if you could list me the files to change the restrictions.
Thanks for the help.SO the RS plugin has not the option to configure the categories in such way to block access restricting the post through the categories.
I was trying to find the press permit but not found in the site just to try if it accomplish what i am looking for
i am trying to find another solution so could you explain how does it work with the private postS???Yes after trying relevanssii this problem is fixed.
Now i am facing this:
* 2 users admin and editor
* The admin user can see post whith the category confidential and the other categories, so i restrict the access to its category just for the wp-administrator
* others categories can be assigned to a post for both admin and editor, so in the other categories restriction both users are assigned.
PROBLEM!!!::: editor can read the post marked as confidential (via category)
WHYYYY??? it is supposed to be blocked cause there is one category which restricts.
any help plz