Hi,

I would like users to access subscriptions only through their user pages, and i'd like them to have the choice of subscribing or unsubscribing to content types only - preferably a single check box!

is this possible? i don't want them to have the option of subscribing to comments, forum posts or updates, just the creation of content in two content types.

thanks,

david

Comments

david.a.king’s picture

argh i can't believe i didn't check this out for normal users before posting.. sorry, deadlines etc etc..

it does allow just this with only overview and content type tabs visible..

as a half hearted save of my embarrassment, is it possible to hide the "overview" tab somehow?

sorry again,

david

salvis’s picture

No problem.

No, I don't think you can hide the Overview tab — it's the default tab. You can hide many of the options on the Overview tab, though.

sammy-node’s picture

Hi Salvis - I've got a similar issue as David - it would be great if we could get the the main subscriptions link to bypass the Overview page and default straight to the Categories Tab (or whichever single subs selection type is being run). If there's only one that's being used by a site it's not intuitive to have that Overview tab there. It'd be nice to have the option to remove the extra step for users to get to their subscription selections as part of the project default instead of having to hack the main file a bit like I ended up doing (truly great work on this project btw!!)

salvis’s picture

The Overview page also has the User Settings...

sammy-node’s picture

yes it does and thats a cool feature - but the site I've set up is a simple one and the subscription requirements are basic. I've switched off most of the visitor controls and have hacked the module - somehow(!) - so that it goes straight to the "subscription category list" and leaving out the overview tab, which is really all the site visitors need or want. I imagine that this would be a fairly common situation for other high-traffic/low-involvement sites.

I'd definitely appreciate it if this feature somehow made its way into this project and I think others might too :)

neuromusic’s picture

I'm evaluating different options for a similar need. All I want is for users to subscribe to receive an email when new content is posted for certain categories).

I am going to offer my vote for this, too. Until then, I will keep looking for a solution that doesn't require module-hacking :)

break9’s picture

I completely agree with comment #5. I have a high traffic low user involvement site where I don't want the user to have any settings options. I would just like to create subscription taxonomy links on the pages I need, and a very simple interface page where the user can see what they have subscribed to and remove a subscription with a checkbox if they wish.

jwarner’s picture

I too need to implement this for my work. In my case, I need to accomplish exactly what #5 is trying to accomplish - showing the "Categories" tab only.

clems’s picture

Same here. I don't want users to fiddle with the settings, just to subscribe to a taxonomy term. I tried disabling the tab in a custom module with hook_menu_alter(), bu to no avail.

tanjerine’s picture

Version: 5.x-2.2 » 5.x-2.4

hi, i needed to do something similar for a client, so i kinda hacked the module. here's what i did on subscriptions-5.x.2.4 --

starting with line 94 of subscriptions.module

        if ($items = _subscriptions_menu($account, 'user/'. $account->uid .'/subscriptions')) { // this is line94
          $items[] = array(
            /** EDITED to simplify the subscriptions page. -- sarah20090209
             * THIS basically removed the overview page (overview container) and put the taxonomy subscription page on the
             * top of the user account menu so it's kinda messed up in the superadmin account menu but it looks okay
             * on everyone else's page.
             */

/* MAKE the next line 'path' point to the subscription category page you want the user to go straight to. in my case, i need the user to go to the subscriptions taxonomy page. also set the callback & callback_arguments to correspond accordingly. */

            'path' => 'user/'. $account->uid .'/subscriptions/taxa',  
            'type' => MENU_LOCAL_TASK,
            'title' => t('Manage Subscriptions'),
            'callback' => 'subscriptions_taxonomy_page_taxa',
            'callback arguments' => array($account, $form)

            //'path' => 'user/'. $account->uid .'/subscriptions',
            //'callback' => 'subscriptions_page_user_overview',
            //'callback arguments' => array($account)

            /** END EDIT */
          );

hope this helps. :) (commenting made for more clarity/explanation)

salvis’s picture

Version: 5.x-2.4 » 6.x-1.x-dev
Category: support » feature

We need to start on the D6 version and can back-port afterwards (or in parallel). And we need a solution that doesn't break existing functionality, i.e. we need some kind of setting that allows any one of the subtabs to become the MENU_DEFAULT_LOCAL_TASK in place of the Overview subtab.

@tanjerine: What you do is very messy. You end up with two definitions for

'path' => 'user/'. $account->uid .'/subscriptions/taxa',

and none for

//'path' => 'user/'. $account->uid .'/subscriptions',

And

'path' => 'user/'. $account->uid .'/subscriptions/overview',

remains the MENU_DEFAULT_LOCAL_TASK — I'm surprised that this even works...

salvis’s picture

Status: Active » Needs work
salvis’s picture

Status: Needs work » Needs review

Implemented in the 6.x-1.x-dev version. Give it up to 12 hours to be repackaged.

Please check whether this does what you want, before I release the next BETA version.

bettyatolive’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta5
Category: feature » support

Is this issue solved for Drupal6? I also want only the Categories page to be displayed. Want the overview page to be removed for user. How should this be done? I read thru the posts above. I could not find where to change the code for drupal 6. Kindly help. Thanks

salvis’s picture

Version: 6.x-1.0-beta5 » 6.x-1.x-dev
Category: support » feature

There's a checkbox on the -dev version's configuration page. Not in BETA5.

No one has cared enough so far to try it and to provide feedback...

salvis’s picture

Status: Needs review » Fixed

Seems like everyone is happy.

Status: Fixed » Closed (fixed)

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