This topic contains 12 replies, has 3 voices. Last updated by Cristián Lávaque 4 years, 5 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Jul 10th, 2012 at 11:41 am #18814 | |
continued/… I thought I had worked it out but something is wrong so would be grateful if you could suggest something: I have 3 languages on my site – I want one of them to be free viewing – no login required or anything. The other two require a subscription. I am using the latest version of WP with qTranslate and the qTranslate slug plugin which also serves for translation of categories and tags. Basically each post is then entered in one window with tabs for each language for the post and excerpt, slug etc (but not tag or category which are set from their own admin pages). I created a tag: english (English), which I also translated into french (french) and Chinese (Chinese). So if you are on the english language page you see the ‘english’ tag, on the french page you see the ‘french’ tag etc. Importantly you don’t see ‘english’ if you are on the ‘french’ page. I then created a custom capability – ‘english’. I modified a user (‘testing user’) to include this cc in their profile – edit user>cc > english. I edited a post to include the cc but without any other kind of restriction eg if the cc wasn’t there everyone should be able to read it. My intention was that the article in English would require membership and in Chinese, say it would not require anything. These are the affects: 1. logged out user cannot see the post in english NOR can he view the post in French or Chinese even though their url is a little different e.g. english version mysite.com/2951/name of post/; french version mysite.com2951/nom de post/ etc and bearing in mind what I said about about where the tags appear/don’t appear. 2. logged in as ‘testing user’ can see the posts in all languages – OK, you would expect this since he has access to the English and the other two are ‘freeview’ 3. logged in user without the specific cc can’t read the post in any of the languages – this is wrong. He should be able to read the French and Chinese as a minimum. Any suggestions? Many thx. Just getting to grips with some more of this fantastic plugin’s capabilities. |