Results 1 to 9 of 9

Thread: Link To Subscribe to All Categories

  1. #1
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Link To Subscribe to All Categories

    This was requested here and seemed easy enough to create and probably useful, so I thought I'd throw a quick plugin together for it. This will allow you to create a new link in vBa Dynamics where your members can subscribe to all categories in one click.

    Installation Instructions:
    1). Download the plugin attached to this thread and upload it via the 'Download / Upload Plugins' link in your Admin CP.

    2). Add the following code anywhere in your templates where you would like for the link to appear.
    Code:
    <a href="misc.php?do=subscribeall">Subscribe To All Categories</a>

  2. #2
    Join Date
    May 2007
    Posts
    27

    Default Re: Link To Subscribe to All Categories

    Many thanks for this Brian.

    Is it possible to also have a function which subscribes to all sub categories in a specific category?

  3. #3
    Join Date
    Jan 2004
    Posts
    820

    Default

    I tried installing this plugin and when I click on the link I created in my template I get the following error.
    Fatal error: Call to undefined function fetch_private_categories() in /home/mysite/public_html/journals/misc.php(106) : eval()'d code on line 3

  4. #4
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Look in the new plugin called 'Subscribe to All Categories w/ 1 click' that was created, replace 'fetch_private_categories' with 'dyna_fetch_private_categories', and that should take care of the problem.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  5. #5
    Join Date
    Jan 2004
    Posts
    820

    Default

    I just did this and added the link to my Dynamics navbar.

    I went to the category I wanted to subscribe to and when I click on the link I no longer get the error but it does not give me any message or let me know anything has changed.

  6. #6
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    It uses vB's standard redirect function. You can force it to show the redirect message by looking in the plugin for this line:
    PHP Code:
    eval(print_standard_redirect(ADV_DYNA_PREFIX '_addedsubscription')); 
    And replacing with this:
    PHP Code:
    eval(print_standard_redirect(ADV_DYNA_PREFIX '_addedsubscription'truetrue)); 
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  7. #7
    Join Date
    Jan 2004
    Posts
    820

    Default

    OK. It now displays the message.

    Now how do I view the categories that I subscribe in dynamics from this mod? There should also be a way to unsubscribe from them. I do not see a way to do that.

  8. #8
    Join Date
    Aug 2005
    Location
    Durham, UK
    Posts
    177

    Default

    Thanks for this...very handy
    Sim Fans UK - Sims downloads and discussion

  9. #9
    Join Date
    Aug 2005
    Location
    Durham, UK
    Posts
    177

    Default

    Is there a way to update this for vB4?
    Sim Fans UK - Sims downloads and discussion

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Upload a link in few categories?
    By lordm in forum Modifications
    Replies: 6
    Last Post: 11-09-2009, 03:55 PM
  2. Seperate Link Categories
    By [Netaudio] in forum "How Do I..." Questions
    Replies: 1
    Last Post: 09-30-2007, 11:32 AM
  3. Excluding Categories Random Link
    By Grae in forum Bugs From 2.0.1
    Replies: 1
    Last Post: 03-07-2007, 01:45 PM
  4. Error when looking at link categories
    By palimpsest in forum Troubleshooting & Problems
    Replies: 10
    Last Post: 02-02-2006, 12:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •