Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • News & Discussion
  • Feedback
  • Question: Sharing Codes
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
Question: Sharing Codes; from here to other forums.
Tweet Topic Started: Dec 4 2008, 07:07 PM (375 Views)
slayer766 Dec 6 2008, 11:04 PM Post #11
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
1 - http://zbcode.com/single/?p=47910&t=826116
2 - http://zbcode.com/single/?p=47068&t=804334

What I wrote for Search posts in topics(Dan has a code to, I've written my version which you can share):

Code:
 
<script type="text/javascript">
/*************************
Search Posts - Written by slayer766
Redistribution is permitted
*************************/

if($("input[name*='title']"))
$("input[name*='title']").after("<br /><form>Search current forum only? <input type='radio' id='thisforum' name='' checked='checked'><br />Search all forums? <input type='radio' id='allforum' name=''><br /><input type='button' onclick='new function(){var val = document.forms[\"posting\"].title.value;if(document.getElementById(\"allforum\").checked == true)window.open(main_url+\"search\/\?c=1&f=-1&q=\"+val,\"new win\");if(document.getElementById(\"thisforum\").checked == true)window.open(main_url+\"search\/\?c=1&f="+location.href.split('&f=')[1]+"&q=\"+val,\"new win\");}' value='Search Now!'></form>");
</script>



You can share any of what I've just provided for you.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Feedback · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2

Track Topic · E-mail Topic Time: 7:52 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy