Redirect only once

Permalink Browser Info Environment
We need all newly registered users to complete a survey when they first register/login. I know I can redirect them on the "next" login by group, but I don't want to have a "new member" group that I have to continue to clear each time (meaning I could setup a new member group, add all registered users to that group, and then force them to the survey page on their next login, but now they all have this extra attribute called "new member" that has to be manually cleared.

Any other approach you can suggest?

Type: Pre-Sale
Status: In Progress
odexcellence
View Replies:
Korvin replied on at Permalink Reply
Korvin
In the other support thread I suggested adding a new group for people that need to take the survey and removing them from it automatically when they have completed or opted out of the survey.
This is definitely the way I'd do it.

Let me know if that answers your question!
odexcellence replied on at Permalink Reply
odexcellence
Korvin,

Thanks. How do you remove it automatically once they complete it?





> On Jan 8, 2015, at 11:01, concrete5 Community <discussions@concretecms.com> wrote:
Korvin replied on at Permalink Reply
Korvin
You can use `$user->exitGroup($group)` to exit a group, $user being a User object and $group being a Group object.

concrete5 Environment Information

# concrete5 Version
5.6.3.2

# concrete5 Packages
Advanced Slider (2.0.1), Alpha (1.0.3), Are You A Human (1.0.1), Blocks by AJAX (2.3.0.3), Cache Filler Job (1.1), Code Blocks (1.2.1), CometChat (2.0.3), Config Info (1.0), Dealer Locator (1.5), Designer Content Pro (1.2.3), Designer Content Pro - Custom Block Storage (1.0), Discussion (1.8.6), Document Library (1.6.4), Dynamic Iframe (1.7), Easy Accordion (1.1.2), Easy tabs (1.7.2), eCommerce (2.8.12), Editor Comment (1.0), Extended Search (1.0), Extreme Clean (1.0), Fileset Portfolio (1.1.1), FlexSlider (2.2.0.5), Formigo Containers (1.0.0), Formigo Slider (1.0.4), Foundation 5 (1.6.0), Google Map Enchanced (1.0.7), GroupDocs Assembly (1.0.4), Iframe (1.0), Keycaptcha (1.0), Last Updated (1.4.2), Link List (1.05), Link System (1.17), Magic Data (2.9.8), Magic Data Symbols1 (2.7.6), Magic Data Templates1 (2.1), Magic Tabs (1.1.0.8), Magic Toggle (1.1), Mailchimp (1.3.4), Maintenance Advanced (1.1), Page List Pro (0.9.1), PHP block by ND (1.0), PHP Info (1.1), Pro Blog (12.4.4), Pro Events (11.1.0), Pro Media (7.5.0), reCAPTCHA (0.9.2), Social Feed (1.7), SQL Info (1.1), Stack Manager (0.9.4), Syntax Highlighter (1.0.1), Templates bundle for Blocks by AJAX (1.0), The Void theme (1.1), Universal Content Puller (1.4.3), Upload and Install Packages (0.9.4.2), Users' Pages (1.0.1), YouTube Channel (1.3.17), YouTube Pro (1.3.7).

# concrete5 Overrides
blocks/ff_login, blocks/jl_magic_tabs, blocks/dcp_vendor, blocks/dcp_vendor_old, helpers/concrete, languages/sk_SK, languages/sl_SI, languages/it_IT, languages/ja_JP, languages/nl_NL, languages/es_ES, languages/fa_IR, languages/sv_SE, languages/ru_RU, languages/zh_CN, languages/zh_TW, languages/tr_TR, languages/de_DE, languages/ro_RO, languages/vi_VN, languages/pt_PT, languages/ar, languages/da_DK, languages/es_AR, languages/nb_NO, languages/es_PE, languages/fr_FR, languages/el_GR, languages/cs_CZ, languages/es_MX, languages/fi_FI, languages/he_IL, models/workflow, single_pages/register.php

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.3.29

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, htscanner, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 4000
memory_limit - 512M
post_max_size - 128M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.