SMF For Free Support Forum
Signup For Free Forum
July 04, 2009, 11:25:32 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Code] Search SMC's Code Index  (Read 1134 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 776


Do not PM me for Code Support or Request


View Profile
« on: November 03, 2007, 10:06:04 am »

Add this to your Headers if you don't have it already.  If you already have it, don't add it:
Code:
<script src="/jquery.js"></script>

Footers
Code:
<script>
function search_SMC(){
//Created by Agent Moose (smcodes.smfforfree3.com)
$("td.titlebg2 form input[name='search']").parent().parent("td.titlebg2").html("<form id='searchform' name='searchform' accept-charset='ISO-8859-1' method='post' action='http://smcodes.smfforfree3.com/index.php?action=search2'><input type='text' style='width: 190px;' name='search' value='Search SMC Code Index'/><input id='brd8' type='hidden' checked='checked' value='8' name='brd[8]'/>  <input type='submit' value='Search' name='submit'/></form>");
};
search_SMC();
</script>

All this will do is change the Search thingy at the top of your forum to a SMC search.  If you have this code, it will make it search just the Code Index on SMC.
« Last Edit: May 06, 2008, 02:46:10 pm by Agent Moose » Logged

Want to know how good your board is?  Why not get it reviewed at Revolution X!
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3056


Internet Challenged


View Profile
« Reply #1 on: November 03, 2007, 05:53:56 pm »

Let me make sure I understand.  I put this on my forum and it will let me search your forum for whatever code I am looking for?  If so, sweet.
Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 776


Do not PM me for Code Support or Request


View Profile
« Reply #2 on: November 03, 2007, 07:25:38 pm »

Yep Smiley  It will take place of the mini-search that is there under the Users area
Logged

Want to know how good your board is?  Why not get it reviewed at Revolution X!
Y4NK33F4N
SMF For Free Full Member
*
Offline Offline

Posts: 137



View Profile
« Reply #3 on: November 03, 2007, 08:23:17 pm »

Nice!
Logged

When I get older, I will be stronger,
They'll call me freedom, just like a Waving Flag,
And then it goes back, and then it goes back,
And then it goes back

~~K'naan Wavin Flag~~
Agent Moose
Moderator
*****
Offline Offline

Posts: 776


Do not PM me for Code Support or Request


View Profile
« Reply #4 on: November 04, 2007, 07:38:01 pm »

Glad ya like Smiley
Logged

Want to know how good your board is?  Why not get it reviewed at Revolution X!
deathwilldie
Style Designer
****
Offline Offline

Posts: 755


Give me an idea for a Stylesheet


View Profile WWW
« Reply #5 on: November 04, 2007, 08:52:38 pm »

Great code.

EDIT:  There is a problem if you have the Shoutbox on your forum and this code.  Its for the FF shout box.  What it does is make the part that you type in for it into a search bar.
« Last Edit: November 04, 2007, 09:28:17 pm by deathwilldie » Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 776


Do not PM me for Code Support or Request


View Profile
« Reply #6 on: November 05, 2007, 02:26:27 pm »

Now Try the code.
Logged

Want to know how good your board is?  Why not get it reviewed at Revolution X!
RS location
SMF For Free Full Member
*
Offline Offline

Posts: 171


I hunger for.....FISHSTICKS


View Profile
« Reply #7 on: November 15, 2007, 11:41:48 am »

Great code also does the headers/footers have a limited amount of codes? it wont let me put anymore in.
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 11806


On vacation until July 6th


View Profile WWW
« Reply #8 on: November 15, 2007, 11:58:56 am »

Great code also does the headers/footers have a limited amount of codes? it wont let me put anymore in.

No there is no limit.

Forum url please?

EXACTLY what is happening.    "It wont let me put anymore in"  isnt clear enough.

*help us to help you*       we need more info to figure this out
Logged

Some Helpful Links:
Support FAQ | Guides & Tutorials | Tips for Using Support
I do not do support via personal messages


Pages: [1]
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.23 seconds with 17 queries.