View Full Version : Gaz Subscription Problem
KenDude
07-22-2008, 06:44 AM
Morgan,
After sending out my newsletter tonight I noticed that it seems that NEW members when they register have the receive newsletter flag in their profile set to NO by default. I would like to set that to YES by default, but did not see how to do so. Can you help?
Additionally, I now have about 800-900 members whose flags I'd like to turn to YES from No. When I go into the subscriptions and try to sort by members with their subscription flag to NO who have joined the site since May 1, 2008, I am getting ANY member with the flag to No, it is as if it is ignoring the combination of criteria that I am trying to set.
Can you help me get these members (and only these members) set to YES please?
Thanks!
KenDude
07-22-2008, 06:56 AM
BTW in Newsletters for the only newsletter I have (called monthly newsletter) the setting for:
Default to subscription?
Users will be subscribed to newsletter by default
Is set to YES. Yet, it is NOT defaulting to subscribing members.
Morgan, I think you still have access to my admincp if you'd like to take a look.
Morgan
07-23-2008, 02:37 AM
Grab the GAZ package again, FTP the PHP files to the server, overwriting the old ones, re-import the product-gaz.xml file via the ACP (do not uninstall, do not revert templates for this update, do allow overwrite).
KenDude
07-24-2008, 05:32 AM
Morgan,
I did as you requested, now I'll check new members and see if they get subscribed by default as they should be. Is there any way to quickly fix the new members in the last 2-3 months who have their subscription set to NO without affecting members prior to that time who might have chosen not to subscrbe? In other words turn the subscription ON for members new to the site since xx/xx/xxxx date? When i try searching in this fashion in the subscriptions section of admincp it doesn't like that combined search, if I tell it to search for new members since say May 1, 2008 who are set to NO, it returns ALL members set to No, at least it did the other day, I'll go check that again after this upgrade. What all was fixed in 2.02?
KenDude
07-24-2008, 05:35 AM
Oh and is there also any way I can send these people new to my website since May 1, 2008 the latest newsletter since they didn't get it when I just sent it out???
KenDude
07-24-2008, 05:38 AM
Ok the searching under subscriptions seems to work correctly now so I was able to identify those members who were not auto-subscribed and subscribe them, now I just have to figure out how to send them the newsletter.. :)
Morgan
07-24-2008, 09:24 PM
The subscription search will let you find those users between the cracks so to speak, but nothing to send just to them unless you do it manually.
KenDude
07-24-2008, 09:31 PM
How do you manually send 1 person a newsletter btw? Is there any way to manually send to a single group? So if I dumped all those members into a group could I get them all by manually sending to only members of that group?
Morgan
07-24-2008, 10:18 PM
Individual emails can be sent via the newsletter.php page using the email to a friend option, assuming you have permission. No send to a certain group exists, but you might be better off just doing a copy-paste of the email addresses found via the subscription search and forwarding a BCC newsletter email to the manually created list of emails.
KenDude
07-28-2008, 05:49 AM
Thanks! Sounds like a future feature request then! :)
KenDude
08-21-2008, 05:38 AM
Morgan,
This error has crept back in somehow. I checked my newsletter settings and they are set to subscribe the user by default, yet new users that are signing up are NOT having it set to being subscribed by default. You should still have access to my admincp, can you help?
Thanks in advance!
BTW I run a subscription query for users with the newsletter set to NO and who joined the site in the last week and it only shows me 10 or so members, yet EVERY member joined in the last week has their newsletter setting set to "No" when I look at their account in admincp. So something isn't right with the subscription queries either, just wanted to point that out too.
Morgan
08-21-2008, 11:39 PM
What happens if you sign up as a new member, not via the ACP, but through the front-end like other people need to do to register? Also, what is the query you are running?
KenDude
08-22-2008, 01:46 AM
If I sign up as a new member via the front end, it is marking me as NO for the subscription.
The query I am running is for subscriptions set to NO and for members with a join date say since 8/15/08 and it comes up with say only 10 people, but I can go through members 1 by 1 that have joined in the last week manually in admincp and see that their settings for newsletter is actually NO instead of Yes and there are more than 10.
Do you need me to do screen caps? Or if there is a time when you can come onto the site I'd be happy to talk through it by phone or chat, etc.
Morgan
08-23-2008, 05:32 AM
No, I don't need screenshots on this. What is the actual query you are running? UPDATE ... or ???
KenDude
08-23-2008, 06:05 AM
I am using the SUBSCRIPTIONS item in admincp, that brings up a page that allows you to search for various combinations. I'll do a screen cap, I don't seem to be coming across clearly enough.
Morgan
08-23-2008, 06:14 AM
No, I don't need a screenshot. You said that you were running a query, so I thought you were running a query, not using the ACP subscriptions feature. Will look at this sometime over the weekend; it's 2AM now here and I'm so done for the day/week.
KenDude
08-23-2008, 06:23 AM
Here are the screen caps to show the query I ran to have it display the members who have newsletter selected as NO in their profile in the last week. As I said the default should be YES but it obviously isn't because these people aren't choosing NO, it is just defaulting that way for some reason. The other day the query produced just a few results now those have grown to beyond what I can capture in a single screen.
BTW if a new user selects "NO" for admin emails, does it automatically default their newsletter choice to NO as well? Or can they select no admin emails but still have newsletter defaulted to YES?
A follow up question, during my registration process from the home page, just signing up as any new user would, there doesn't seem to be any choice for selecting the newsletter or not. Only after they have registered can they go back to the control panel and then make their choice. That's "ok" with me as long as their default is YES to the newsletter instead of No, which as I said doesn't seem to be the case for new users signing up on my site despite having it set that way in admincp. You still have access to admincp if you log into my site.
KenDude
08-25-2008, 04:48 AM
Morgan, sorry for saying "query" when I was just using the admincp subscriptions functionality. Do you have everything you need at this point to try and develop a fix? Let me know if you need something more from me.
Morgan
08-26-2008, 02:59 PM
FYI on this, nothing found yet, will need to look again and do some more tests. Will post back with results when done.
KenDude
08-27-2008, 02:44 AM
Ok thanks, please keep me apprised and I'll check back in from time to time to see what gets posted here.
KenDude
08-31-2008, 01:44 AM
Just checking in to see if there have been any updates or you've gotten test results back.
i have the same problem..
What happens if you sign up as a new member, not via the ACP, but through the front-end like other people need to do to register? Also, what is the query you are running?
i've done everything you said.. also overwrited the php files ... but there is still the problem..
maybe i should enable something in the general options of vbulletin? (but i can't find anything in there!)
thanks ;)
minstrel
09-02-2008, 11:34 AM
I am also having this problem. Setting correct but the default for new registrations is still "No".
Morgan
09-03-2008, 02:00 PM
Ran more tests, examined code again, still nothing found, so at this point, don't think this is a bug. If the ACP -> GAZ -> Newsletters -> click a newsletter link -> Default to subscription option is set to yes, then on the registration page, yes will be marked for that newsletter, and if the new registeree leaves it as yes (note that the new registeree can change it to no), then yes is entered into the gaz_subscriptions table for that newsletter (assuming the new registeree left it as yes), and the newsletter shows as marked in the ACP -> GAZ -> Subscriptions (again assuming the new registeree left it as yes). The 'default to subscription' option has no effect during registration for newsletters that are not active. The following file/templates are used to display/process the default to subscription option during registration:
PHP File:
gaz_user_subscription.php
GAZ Templates:
gaz_profile_subscriptions
gaz_profile_sub_option
The only thing I can suggest is to make sure you are using the latest version of GAZ and revert the two templates listed herein if they were changed from their defaults.
KenDude
09-03-2008, 03:15 PM
I have the latest GAZ and used the templates that came with it (did not modify templates ever) so I will continue to keep an eye on it. I understand that members can select "NO" during the registration process so I would expect there to be "some" No's but not every or nearly every subscription to say No. I am going to go try to create another new user and I won't touch the subscription setting and I'll see how it saves.
KenDude
09-03-2008, 03:21 PM
Ok Morgan there IS a problem. I just tried to register as a new user on my site and during the registration process there is NO checkbox or drop down list or anything about the newsletter. I don't get a choice, it doesn't show up.
So I completed the registration and then went and looked at the user account and guess what, it was flagged as NO.
So something is amiss with the registration process. You still have access to my site, PLEASE run through the process I just described then log in with your own account that has admin access and see if you can figure out what is going on.
Thanks in advance!
Morgan
09-03-2008, 06:57 PM
Try registering on this site, no need to complete the registration. There will be a newsletter box near the timezone box. If you don't see it on your site, then either you don't have the latest GAZ files on the server or something could be conflicting like a different add-on or skin.
The first thing to try is to grab the GAZ package again and reFTP all the PHP files and then re-import the product-gaz.xml file, reverting only the gaz_profile_subscriptions and gaz_profile_sub_option templates, if changed from their defaults.
KenDude
09-03-2008, 08:37 PM
Morgan,
No dice, just did that all again, downloaded from here, unzipped, uploaded via SmartFTP, verifying all files, Imported the product allowing Overwrite ALL and didn't revert or touch any templates at all. Tried to register as new member and no option to choose NEwsletter, see attached screen cap.
BTW I did try on this site and it does work here, but not on my site...
KenDude
09-05-2008, 03:39 AM
BINGO! I solved the problem, but only by digging through the code.
I reviewed the code in the gaz_user_subscription.php file and noticed the different instances of where the form would be called to choose to subscribe to the newsletter or not. I compared the one for updating the profile (where it WAS showing up on my site) to the one for registering as a new user and noticed there was a difference in the routines.
The routine used for registering a new user has a usergroup check in it, which seemed odd to me because aren't all unregistered users in that group initially? But anyway that got me to go back and look at my newsletter properties, specifically which groups are allowed to subscribe to the newsletter.
Typically I don't let the unregistered/not logged in group do very much so whenever I set up that newsletter I had unchecked the box to allow that group to subscribe, however, the effect that has is to prevent ALL unregistered members from making a selection as to whether or not they want the newsletter and in that case if they don't get to choose the default becomes NO despite the fact that I had the default set to YES in the newsletter properties.
So for the time being, I simply re-checked the box to allow unregistered members to choose to subscribe to the newsletter, although I have to wonder where in the 1 and 0 writing did it fail to write a 1 instead of a 0 for subscribing to the newsletter if the usergroup the member was in actually had no choice in the matter.
I hope all this made sense you Morgan enough to be able to tweak the code if you feel you need to, but for me the problem is solved by letting the unregistered group be able to subscribe to the newsletter.
minstrel
09-05-2008, 09:10 PM
KenDude, you are the man! :)
I just came here to report that I'm having the same problem and that it's consistent. I'll try your solution.
KenDude
09-09-2008, 04:05 AM
Did my solution work for you?
Morgan, did you see what the issue was in my case? I never saw if you read this topic and solution or not.
minstrel
09-09-2008, 11:32 AM
Did my solution work for you?
Morgan, did you see what the issue was in my case? I never saw if you read this topic and solution or not.
Yes - it now seems to be working correctly. New registrants now have the option displayed and the default is "Yes".
Morgan
09-09-2008, 03:07 PM
Yes, 'usergroups allowed to subscribe' is the one option I didn't think to have you check. It controls what usergroups can subscribe, and if it is unticked for a certain usergroup, then that newsletter is not available to that usergroup, regardless of the 'default to subscription' option. The 'usergroups allowed to subscribe' option doesn't give 'unregistereds' any special power, other than the ability to tick boxes upon registration. The two options work like this: default to subscription for newsletters that are active, both active as in overall active and active as in available to that usergroup. It is a per newsletter setting and not something that'll get changed, as certain newsletters may only be available to certain usergroups, so for those newsletters you wouldn't necessarily want a tick box on the registration or usercp pages, nor would you want to 'default to subscription' if the usergroup cannot subscribe in the first place.
KenDude
09-12-2008, 04:03 AM
Understood Morgan, I just think that if you don't have the 'unregistereds' checked that they ought to get some sort of warning or display that new members will not be allowed to sign up for that newsletter, since we both overlooked that, and others like Minstrel made the same mistake, it would seem that it may be a common mistake and something you'll want to draw a little more attention to in further releases. But please don't let it stop you from getting Geekmart out the door! :)
Ramses
03-20-2009, 06:14 PM
Why is this bug still existent?
Ramses
03-21-2009, 11:10 PM
Just for your information, if you moderate new registrations you need to allow "Users Awaiting Email Confirmation" to subscribe.
Morgan
03-22-2009, 02:39 AM
Please see post thirty-four for an explanation of the settings.
Ramses
03-23-2009, 01:40 AM
Please see post thirty-four for an explanation of the settings.
Ok, I got it. But it may be an idea to make this better clear in the installation instruction or even better if creating a new newsletter a message underneath "usergroups allowed to subscribe". (As on screenshot)
Thanks for your support.
vBulletin® v3.8.5, Copyright ©2000-2024, Jelsoft Enterprises Ltd.