Hi, I've been struggling all day with this, and now I have to ask, since I've searched and read a lot of issues, and found nothing to help me.
Is this module supposed to send emails out to the experts that are assigned to various terms?
Or do I need the subscription module for that? (Says here I need it: http://drupal.org/node/192806)
I can't make subscriptions send out to others than myself, when it's unpublished nodes.
If I need subscriptions, then why the field for "notify" on top of the settings page?
It sends out to the "default" expert just fine, I've changed that person a couple of times over the day, to try different roles, and it's working perfect for the chosen user. But I have different experts, who will need an email when a new question is asked. Not just the default expert.
Am I missing something?
I have followed all the steps here: http://drupal.org/node/266823
I'm not very technical, but I know my way around Drupal by now, I think :)
The experts assigned to different terms can view the questions they should in the "uanswered questions" block/page, and answer them too, so I really don't get it.
It's the last missing piece of my little puzzle, and I so wanted it to work, but I must admit, I'm totally stuck on this problem.
Any advice?
Thanks in advance :)
Comments
Comment #1
stenjo commentedThis might well be a bug that I've missed in implementing this feature.
Let me have a look at it and try and recreate your problem.
Comment #2
soelver commentedThank you for the quick reply, stenjo :)
Will check back to hear what you find out.
This is just a great module. I was so happy when I found it :D
Great work from you and NancyDru.
Comment #3
soelver commentedI don't know what happened now.
I don't remember to have changed anything, and now my experts haven't got the right to access questions that are on their list www.example.com/faq_ask/unanswered.
The list still display the right categories for the chosen expert, but they can't access the questions. But they have the right to enter the node/add/faq (full form), and if they ask a question, they can answer it themselves (from the list), but not the question others have asked. Should they be able to see the questions on the list, but not edit them? That doesn't seem natural.
I had some problems with this yesterday too, but the problem seemed to dissappear, and all worked (except the email thing).
I have double checked all rights and settings, and can't find anything to indicate what's wrong.
I tried to change the default expert to another user, but he still couldn't access the questions itself, only the list with unanswered questions. I have cleared cache, run cron, checked my php-update...
Edit:
I granted "adminster content" rights to the experts, and then it fixed the access problem.
I have content access module enabled, and have granted rights per role to different content types, and it worked with FAQ alone, but not with FAQ_Ask. So I guess there's some problem there.
I'm not happy with such big rights given to someone who's not familiar with our site in general, but just have accepted to answer questions.
Is this normal? Do you have experience with FAQ_Ask, with content access module enabled at the same time?
Sorry for all the questions.
Edit 2:
I'm not sure, but I think this part is my own problem. I might have an issue with content access, that's not working well anymore.
Edit 3:
Now I've disabled the content access module, and no difference.
My experts can't access the questions, even if they show up correctly on their list, when they click the link to answer the questions, they get "Access denied".
I still have to give them "Administer content" rights. And I just want them to have access to the FAQ.
Edit 4:
So, now I've enabled my content access module again, since it made no difference, and I've done some testing.
The only contenttype with problems is FAQ (or FAQ_Ask, I don't know how it works).
Whenever I change settings on admin/user/permissions, it resets the permissions from content access. Like it's not really registered.
But only on FAQ content - I checked all the others, and their permissions stays fine.
For now, I'll keep the "administer content" right for my experts, as I really want this to work, but something is wrong with the permissions.
Comment #4
Jānis Bebrītis commentedwhat about mailing to specific expert? any patches available?
Comment #5
soelver commentedI've totally given up, to make this work. So I mail the experts myself, get their answers on mails, and then edit the questions.
Of course, that works, but not like I imagined, and not in the way, I suppose this was intended to work.
Would love to see this work in a proper way.
Comment #6
senpai commentedQualcomm needs this feature to work ASAP, so we're looking into what's wrong and how to fix it. If anyone gets a patch before we do, we'll take it. :)
Comment #7
stenjo commentedSorry, have not time at the moment to work on this. Feels right to let this issue loose to anyone wanting to do some work and submit a patch...
Comment #8
soelver commented#6 > Sounds great, if you could find out what's wrong. I wish I could find out myself, but it's way out of my league :(
Since we're on a live site with this now, I can't test on that site, but I could make a fresh installation to test on, if you come up with a patch.
Comment #9
skolesnyk commentedIs it true that module will work only when "tags" option is checked on faq vocabulary settings page? Looks to be true, because the module is hard-coded to process only tags, not terms selected from the list.
Comment #10
skolesnyk commentedI think the best workaround is by using Nodecomments with comment notify module or subscription/notifications module. Using the latter you can assign specific users to terms/categories and have them notified when user adds a comment/creates a node with specific term selected.
Comment #11
senpai commentedUpdate. I got pulled onto something else and am no longer focused on fixing this bug.
Comment #12
stenjo commentedFound the bug and fixed it.
Any other expert than the default one qot all the mails when questions were posted. Have created a test too to detect this thing.
Seems to be working now, so please test, and I'll ship a minor version soon.
Comment #13
f1mishutka commentedI have an error message
line 401 is a foreach right after this comment
So I think this error connected to this issue :)
Comment #14
f1mishutka commentedI think this is because I've set "Only expert can categorize" checkbox, so there is now taxonomy drop-down on "Ask a Question" page. And then $form_state['values']['taxonomy'] is not an array when processing submit.
Comment #15
stenjo commentedShould be fixed now in the latest dev
Comment #16
stenjo commentedFixed in 2.2