Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| Remove Search for Guests | |
|---|---|
| Tweet Topic Started: May 12 2010, 03:39 PM (701 Views) | |
| Codes Rock | May 12 2010, 03:39 PM Post #1 |
|
Keeper of all the knowledge!
![]()
|
Here is an easy way to remove the Search from guests. What it does is remove the search link from the menu bar at the top of the page for guests. If by chance they go to the search page by a direct link, the search table will be removed. Go to your Admin Control Panel Scroll down and on the left, under Themes, click on Board Template At the very top of the section: Above the Board Content that goes before the main content of the board. copy/paste the following:
or you put this instead:
|
| |
![]() |
|
| viperver1 | May 13 2010, 05:31 AM Post #2 |
![]()
|
Nice. I would consider using this code for my site. Thanks for a very useful code. |
![]() |
|
| Codes Rock | May 13 2010, 06:51 AM Post #3 |
|
Keeper of all the knowledge!
![]()
|
Thanks, viperver1! This was a request that I figured I'd put out there for everyone/anyone to use
|
| |
![]() |
|
| Swordslam46 | May 15 2010, 07:06 PM Post #4 |
![]() ![]()
|
People can still get to the search funtion ![]() you should edit it to this:
Otherwise, nice code, simple but useful
|
![]() |
|
| Codes Rock | May 16 2010, 06:39 AM Post #5 |
|
Keeper of all the knowledge!
![]()
|
yes, that would remove the page completely! Good addition. |
| |
![]() |
|
| Gorgor | May 16 2010, 11:32 AM Post #6 |
|
Hello
![]()
|
A quick optimization tip is to never add a tag name when selecting and id with jQuery because it will loop through all of the elements with that tag name instead of going straight to the id. You can also combine the two removes, and then make it a one-liner:
|
![]() |
|
| Codes Rock | May 16 2010, 02:17 PM Post #7 |
|
Keeper of all the knowledge!
![]()
|
. . . and that's why Gorgor is everyone's hero! |
| |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Zetaboards Modifications · Next Topic » |



















7:50 PM Jul 10