The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Gazette

Geek Gazette GAZ is a community newsletter management system.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #11  
Old 06-22-2010, 05:30 PM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

okay, I know it's been a while since I've been here but I have this question again

what does this setting do?

admincp > gaz > tools >subscription tools > Subscribe all users > yes

doesn't it subscribe all users to the newsletter?

thx


ps.. I ran the query's and only show 30 subscribers
when I sent an email out earlier this week, it was 1800 or so
How can I get these 1800 setup on the newsletter?

thx
__________________
..get off my lawn

Last edited by Loco; 06-22-2010 at 05:41 PM..
Reply With Quote
  #12  
Old 06-24-2010, 07:29 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Subscribe all users does this:
Code:
if ($action == 'savesubscriptiontools')
{
	$vbulletin->input->clean_array_gpc('p', array(
		'formatall'		=> TYPE_UINT,
		'subscribeall'	=> TYPE_ARRAY_BOOL
	));

	$format 	= $vbulletin->GPC['formatall'];
	$subscribe 	= $vbulletin->GPC['subscribeall'];

	if ($format)
	{
		$db->query_write("UPDATE " . TABLE_PREFIX . "gaz_subscriptions SET emailformat = " . intval($format));
	}

	if (count($subscribe))
	{
		foreach($subscribe AS $newsletterid => $value)
		{
			$newsletterid = intval($newsletterid);
			$db->query_write("UPDATE " . TABLE_PREFIX . "gaz_subscriptions SET newsletter$newsletterid = 1");
		}
	}

	redirect('tools', 'gaz_saved');
}
It depends on what queries you ran. The values in the newsletterX columns in the gaz_subscriptions table are 1 for subscribed and 0 for not.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does not send out Email to users nuvar Geek Gazette 0 03-29-2010 08:58 AM
Use for French Users OlijO Geek Gazette 6 05-28-2008 03:49 PM
How can Users subscribe? Julian Geek Gazette 8 05-23-2007 06:52 AM
EG - Donation links for users mac27 Add-ons 2 05-10-2007 04:49 PM
Users Other Articles Lizard King Geek Article and Review System 0 11-17-2005 04:40 AM


All times are GMT. The time now is 09:30 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.