
This tutorial will show you how to disable search in the phpbb forums for non subscribers or non ws group members.
Files to edit
modules/Forums/language/lang_english/lang_main.php
modules/Forums/search.php
Steps :
1. Open modules/Forums/language/lang_english/lang_main.php and at the exact bottom of the file, find the closing php bracket ?>. Directly above that paste the following codes:
The next step depends on how you will be using the subscription module. Choose accordingly.
Open modules/Forums/search.php and find the following codes:
PHP Nuke Subscription
This step is for those using the default phpnuke subscription system.
After the above codes add the following:
WS Groups Subscribers
This step is for those using the WS Groups protection system.
Use this tutorial to get the group ids (http://www.westernstudios.net/tutorial-wsgroup-protect-content)
After the above codes add the following:
Subscription Plans
This step is for those using the subscription plans to protect content.
Use this tutorial to get the plan ids (http://www.westernstudios.net/subscription-install-protect_plan.html)
After the above codes add the following:
THATS IT! Your search should now be protected from non subscribers.
Consider buying me coffee if you find this tutorial helpful.

Marketplace Themes, scripts, icons and images
Themes site PHP Nuke themes preview site.
234
13,482