Topic: how to add a searchbar to any page?

how to add a searchbar to any page?


i want to add a search bar to any page

simple text box and submit button?



help!

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: how to add a searchbar to any page?

See http://punbb.org/forums/viewtopic.php?pid=65031#p65031 for some basic code.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: how to add a searchbar to any page?

questions on my main page index.php the sign in . how can i make that disapear once someone log in?
and show like user online or anything to fill the space!

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: how to add a searchbar to any page?

Just put this before:

if (!$pun_user['is_guest']) {

and this after:

}

anything you want hidden from logged in users.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: how to add a searchbar to any page?

I just glanced at your site and remember: that code needs to be between PHP tags (<?php and ?>). tongue

Looking for a certain modification for your forum? Please take a look here before posting.

Re: how to add a searchbar to any page?

lol, i was thinking that...
thanks!

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!