Help - Search - Members - Calendar
Full Version: How To Add A Custom Search Box?
World Dating Partners Forum > Support > Can anyone help?
lvchris
Hi,

First of all, what are these modules for:?

{%GEO_COUNTRY%} {%GEO_REGION%} {%GEO_CITY%}

Second, what is the code to add a custom search box to a webtemplate?

Thanks,

Chris
danvincent
Hi Chris,

Those "marco's" will display the GeoIP ( http://en.wikipedia.org/wiki/Geoip ) location of the user. You have to be a little carfull with city it can be very wrong!

What search are you looking to add?

Thanks

Dan
lvchris
QUOTE(danvincent @ Apr 20 2009, 09:58 AM) *
Hi Chris,

Those "marco's" will display the GeoIP ( http://en.wikipedia.org/wiki/Geoip ) location of the user. You have to be a little carfull with city it can be very wrong!

What search are you looking to add?

Thanks

Dan



Hi Dan,

I am looking to add a search box that looks like this. I just need the coding please. Thanks, Chris

Username:
Password:
E-mail:
I am a:
Looking for a:
Your country:
Your state:
Your region:
danvincent
Ok Chris,

That is the quick registration form, this can now be added to all sites:-

You need to add this code between <head> .. </head> in your custom HTML:-

<script type="text/javascript" src="/scripts/prototype.js"></script>
<script type="text/javascript" src="/scripts/script.js"></script>
<script type="text/javascript" src="/scripts/layer.js"></script>
<script type="text/javascript" src="/scripts/ws.js" ></script>

then {%registrationForIndexBlock%} where you want the form to appear

Thanks

Dan
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.