Answers
  • I believe it will automatically redirect if you have jomsocial user plugin installed. Anyway, you can change the url as well in components/com_communityanswers/templates/default(2)/view_question.php at line around 384

    $link = APP_VERSION == '1.5' 
             ? JRoute::_('index.php?option=com_user&view=login'.$itemid.'&return='.$redirectUrl)  
             : JRoute::_('index.php?option=com_users&view=login'.$itemid.'&return='.$redirectUrl);
    

    Answered by Maverick
    5 months ago
  • Jomsocial user plugin? Where can i find this plugin? Because i already installed 2 that i found in your website, but 1 is just for rules and the second is just to display the answers and questions in the user profile... but none of this area to redirect the visitor to the register page of Jomsocial, plus i just see that the link to the recover the password is wrong too and the link to recover the user name also... I hope you can help me.

    Thanks

    Gabriel

    Answered by gabbo
    5 months ago
  • The plugin what I meant is comes with JomSocial, not to be downloaded on corejoomla.

    Anyway, the latest CA version just adds the link to the above url and no popup. So the register/password recover urls will not be shown in CA pages. It simply redirects to standard Joomla login pages (you can change it to JomSocial registration page).

    Answered by Maverick
    5 months ago
  • Ohh ok... i already have this plugin installed, the problem is that with CA the redirections page are not the right, let see:

    I have 2 differents redirections page with Community Answers

    1.- When you try to ask a question without login this redirect to this page:

    http://www.clubhipotecario.com.mx/entrar.html?return=L2Fzay5odG1s

    The 3 links there are from Joomla and not from Jomsocial

    2.- Every time you try to answers a question when you are not logged the system redirects you to the pop up box with the login form, the problem is the same, it has 3 links that redirects you this time to 404 page i don´t know why... this are the 3 pages:

    http://www.clubhipotecario.com.mx/component/com_user/view,reset/
    http://www.clubhipotecario.com.mx/component/com_user/view,remind/
    http://www.clubhipotecario.com.mx/component/com_user/view,register/

    Thank you!

    Answered by gabbo
    5 months ago
  • I think you are using old CA version. Please upgrade to the latest version, clear the browser cache and see if the link is correct.

    Answered by Maverick
    5 months ago
  • Yes i´m using the version 1.7.3 because the newest version has a problem with the search engine of CA and show 500 error page every time i want to search for a question.

    But one more question, in the code that you provide me, What i supose that i must change?

    $link = APP_VERSION == '1.5' 
             ? JRoute::_('index.php?option=com_user&view=login'.$itemid.'&return='.$redirectUrl)  
             : JRoute::_('index.php?option=com_users&view=login'.$itemid.'&return='.$redirectUrl);

    Answered by gabbo
    5 months ago
  • Hello again, i already change the links and works fine... But i have a problem with the return false javascript when i try to submit a Question without login, it redirects me to the default login system and not to the Jomsocial component. How can i redirect to the form of Jomsocial and not joomla registration page? Thank you very much for your help.

    Answered by gabbo
    5 months ago
  • The latest version v1.8.2 does not have any issue with search, as it is in demo here. Please do let me know if you face any issue so that I can resolve it (contact me through contact us page).

    In the above code you need to insert the JomSocial login/registration page url at appropriate location.

    $link = APP_VERSION == '1.5' 
             ? JRoute::_('COMMUNITYURLHERE&return='.$redirectUrl)  
             : JRoute::_('COMMUNITYURLHERE&return='.$redirectUrl);
    Answered by Maverick
    5 months ago
  • Hello Maverick

    The problem is with the submission buttom everytime i want to ask without login... the login page that shows me is the Jomla´s page and not Jomsocial. There is anyway to redirect properly to Jomsocial page?

    I decide to keep CA version 1.7.3 because i have solved the issue of 500 error page, and when i installed (today) the latest version of CA, the 500 error page in the search engine starts again, plus, the problem of the redirection to the Joomla page is present in bothe versions. What can i do to solve it?

    Answered by gabbo
    5 months ago
  • There is no way you can get the redirect unless JomSocial can do that. Standard Joomla login form has redirect feature which is what we are using. If the same is not supported by JomSocial, it is not possible to do that. Contact JomSocial support for any alternative exists.

    It is better to investigate the root cause instead of keeping old version. Please send me your website details through contact us form, I will find it out.

    Answered by Maverick
    5 months ago
  • Thank you very much Maverick, I already solved making a redirect link through the SH404SEF component to the Jomsocial Register page. Than you very much!

    I decide do not upgrade because i change the Template of my Component and i don´t want to change it again, take a look: Community Answers Template

    Answered by gabbo
    5 months ago
  • I decide do not upgrade because i change the Template of my Component and i don´t want to change it again, take a look: Community Answers Template

    I would suggest you to use template overrides if it is only changes related to template. Anyway, that is temporary measure. If you want to take advantage of new features (like multiple file attachments, new UI), upgrading would be right choice.

    Retaining template changes is easier if you use tools like Winmerge to compare and merge the changes into new template. You need not search and add changes.

    By the way, your template changes looks cool :) .

    Answered by Maverick
    5 months ago
Submit Answer
Questions from category Community Answers

Random Poll

What feature do you like in Joomla CMS?
Joomla is the most used Content Management System across the world. Millions of websites build on the great CMS. Which feature do you like the most on this beautiful CMS? Please share your comments and experiences in the comments section.
1411314876 [{"id":"83","title":"Easy to use interface which allow even novice to start using it within less time","votes":"59","pct":"23.23","type":"x","order":"0","resources":[]},{"id":"84","title":"Extensive list of community extensions and templates","votes":"61","pct":"24.02","type":"x","order":"0","resources":[]},{"id":"85","title":"Support from the Joomla forums","votes":"38","pct":"14.96","type":"x","order":"0","resources":[]},{"id":"86","title":"Security Features","votes":"45","pct":"17.72","type":"x","order":"0","resources":[]},{"id":"87","title":"Administration Control Panel & Dashboard","votes":"24","pct":"9.45","type":"x","order":"0","resources":[]},{"id":"88","title":"Compatiability with the older versions of Joomla","votes":"27","pct":"10.63","type":"x","order":"0","resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] gpie 200 200 /demos/polls/vote/34-what-feature-do-you-like-in-joomla-cms.html No answer selected. Please try again. Thank you for voting. Answers Votes ...

25% Off Coupon

Joomla runs best on HostGator. Get 25% off on your hosting bill at hostgator with coupon code COREJOOMLA25OFF.
Sign up now.

Newsletter

We do not spam your mailbox. Product updates/offers, security updates etc. will be sent.
captcha
Terms and Conditions