vForums Support Banner


Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Code Submissions :: Copyright + Quick Search Forums Bottom - View Topic
Topic Rating: *****
Printable View
Copyright + Quick Search Forums Bottom (22nd Oct 08 at 1:50am UTC)
THis code is a combination of my "Google Search Into Quick Search" code and my "Copyright Instead of Bottom Forum Stats" code.

If you are familiar with either of the codes what it does is replaces the forums query at the bottom of the forum and replaces it with your forums copyright, as well turns the forums Google Search into a Quick Search feature.

So here is the code:

Global Header

  1. <script type="text/javascript">
  2. /*Copyright + Quick Search Forums Bottom
  3. Google Search has to be Activated!
  4. Created by Dwight*/
  6. window.onload = function() {
  7. if(get('footerstats', ID)) {
  8. get('footerstats', ID).innerHTML = 'Place Your Forums Copyright Text Here';
  9. get('footertime', ID).style.display = 'none';
  10. get('vforums_search', ID).innerHTML = '<form action="/action/search" method="post" enctype="multipart/form-data" name="search_form"><input name="search_words" size="25" maxlength="100" value="" type="text"><br />Subject:<input name="subject" value="1" type="checkbox"> Message:<input name="message" value="1" type="checkbox"><input name="max_results" value="25" type="hidden"><input type="submit" value="Search" /></form>';
  11. }
  12. }
  13. </script>

All you have to do is edit the part of the code that says "Place Your Forums Copyright Text Here" and add in your own forums copyright.

As well the Google search must be activated unless the Quick Search wont work.
 Printable View