I'd link to have a FORUM link on the top-right of my site. When clicked, if the user is not logged in, it should take them to the LOGIN tag but if logged in, it should just load the main forum categories tab.Β
Is there a way to do this within the settings or do I need custom-code?
Thanks,
Β
I'm sorry but I don't have solution for this. This is a custom development, there is no an easy way to do this.
Hi DearΒ KW Web & IT Consultant,
Thank you for using wpForo Forum
Please take a look at this
URL: Β http://www.screencast.com/t/JyXKjViRtdV
Β
Just write two new lines into index.php.
change this:
if($template == 'search'){
include( wpftpl('search.php') );
to this:
if ( !is_user_logged_in() ){
include( wpftpl('login.php') );
}elseif($template == 'search'){
include( wpftpl('search.php') );