Search Help!

hello, I have search limited to members only and i was wondering if there is a way to have it say "Please Login or Join to search" or something like that when a non member clicks the search tab.

SGeeZyyy
Quote · 16 Nov 2010

i cant remember but what comes up when a none member clicks on the link

 

get that wording then search for it in languages and change there

but keep a copy incase you need to back up sorr i have never done this before but the theary is sound

 

Quote · 16 Nov 2010

Hello!

1. open the:

search.php

2. find this code line :

$_page_cont[$_ni]['page_main_code'] = $oSearchView->getCode();

3. and replace with:

$_page_cont[$_ni]['page_main_code'] = !isLogged() ? login_form( _t( "_LOGIN_OBSOLETE" ), 0, false )  : $oSearchView->getCode();

 

 

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 16 Nov 2010

Hey WESWAYS, well for me it will just be blank space doesnt say anything

 

Sasha!!! Thank you so much for the help, but i have one more question. The way you told me was if they actually put something in the search field and search something (i used it by the way great idea). since my website has a separate  "search"  tab on top is there any way to to make it do the same thing and go to the login for when they click on the search tab?

SGeeZyyy
Quote · 16 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.