Login blocks not working fully with Login Redirect

Permalink Browser Info Environment
Login blocks don't appear to work for signing in when used with Login Redirect addon including Portland Lab's login block (http://www.concrete5.org/marketplace/addons/login_block/) - when the user presses the "sign in" button on these login blocks nothing happens and it appears login is not working - if the page is refreshed the user has been logged in. Is Login Redirect affecting a refresh event that happens when the "sign in" button is pressed?

Other blocks that this affects:http://www.concrete5.org/marketplace/addons/ajax-login/,...http://www.concrete5.org/marketplace/addons/register-user-pro/.... When Login Redirect is uninstalled, these login blocks all work.

Type: Discussion
Status: In Progress
xigo
View Replies:
andrew replied on at Permalink Reply
andrew
I am having difficulty reproducing this. When I add a login redirect rule (for example, to redirect all users in the Test group to the blog landing page) and I place the login box block on a particular page, logging in with the admin user will log in and return the home page (as expected); logging in with a user in the Test group will take them to the Blog landing page (as expected.)

Looking at your environment information it appears that you have a number of add-ons that might interfere with this process, such as an add-on named 301 redirects.) Please try and uninstall add-ons like this and/or the user registration add-on that you have listed in this ticket in order to isolate the issue.)

Also, is your site publicly available somewhere so that we can take a look at what might be causing this?
xigo replied on at Permalink Reply
xigo
Thanks Andrew - I have retested and it appears that the Portland Labs Login Block is working with Login Redirect as you describe above, but unfortunately other market place login blocks/addons are not working when Login Redirect is installed. These includehttp://www.concrete5.org/marketplace/addons/ajax-login/,... andhttp://www.concrete5.org/marketplace/addons/register-user-pro/... which on pressing the sign in button appear to do nothing, until you manually refresh the page and then logged in messages appears. When I uninstall Login Redirect the above 2 login blocks/addons work correctly when the user presses the sign in button. Unfortunately Register User Pro has some functionality that i need ideally.
xigo replied on at Permalink Reply
xigo
Is there a way to adjust the Portland Labs Login box so that on sign out it stays on the same page?
andrew replied on at Permalink Reply
andrew
I don't believe that's currently something that is possible with the login method – as it forwards the user back to the home page.
andrew replied on at Permalink Reply
andrew
It's entirely possible this doesn't integrate well with the other extensions you mention. Everything you download from the concrete5.org marketplace has been tested and works with the core CMS, but I'm afraid we can't test every add-on with every other add-on in every possible combination.

If you're interested in us spending time working on your own install and customizing whatever code needs to be changed to make these work together, we can put together an estimate for that time.

My apologies we don't have an easier answer.

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
301 Redirects (2.2.1), Advanced Forms (1.11.1), Ajax Login (1.0.1), Aviary Image Editor (1.3), Blocks by AJAX (2.3.0.3), Data Display (2.7.1), Discussion (1.8.6), Document Library (1.6.4), Dojo Content Highlight (1.2), Downloads List (1.4), Dynamic Iframe (1.61), Easy tabs (1.6.9), Expand / Collapse (1.2.6), FlexSlider (2.1.2), Flickrcrete (1.0.9), Formigo Documents Manager (1.0.1), Gallery (1.8.1), Inline Login (1.2.2), Login (1.1.1), Login Redirect (1.3), PHP Info (1.1), Popup Pro (1.6.8), Pro Blog (12.0.0), Pro Events (10.1.2), Register User Pro (1.3.14), Simple Image Gallery (1.1.3), SQL Buddy (1.0), tnSpacer (1.3), Tweetcrete (1.6.8).

# concrete5 Overrides
blocks/autonav, blocks/discussion_topics, blocks/discussion_post_list, blocks/discussion_categories, blocks/jb_register, elements/discussion_messages.php, css/discussion.css.11april2014, css/page_types, css/discussion.css.25mar2014, css/discussion.css, mail/block_form_submission.php, mail/discussion_track.php, mail/block_guestbook_notification.php, models/discussion_track.php, single_pages/login.php, themes/learninglabs.zip, themes/learninglabs, themes/plainyogurt.zip, themes/ips, themes/plainyogurt

# 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, gmp, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, tokenizer, uploadprogress, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 5000
memory_limit - 128M
post_max_size - 100M
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 - 100M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
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 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 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 may not request a refund that is not currently owned by you.