TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 601
  • Total: 602
  • @rjen

SMF Media Gallery - Search Block

Started by Zetan, April 26, 2009, 05:34:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zetan

I managed to mangle together a SMF Gallery Search Block, incase anybody is interested. (please go easy on me I am not really a coder)

<div style="text-align:center"><br /><form action="/index.php?action=mgallery;sa=search" method="post"><input type="text" name="search" size="19" /><input type="submit" style="height: 1.8em; width: 10em; margin: 4px auto;" name="submit_mgal" value="Search" /><br /><br />Search in:<br /><font size="1"><div style="text-align:left; margin:4px 0px 0px 20px;"><input type="checkbox" name="sch_title" checked="checked" />Title: <br /><input type="checkbox" name="sch_kw" checked="checked" />Keywords: <br /><input type="checkbox" name="sch_desc" checked="checked" />Description: </div><br /></font><p style="margin: 4px"><font size="1"><a href="http://briespics.com/index.php?action=mgallery;sa=search">Advanced Search</a></font></form></div>

Lord Anubis

Screenshot?  or Test site?

Sounds like a good script to me if it works ;)

Ianedres

Looks to be a DIV with a FORM field that posts the query into the gallery's search fields, which is a good and quick block that may be very useful.

Of special note is that anyone using the block will need to edit the URLs in the code to their own website...  this particular code has links to briespics.com for the advanced search link. Not too hard to change though.

This website is proudly hosted on Crocweb Cloud Website Hosting.