Been using this module in place for a long time. Client asks if there's a way to turn off the waiting list for some events and leave it on for others. I thought there was, but in looking, I can't find it. Am I being blind or is it not possible yet?

Thanks!

Comments

WattDesigns created an issue. See original summary.

rudiedirkx’s picture

Status: Active » Fixed

You are blind =)

Most options are shared between NR type and NR event, including waitinglist. The NR type settings are the defaults for all new NR events. They're on the settings page: node/24/node_registration/settings, so maybe your client doesn't have access to that. The checkbox label is Allow exceeding capacity (waiting list).

wattdesigns’s picture

Perfect!!!! For some reason, I must have disabled the tab or whatever to that link. Once I type it in manually, there's the setting I need.

I can get to that page through the Home » Administration » Structure » Node registration links that does the settings globally, but is there a direct way to get to there through the node without typing in the link?

I've used Tab Tamer on this site, but can't find that tab on the list that I may have hidden it.

Thanks for helping me see!!!!

wattdesigns’s picture

HA! I found it! I can see! I can see!!!!!

Turns out I did indeed hide it using tab tamer, but then I forgot to flush my cache after making the changes (Tab Tamer even reminded me to do that, if I would have read the status).

And there's the tab! Thanks for all your help steering me in the right direction.

wattdesigns’s picture

Dang it, I thought I had it. Now I think I'm down to a permission issue. When using the Registration tab, I can see the Registrations, Settings, and E-mail ovals in the upper right menu. However, my client can only see the Registrations and E-mail ovals....no settings. I've looked over the permissions and can't find one that he as the admin user wouldn't have. Any ideas?

rudiedirkx’s picture

That page requires 'registration settings' access. The default:

case 'registration settings':
  return _node_registration_node_type_enabled($node->type) && user_access('administer node registration', $account);
  break;

nr_owners (the submodule) adds to that:

if ($op == 'registration settings') {
  if (_node_registration_node_type_enabled($node->type) && $account->uid == $node->uid) {
    return TRUE;
  }
}

I think you can deduce from that what you need.

It's very very useful to get to know Drupal module structure. If you're curious what access a page has, go to the module's module file and look for hook_menu(). It will have 2 keys like these:

'access callback' => 'node_registration_node_access',
'access arguments' => array(1, 'registration settings'),

and that's where to find the access requirements.

wattdesigns’s picture

Thanks for explaining where that information is. That will come in handy in the future as I'm not much of a coder.

The problem is, I can't find that permission in the permissions table. I looked, and then used the browser search for both settings and registration. Can't find anything. In the Node Registration section, Admin has all the permissions. That's where my problem was.

HEY! I FOUND IT!!!!!! It's not in the permissions table after all! You know this, but I'll type this up in case someone else has my same problem.

If you go to Structure, Node Registration, and then Settings (so the global settings defaults), there's a menu at the top that was collapsed initially called Events. If you expand that menu, there's a check-box called

"Disable settings tab on node page
Access denies the settings tab for all people without Administer registration permission."

There's where that permission was hiding!

Again, thanks for all your help and especially for the teaching! I like knowing how to find the answer for myself more than just the answer itself.

Status: Fixed » Closed (fixed)

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