How do I let new users to automatically subscribe to the fee

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

How do I let new users to automatically subscribe to the fee

Postby msilvya » 25 Jun 2013, 21:21

I just set up my tt-rss site and I've set ENABLE_REGISTRATION to true in config.php. But when new users register, they are subscribed to the default Tiny Tiny RSS: Forum and Tiny Tiny RSS: New Release feeds by default and not the RSS feeds that I have created as an administrator.

I was just wondering if there's a setting/way that would allow newly registered users to be automatically subscribed to the Feeds that I have set up as an administrator of my tt-rss site?

And thank you for making tt-rss. Now nobody can tell me again to move my feeds. Take that Google! :evil:

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: How do I let new users to automatically subscribe to the

Postby fox » 25 Jun 2013, 21:34

There's no setting for that, you'll have to hack the code.

msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

Re: How do I let new users to automatically subscribe to the

Postby msilvya » 25 Jun 2013, 21:40

Last edited by msilvya on 04 Jul 2013, 11:40, edited 2 times in total.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: How do I let new users to automatically subscribe to the

Postby fox » 25 Jun 2013, 21:53

You only need to modify initialize_user(), schema stuff is for your default admin user only.

msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

Re: How do I let new users to automatically subscribe to the

Postby msilvya » 25 Jun 2013, 22:08


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: How do I let new users to automatically subscribe to the

Postby fox » 25 Jun 2013, 22:13

Yes, don't use bbcode in SQL though.

msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

Re: How do I let new users to automatically subscribe to the

Postby msilvya » 25 Jun 2013, 22:28


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: How do I let new users to automatically subscribe to the

Postby fox » 25 Jun 2013, 22:40

Look for SQL errors in the log. This should be the place where those feeds are entered, so I dunno what could be wrong.

msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

Re: How do I let new users to automatically subscribe to the

Postby msilvya » 25 Jun 2013, 23:05


AngryChris
Bear Rating Master
Bear Rating Master
Posts: 135
Joined: 08 Apr 2013, 02:42

Re: How do I let new users to automatically subscribe to the

Postby AngryChris » 26 Jun 2013, 00:02

Are you using an opcode cache like APC? And if you are using APC, do you have apc.stat=0 set in its configuration? If you do, then you may need to either clear your cache or bounce your webserver (if apc.stat is turned off, files are only cached the first time they are accessed, not when they change).

EDIT: Ignore this post. :P

msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

Re: How do I let new users to automatically subscribe to the

Postby msilvya » 03 Jul 2013, 16:47

Digging this thread again as I'm stuck with assigning the default feeds to a set of categories.

What I mean is: Currently when a user signs up, all the default feeds are assigned to a category called Uncategorised - As I posted above, I have been able to achieve this.

BUT going beyond what I have achieved, Is there a way to assign the default set of feeds to a particular category with the categories also automatically created besides the feeds? For example, Category 1 and Category 2 are automatically created while Feeds 1, 2, 3, 4 are automatically assigned to the Category 1 and Category 2 the way I want it.

So, when a user registers to my ttrss site, the user sees the following set of default feeds I have created.

Category 1
Feed 1
Feed 2
..
Feed n

Category 2
Feed 3
Feed 4
..
Feed n

and so on?

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: How do I let new users to automatically subscribe to the

Postby sleeper_service » 04 Jul 2013, 00:25


AngryChris
Bear Rating Master
Bear Rating Master
Posts: 135
Joined: 08 Apr 2013, 02:42

Re: How do I let new users to automatically subscribe to the

Postby AngryChris » 04 Jul 2013, 01:06


msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

Re: How do I let new users to automatically subscribe to the

Postby msilvya » 04 Jul 2013, 13:44


msilvya
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 25 Jun 2013, 21:06

Re: How do I let new users to automatically subscribe to the

Postby msilvya » 04 Jul 2013, 13:48



Return to “Support”

Who is online

Users browsing this forum: No registered users and 11 guests