• Page 1 of 1
  • 1
uCause Community » Trash & Archives » Forum » Search for each section of the forum
Search for each section of the forum
DevilDate: Saturday, 2011-09-24, 9:47 PM | Message # 1
Member
Group: Senior Members
Messages: 55
Awards: 1
Reputation: 3
Status: :-(
This script allows you to search the materials needed for each section of the forum



After $BODY$ in General appearance of forum pages add :

Code
<?if($URI_ID$='frMain')?>   
  <script type="text/javascript">   
  /* Copyright AllCity ~ http://web-codes.net/ */   
  var URLForum = 'http://' + location.host + '/forum/';   
  // Magick function...   
  $('div.gDivLeft div.gDivRight tr td.forumNameTd').each(function(){   
  $(this).wrapInner('<div></div>').find('div:first').css('float', 'left').css('width', '75%');   
  $(this).append($('<div style="float: right; width: 25%;"><form method="post" action="/forum/" onsubmit="this.form.submit();"><input name="kw" size="10" style="display: none;" value="Cauta" onclick="this.select()" title="Cauta doar in aceasta sectiune!" maxlength="30" type="text" /><input type="hidden" name="fid" value="' + $(this).find('a:first').attr('href').replace(URLForum, '') + '" /><input type="hidden" name="user" value="" /><input type="hidden" name="o1" value="0" /><input type="hidden" name="o2" value="0" /><input type="hidden" name="a" value="6" /></form></div>'));   
  });   
  // On hover...   
  $('div.gDivLeft div.gDivRight tr:has("td.forumNameTd")').hover(function(){$(this).find('input:first').show();}, function(){$(this).find('input:first').hide();});   
  </script>   
  <?endif?>


Source : Maxromtags-zB11Search, for, each, section, of, the, forum
 
0 Thanked you For This Useful Post:
DeepthehackerDate: Saturday, 2011-09-24, 9:52 PM | Message # 2
Member
Group: Senior Members
Messages: 49
Awards: 1
Reputation: 1
Status: :-(
nice script happy

 
0 Thanked you For This Useful Post:
AnimorphDate: Saturday, 2011-09-24, 10:15 PM | Message # 3
uCause forum Admin
Group: Developer
Messages: 2835
Awards: 73
Status: :-(
Devil, old , but thankyou very much for that ^^
 
0 Thanked you For This Useful Post:
DevilDate: Sunday, 2011-09-25, 2:14 PM | Message # 4
Member
Group: Senior Members
Messages: 55
Awards: 1
Reputation: 3
Status: :-(
Animorph, posted because it is useful. old or new does not matter:)
 
0 Thanked you For This Useful Post:
AnimorphDate: Sunday, 2011-09-25, 2:27 PM | Message # 5
uCause forum Admin
Group: Developer
Messages: 2835
Awards: 73
Status: :-(
Devil, Indeed so +rep
 
0 Thanked you For This Useful Post:
DevilDate: Sunday, 2011-09-25, 2:49 PM | Message # 6
Member
Group: Senior Members
Messages: 55
Awards: 1
Reputation: 3
Status: :-(
Animorph, Thanks smile
 
0 Thanked you For This Useful Post:
jackassDate: Sunday, 2011-09-25, 7:37 PM | Message # 7
Member
Group: Senior Members
Messages: 262
Awards: 4
Reputation: 8
Status: :-(
Thanks, I wanted to ask for it smile

 
0 Thanked you For This Useful Post:
jackassDate: Sunday, 2011-09-25, 7:43 PM | Message # 8
Member
Group: Senior Members
Messages: 262
Awards: 4
Reputation: 8
Status: :-(
Just try it and it's ugly, because I am using hidden forums!

Attachments: 8887488.png(116.8 Kb)


 
0 Thanked you For This Useful Post:
AnimorphDate: Sunday, 2011-09-25, 9:19 PM | Message # 9
uCause forum Admin
Group: Developer
Messages: 2835
Awards: 73
Status: :-(
jackass, Then its not for people that hide forums..
 
0 Thanked you For This Useful Post:
jackassDate: Monday, 2011-09-26, 0:34 AM | Message # 10
Member
Group: Senior Members
Messages: 262
Awards: 4
Reputation: 8
Status: :-(
Quote (Animorph)

jackass, Then its not for people that hide forums..


I guess so biggrin But if there is some fix for that, please let me know smile


 
0 Thanked you For This Useful Post:
uCause Community » Trash & Archives » Forum » Search for each section of the forum
  • Page 1 of 1
  • 1
Search:


"Making uCoz web designs simple and easy to use"
- uCause Developers