vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Code Submissions :: Copyright + Quick Search Forums Bottom - View Topic
| |
| dog199200 Guest | 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
Code: - <script type="text/javascript">
- /*Copyright + Quick Search Forums Bottom
- Google Search has to be Activated!
- Created by Dwight*/
-
- window.onload = function() {
- if(get('footerstats', ID)) {
- get('footerstats', ID).innerHTML = 'Place Your Forums Copyright Text Here';
- get('footertime', ID).style.display = 'none';
- 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>';
- }
- }
- </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. | |
| |
| |
|