Closed (fixed)
Project:
Forum Access
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2011 at 22:10 UTC
Updated:
21 Feb 2011 at 23:20 UTC
Hello again. I am testing the pre-alpha4 of Advanced Forum now and found an incorrect interraction with Forum Access.
Advanced Forum is restyling the comment links by hook_link_alter (inserts some divs around links)
But then forum_access is using hook_preprocess_comment and calls module_invoke_all('link', 'comment', $variables['comment'], 0) there. The links are rebuild and styling is lost.
If I place a part of the Advanced Forum code afterwards I can get the styling back, but that is a weird solution.
I thought one could call module_invoke_all('link_alter',...) here but can't get the proper syntax.
A small discussion at AF: http://drupal.org/node/868942#comment-4010894
Comments
Comment #1
salvisPlease try the -dev version of FA (and a recent version of Drupal).
Comment #2
__Sander__ commentedWorked for me, thanks! Used the dev of 2011-Jan-07
Comment #3
salvisThanks for letting us know.
Comment #4
meustrus commentedI switched to the -dev version for this reason, and now I'm missing several of my links on comments. I only see the "edit" and "delete" buttons, and although I have permission to edit all comments I only see the "edit" button on my comments. I have Abuse and Vote Up/Down installed, both of which create comment links that aren't there anymore.
Comment #5
salvisYou bring up two new issues that are completely unrelated to Advanced Forum, right?
Please open two new issues. For the edit/delete issue, double-check (and list) the permissions you have and the Permissions Information on the Forum administration page.
Comment #6
meustrus commentedThe reason it's here is because I don't know if AF had anything to do with it. I've double-checked the permissions in both places. It was fine before I installed -dev, and now it's not. No settings have changed.
Comment #7
salvisDisable AF temporarily to find out...
Comment #8
meustrus commentedOK, when I disabled AF the problem was still there. Want me to start a new issue then?
Comment #9
salvisYes, please, two new issues, one for edit/delete and one for third-party module links, because these are different issues.