Plugin Author
inapan
(@inapan)
@mrmclen
I hope I understand you right but perhaps you can accomplish what you need by a small hack:
Try changing line 816 in version 1.8 of the quick-post-widget.php file, the line which says
if ( current_user_can('publish_posts') )
to
if ( is_user_logged_in() )
This way all logged-in users, also subscribers, can create posts with the Quick Post Widget.
Is this a solution?
By the way, on one of my sites I use the WPLite plugin to restrict admin access.
Perhaps the best way: I just tried the User Role Editor plugin and gave only publish_posts to Subscriber and it works. This way I think you can accomplish what you need without hacking.
inapan
I tried your hack because that is what I want, and THANK YOU for your quick response. Unfortunately the widget still does not show up for a basic subscriber. Is there another line in the code that tells it when to show?
I will try the plugin you suggested until I hear back…
Maro
Well I did get it to work using Kahi WP Lite which let me specify a user level. It seems excessive but it works. I think your plugin would be PERFECT if you could put up different widgets and choose which user would see which widget depending on their user level.
This way a subscriber might see a widget to post to a particular category, and admin would see a widget that lets them post from the front end, etc.
I would pay for that!
Maro
Plugin Author
inapan
(@inapan)
Glad it’s working now and strange the hack didn’t do what I expected. It worked on my testsite.
As for your suggestion, I will give it some thoughts.
inapan
I think i moreless undestood @mrmclen question,… i use DINAMYC WIDGETS ” plugin to choose which user would see which widget depending on their user level”.
Wow @diogo15 I will take a look at that. That is exactly what I am looking for. There is no need for a visitor to see an admin’s quick post widget, and there is no need for an admin to see visitor quick post contribution.
Thanks!
Diogo15 -> pls give me your e-mail i have got good deal for U .. or write me on [email protected]
@inapan
Thanks for the heads-up on the User Role Editor plugin. I was faced with the same dilemma as mrmclen and this worked perfectly for me.
Any chance of a future version of OQP having a frontend option for editing posts? Perhaps limit that capability to editing only the post on which the “Edit” link appears. TDO-Mini-Forms has that option, but no visual editor… I prefer yours 🙂
Great plugin, thank you!
Plugin Author
inapan
(@inapan)
@pcwriter
The plugin is evolving so perhaps in the future. I am limited in time but every now and then I build some new functionality and release it. Editing from the front-end is a one of the options I keep in mind.
By the way, OQP you mention is another plugin ;-). This one is called Quick Post Widget, or QPW.
inapan
@inapan
I just noticed your reply now (already a month went by… wow!).
Oops for the name confusion, my bad 😉
Today I’m a happy camper ‘cuz after updating the plugin, I see you’ve added not one, but two cool features. The new in-form visual editor is sure to please the less tech-savvy users by eliminating the need to launch it manually. Thanks for that!
Discovering the new widget area and shortcode is an uncanny coincidence as only last week, I had added a new in-content widget area to my theme, with a shortcode to include its contents in pages. It was done specifically so I could use Quick Post Widget in content. I guess great minds DO think alike 🙂
And I have a question for you: I’ve set max sizes for media uploads and embeds in WP media settings to fit my post content area, but large embedded images are not resized, they appear cropped instead. Do you have any suggestions for a code edit or addition?
Thanks again for the updates to this very useful plugin! (I’ve subscribed to be notified of replies this time…)