A
A
Alexander Chibilyaev2016-01-11 03:30:20
PHP
Alexander Chibilyaev, 2016-01-11 03:30:20

How to subscribe to Bitrix for unauthorized users?

Good evening. Tell me how to subscribe for unauthorized users in the "Mailouts" module??
Here are the settings7fb2a38351e3461a94d8a0a4438e9256.png

<?$APPLICATION->IncludeComponent(
  "bitrix:subscribe.form", 
  ".default", 
  array(
    "USE_PERSONALIZATION" => "Y",
    "PAGE" => "#SITE_DIR#personal/subscribe/subscr_edit.php",
    "SHOW_HIDDEN" => "N",
    "CACHE_TYPE" => "A",
    "CACHE_TIME" => "3600",
    "COMPONENT_TEMPLATE" => ".default",
        "ALLOW_ANONYMOUS" => "Y"
  ),
  false
);?>

Here is what the site writes "You are not authorized. Subscription management is possible only for registered and authorized users."
How to fix for anonymous users???

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-01-11
@AAChibilyaev

Use the bitrix:sender.subscribe component

V
Vitaliy K, 2016-08-10
@revenger

Try to add using API
www.khtulhu.org.ua/veb-programmirovanie/568-bitrik...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question