By Manish Dhar on Monday, 16 June 2014
Posted in General Issues
Likes 0
Views 1.1K
Votes 0
I have my joomla site using Community Builder for user registration and management. The issue I am having is when I click on the Ask Question on a unlogged user it redirects me to the CB login page, which is what I would like it to do but after logging in, it redirects me to http://www.wmpos.com/index.php?option=com_users&view=profile. Is it CB or easy discuss controlling this? If I use CB login module, I don't get redirected to this profile site at all.
Hello Manish Dhar ,

I have noticed you have hardcoded and customized in this file JoomlaFolder\components\com_easydiscuss\themes\simplistic\searchbar.php
LINE 64
<a class="btn btn-<?php echo $system->config->get('layout_ask_color'); ?> btn-ask pull-left" href="index.php?option=com_users&view=login"><?php echo JText::_( 'COM_EASYDISCUSS_OR_ASK_A_QUESTION' );?></a>

I have help you change back to original code. it work fine now.

<a class="btn btn-<?php echo $system->config->get('layout_ask_color'); ?> btn-ask pull-left" href="<?php echo DiscussHelper::getRegistrationLink();?>"><?php echo JText::_( 'COM_EASYDISCUSS_OR_ASK_A_QUESTION' );?></a>
·
Tuesday, 17 June 2014 00:06
·
0 Likes
·
0 Votes
·
0 Comments
·
hello Manish Dhar,

Try download my attachment file and replace in JoomlaFolder\components\com_easydiscuss\helpers\helper.php and see how it goes.

Actually that was known issues and we already fixed in locally, the fixes will including in next release version of Easydiscuss.
·
Monday, 16 June 2014 22:57
·
0 Likes
·
0 Votes
·
0 Comments
·
It is still redirecting me to http://www.wmpos.com/index.php?option=com_users&view=profile. I want it to redirect me back to the my frontpage instead.
·
Monday, 16 June 2014 23:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manish Dhar,

Can you provide us with your Joomla backend and FTP access so we can help you check on this? Please advise.

*You can put the information in the optional information field below. Don't worry about privacy. Only Support team can view the information.
·
Monday, 16 June 2014 23:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure. Here you go.
·
Monday, 16 June 2014 23:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Yea, I changed it because I wanted that button to redirect non-logged in users to CB's login page. It seems the issue is actually on CB's end as it is the one redirecting to that profile page. Thank you for checking for me. I am now marking this resolved
·
Tuesday, 17 June 2014 00:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manish Dhar,

You're welcome, glad to heard your issues resolved.

I will mark this thread as resolved and lock it to avoid any confusions in the future, but if you need any help please feel free to start a new thread in our forums.
·
Tuesday, 17 June 2014 00:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post