Download & Extend

form_alter() out the forum selection widget from post form

Project:DruBB
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:DruBB topic/reply post form

Issue Summary

Per #472590: Meta-issue: Make posting form more like phpBB's.

It's dumb and confusing and has to be stopped!

Comments

#1

AF issue: #269560: Hide drop down forum list from non admins . Has a patch but took an approach I wasn't keen on.

Michelle

#2

We could go extra militant here and disallow access to node/add/forum (without a forum specified) altogether. Then people would basically /have/ to use the "New topic" buttons. I'm not sure if it's worth going that crazy.

#3

I wouldn't hide node/add/forum I would just turn the forum setting into #type => value if the forum is specified in the URL, or if it's an existing post and the editor isn't an administrator.

#4

Sounds reasonable.

#5

Status:active» fixed

Ok, I used that patch as a basis and committed http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/drubb/drubb....

We are probably ultimately going to want to find a different permission to base this around than "administer nodes" but this should work for now.

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.