By Chantal Schlatter on Tuesday, 18 February 2014
Replies 5
Likes 0
Views 1.2K
Votes 0
hI

The "New post" (neues Thema) button is very dominat, everyone with a question in mind will click on it. Shouldn't it be possilbe to register and to also login with that button? When I cklick on that button it opens the registration form which is confusing and kin dof a dead end for already reagistered users and Kind of confusing, isnt it? Or did I make something wrong in the configuration?

See attachment.
Site Details see in former question. Thank you!

Chantal
Hello Chantal Schlatter,

Sorry for late reply to this,
Let say when the public user click on the "Ask a question" button, it should bring to the user go to register page then only can ask a question from the forum.
If you would like when the public user click on the button go to the login page, replace this code in your 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="<?php echo DiscussHelper::getRegistrationLink();?>"><?php echo JText::_( 'COM_EASYDISCUSS_OR_ASK_A_QUESTION' );?></a>


Replace to


<a class="btn btn-<?php echo $system->config->get('layout_ask_color'); ?> btn-ask pull-left" href="<?php echo DiscussHelper::getLoginLink();?>"><?php echo JText::_( 'COM_EASYDISCUSS_OR_ASK_A_QUESTION' );?></a>


Hope this help.
·
Tuesday, 18 February 2014 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sorry but I don't really understand you here. The "New Post" button is for users to create new discussion. If you want to alter the behavior of the button, you will need to edit /components/com_easydiscuss/themes/simplistic/searchbar.php
·
Tuesday, 18 February 2014 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chantal,

This is actually the default link. If you want to change to login page, please replace attached file (searchbar.php) in ..\components\com_easydiscuss\themes\simplistic\searchbar.php. If it doesn't help, please provide us your backend and FTP so we can apply it for you.
·
Tuesday, 18 February 2014 10:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, this ist too much of coding here for me. It is not about changing the function of the button, but the procedure isn't quite usefriendly and somehow confusing:
Imagine your are a new user with a question in mind. The blue "new Post" button jumps into your eyes and you click on it. Now you have to register. And thats absolutely fine, because only registered users are allowed to post questions. I dont want to change this!

Now imagine you are a returning visitor who has already registered himself some time ago. You have a question in mind and you see that blue button "new post". You will clcik on it alsmost automatically and then you will be asked to register. Now you remember that you have already registered yourself some time ago and don't know what to do now. I believe that returning visitors oversee the small black "lock" symbol where they have to login BEFORE they can click on the big blue button. So what would be ideal to my opinion is, that after clicking on that blue new post button, I can choose between register (for new users) and login (for returning users). When I click on the lock symbol this is also the case: I can chose between register and I can chosse to login.
I dont know, if you see, what I mean. Its not a problem, just question of "user friendly".
But I will write a few lines about it on my website so my users will now how to do.

By the way "new post" in german is translated by "neues Thema" which corresponds to "new topic". Better would be "neue Frage" oder "Neues Posting".
·
Saturday, 22 February 2014 10:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chantal,

Thanks for the heads up on this. The reasoning that you gave makes sense and I do think that to really solve this problem, you need to publish the login module on the sidebar of your page. This gives users on the site a clear idea that they will be able to login
·
Saturday, 22 February 2014 13:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post