michel.b
Forum Replies Created
-
Thank you
Hi,
Sorry I should have told you that I am using the latest version 2.0.11.
If I am correct, the only way for a member to have his name appear as the author of a post is to assign to this member a wordpress role : Contributor, author, editor …I have members who are contributors ( I want their names to appear on post as the author ) but who should have different UM-rights ( they should not see the same profiles ).
If I give them the WP-role ( contributor for example ) they have all the same UM-rights, they can all see the same profiles
I have tried to edit their UM-roles to give these roles the same rights as WP-contributors ( edit post, delete posts, …) but their names do not appear as the author of their posts.
How can I achieve this double objective, this is my question.
Thank you foryour help.Yes I have tried all the predifined possiblities : redirect to profile, , redirect to URL, refresh active page. Every time it is the same, it works fine if I type directly the address of the login page. If I type in the address of another page I am redirected first to the login page but after login I am redirected back to the page I tried at first, not to the one corresponding to the action choosen in User role.
I created a second login form. I had the same problem at first then I realized that I had not changed the form_id number in the shortcode of my login page. I did it and it worked. But may be your problem is not that simple…good luck
Forum: Plugins
In reply to: [WP JV Post Reading Groups] Private posts in menusHi Janos,
I tested your new version : I could not make it work with the option “dropdown menu” of the default categories widget. It does not display categories with private posts only. When I choose the standard display of the widget, it works fine. Could you please try to reproduce this and let me know. Thank you.
Do you have plans to fix the same problem with the tags ? with the dates ?Forum: Plugins
In reply to: [WP JV Post Reading Groups] Problem when tags are used to select postsI solved my problem.
I looked into your wp-jv-post-reading-groups.php file and I fond out that you had left for a later version the treatment of the tag page.
But you code for the category page was easy to understand. I am beginner in programming but I decided to copy and adapt it for the tag. And to my surprise it worked, at least for me. I am not sure it is very good but here it is.$tag=single_tag_title(null,false); $all_posts_in_tag = get_posts(array('tag_slug__in' => $tag,'post_status' =>'any','posts_per_page'=>-1)); $to_show=array(); foreach ($all_posts_in_tag as $key => $value) { if ((wp_jv_prg_user_can_see_a_post(get_current_user_id(), $value->ID))) { $to_show[]=$value->ID; } } if (!empty($to_show)) { $where =" AND $wpdb->posts.post_type = 'post' AND $wpdb->posts.ID IN (". implode(',',$to_show). ")"; }
Thank you again for your plugin
Forum: Plugins
In reply to: [WP JV Post Reading Groups] Private posts in menusThank you for your answer.
The theme I am using is MAKE.
The problem is with the widgets :
I have a category widget in the left sidebar and one of my categories, with 100% private posts, does not appear in this widget no matter the user permissions, even the admin. If I add one public post, it appears in the category widget.
The same is true for the widget monthly archives : if for a given month I have only private posts it does not appear in the list, but if I add one public post then that month appears.If you can try this theme MAKE with these widgets in the right sidebar maybe you can reproduce the problem. I have fond temporary solutions :
For the category widget I use the following trick : I created a public post with a publish date year 1900 that says “no more post” and I gave it all the categories. That way all my categories appear in the menu.
For the date widget I replaced it with a template page which list the posts month by month, using your function “wp_jv_prg_user_can_see_a_post(get_current_user_id()”
to filter the posts and it works : a post appears on the list only if the user has permission.Forum: Plugins
In reply to: [WP JV Custom Email Settings] too many notificationsYes, the new version of WP JV Post Reading Groups corrected the problem.
Thank you Jano for your work and and you fast reaction.Michel
Forum: Themes and Templates
In reply to: [Make] A line between posts on the post pageThank you confessionsofadietitian,
I used your code and it worked !Forum: Themes and Templates
In reply to: [Make] A line between posts on the post pageThank you Chris for your time and your advice. I do not know if I will be able to reach my goal, because I am realy a beginner in CSS, but I am trying. I have already learned how to inspect my page with FireFox. I have not yet identified the CSS the create that line ( maybe a border 1px thick ) but I keep searching and I keep learning.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Network is UnreachableHi ArmourKnight24,
I have the same issue, could you tell me how you fixed it ?
Thanks a lotForum: Plugins
In reply to: [Contact Form 7] reCaptcha not displayed Mozilla ff42Hi Jacqui,
I am sorry that I cannot help you with this one. But you can help me, if you want, with the question “How to hide fields on download table of the DOWNLOAD MANAGER plugin “. You said you’ve figured it out.
Thanks for your helpForum: Plugins
In reply to: [Mapbox for WP Advanced] Problem on Home page (latest posts)Thank you for your fast reply.
The use of suffixes solved my problem. So if the same map is used in different posts, it is preferable to use different suffixes for the different posts otherwise the maps will not show correctly when these posts are selected together ( latest posts, search by categories, by tags, dates …). Am I correct to say that for each new suffix, it is necessary to create a new map ID for the plugin ( not a new mapbox ID )? And in this case, when you will update the plugin, could you pick up the suffix from the data base so that it would not be necessary to include it in the short code, the map ID would be enough ?
Best regards.Forum: Plugins
In reply to: [Mapbox for WP Advanced] Many parameters do not workI used the shortcode mode
Forum: Plugins
In reply to: [Maps Builder - Google Maps Plugin] Major Development Beginning NowHi, would it be possible to have a “Marker shortcode” ?
It would display the map with all its markers, but “focused” ( centered and zoomed ) on a specific marker.
I would also appreciate a clustering possibility.
Thank you for your plugin. Your development program looks great