Is there a way to block guests from using the search tool on the top right (view attached pic). Its pointless to have restrictions on other things on the site if all guests have to do is search for it. I would prefer it to be there but once a guest enters something to search it takes them to a log in screen, but to completely block it for guests is alright too. This is very important someone please help. thank you! SGeeZyyy |
files to edit search.php , searchKeyword.php , and searchKeywordContent.php
just after the last require_once(.................. add this $logged['member'] = member_auth(0);
do the same for all 3 files.
|
I also did the search_home page. I was still able to search the site using the google site search. What file can I edit to close that one down as well?
Maybe BxGSearchMainPage.php? in /modules/boonex/google_search/classes
http://towtalk.net ... Hosted by Zarconia.net! |
I also did the search_home page. I was still able to search the site using the google site search. What file can I edit to close that one down as well?
Maybe BxGSearchMainPage.php? in /modules/boonex/google_search/classes
modules/boonex/google_search/ request.php
right after check_logged(); $logged['member'] = member_auth(0);
|
and if that's not enough /modules/ index.php
~30
require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolModuleDb.php'); $logged['member'] = member_auth(0);
that will block access for guests to all modules.
|
http://towtalk.net ... Hosted by Zarconia.net! |
SGeeZyyy |
Hey Prolaznik maybe you can help with one more thing, I like to do the same thing with the search tab on top(view pic attached). I had a previous post but no one new how to do it so I completely removed the search tab from home page. Would you know how to do it to the search tab? SGeeZyyy |
You should just leave it. When a guest tries to do a search, they'll be pushed to actually sign up and become a member. http://towtalk.net ... Hosted by Zarconia.net! |
search_home, search.php , searchKeyword.php , searchKeywordContent.php
just after the last require_once(.................. add this $logged['member'] = member_auth(0);
guests won't see a thing
EDIT: i like SkyForum's idea more. |
See the thing is if I leave it, it doesnt take them to a log in screen it takes them to a page with no content when they click on it (check pic attached)
EDIT: Actually what I wanted got done with the other stuff you told me to do. thank you so much I've been trying to do this forever.
SGeeZyyy |