Hello all

(Hope this is the right forum section!)
I'm new to Drupal and I've recently started building a site for an association. During the construction of the site I've encountered my first "major" issue that I haven't been able to solve by searching the web.

Basically when I go to the /forum page with an authenticated user (and a role I've created to be precise) I get the "no forum defined" message, althought with the admin account I can see the forums and the containers I've created. I believe it to be an access issue... but I just can figure out what's not working.

I'm using Taxonomy Access Control to restrict access to some pages, so only the role I've defined can access.
Tryng to make the link to the forum disappear from the main menu for non-authenticated users, I added the module Forum Access along with the needed modules. I also tryed to use the TAC to restrict the access, but I ended up creating 2 separated main menus for the role and the other users.

Now I get that "no forum defined message", and I've tried the following remedies, as I found around drupal forums:

  • removing forum access module and needed modules
  • giving view rights for every word in forum dictionary to the role (and the basic authenticated users) in TAC
  • disabling TAC for that specified role
  • unistalling forum module, deleting forum dictionary, clearing cache, reinstalling it

and all possible combinations of the above, always rebuilding permissions...

I've also found this thread Deleting forum modue and database, but it's for drupal 5.x and I'd rather first see if the problem has a simple answer.

Anyone has any idea on what could be the problem or where could I go look for it?

Thamk you in advance!

Comments

Ashford’s picture

Simplify your test site. Disable any contributed modules that restrict access. You mentioned Forum Access, Taxonomy Access Control.

Without the access restricted, can your Test User access the Forum?

  • No. Check your Permissions for that Role.
  • Yes. Enable just one of the Access modules. Can your Test User now access the Forum?

Having 2 access modules to restrict the Forum page viewing may create a conflict. Or, one of the access modules may not be passing the forum name. Test each module, one at a time.

Good for you to remember to Rebuild Permissions after making changes. Maybe you should also Clear the Cache. Look under admin -site configuration -performance.

For the menu viewing, if the Menu Per Role module is available for D7, it is very easy to use.

sliverin’s picture

I did all that, and nothing changed.

Bu I'm starting to believe it's not an access problem:

  • The test role can see the threads, what he cannot view are the "forums lists"
  • I granted temporarily the possibility to override permissions to that role, and still could not see the forums
  • Installing Advanced Forums (not wisest thing to do to complicate the site) the role can see active topics, and post on them, bu can't still view/access single forums and containers

So even granting full permissions role can't see the single forums or containers

Ashford’s picture

This may not be what the Module Developer intended, however, this is what I would do to save time and aggravation.

Create your own list with Views as a Page View or Block View, according to what you want.

Block View: use admin Block settings to only show your Block on specific pages. Use the wild card in the path (/*) to cover more than one page instance.

Page View: add the Menu Link with the View or use the admin Menu settings and create it manually.

beerbomber’s picture

Your answer is covered there:
https://www.drupal.org/node/1230702

Inside TAC, You need setup the View Tag permission.