I have a publisher that is not getting the imagepicker area on the create a story page.

I have checked the permissions, emptied the cache and am getting the feature when I (admin) log in to create a story.

I have checked the OS and browser combo being used and that does not seem to the problem.

What should I be checking next? Why am I seeing it, and she isn't?

Thanks in advance for any assistance.

CommentFileSizeAuthor
#7 imagepicker.tar_.gz16.82 KBhutch

Comments

hutch’s picture

Is the Iframe in the source html?

cheriejd’s picture

No, the iFrame is not showing in the source code.

hutch’s picture

OK, then it's to do with The HTML Filters.
from readme.txt
2. Enabling imagepicker
Only users who have the right to use Full HTML filter will be able to use
imagepicker. This is done because Imagepicker uses some HTML, which will be
stipped out if user will not use this filter. Users, who has the right to use
Full HTML filter will be able to use Imagepicker instantly after installation.
If you want to enable Imagepicker module for other users, you will have to
reconfigure filters.

3. Configuring filters
Go to Administer > Site configuration > Input formats. You should see a list of
all available filter in your site. Choose Full HTML and click on the configure
link. In the Roles fieldset select all roles you want to be able to use this
filter and save configuration. To see these changes you will need to clear
Drupal's menu cache, otherwise, you will see Access denied page instead of
Imagepicker.

cheriejd’s picture

I figured it had something to do with that. So I checked all that before I even opened an issue as I didn't want to seem like a moron that would have someone else doing my easy troubleshooting. That just seemed wrong and you never learn if you don't read all you can about something before asking for help.

So, as stated in the initial email "I have checked the permissions, emptied the cache and am getting the feature when I (admin) log in to create a story."

The filters are set to full HTML, all roles are enabled and this is the default.
for filters I have Line break converter and URL filter on. The HTML filter and PHP Evaluator is not checked.
This configuration has been saved.

So all my users have the right to use Full HTML.

Where to now?

hutch’s picture

Access is being denied in function imagepicker_get_access() which allows uid 1 (admin)
The code thereafter is a bit convoluted IMHO but if you are happy with all your users having the right to use Full HTML a dirty but quick hack would be to add
return true;
at the top of function imagepicker_get_access()

Not really a solution but it gets you out of a fix

My own implementations of imagepicker have all got a role for users other than 'authenticated user' and Full HTML is set for that role. Wether that is the reason it's working for me I don't know. Depending on how many users you have that might or might not be a solution. the userplus module and workflow_ng might come in handy.

HTH

cheriejd’s picture

Hutch

Thank you for all the help (and really quick responses). Unfortunately, it is still not working. I do not have a function in any of my code that is imagepicker_get_access(). So that is probably a huge issue.

I would prefer that not all users have full HTML access, but the program gives me no other option when Full HTML is the default.

Should I reinstall imagepicker?

hutch’s picture

StatusFileSize
new16.82 KB

Try the attached imagepicker tarball

You should probably remove the old one completely

You will have to go into Access Control and give permissions to whichever roles you want

You do not have to use Full HTML, just add the HTML tags

<img> <div> <span>

To Filtered HTML

hutch’s picture

Assigned: Unassigned » hutch
Status: Active » Closed (fixed)

There is now a new imagepicker version available, with many new fixes and features