• Page 1 of 1
  • 1
uCause Community » Trash & Archives » Other » Automatically add tags for all uCoz modules
Automatically add tags for all uCoz modules
AnimorphDate: Tuesday, 2011-06-28, 5:14 PM | Message # 1
uCause forum Admin
Group: Developer
Messages: 2835
Awards: 73
Status: :-(
When you add all your files are automatically tags will be based on the file name and category

Installation:

after $BODY$ insert :

The module board:


Code
<script type="text/javascript">   
   $(document).ready(function(){   
   $("form#addEntForm").submit(function(){   
   if ($('#suggEdit').val().match(/^\s*$/)) {   
   var entryname = $('#bdF1').val();   
   entryname = entryname.split(' ').join(', ');   
   $("#suggEdit").val("" + entryname + "");   
   }});});   
   </script>


The module load:

Code
<script type="text/javascript">   
   $(document).ready(function(){   
   $("form#addEntForm").submit(function(){   
   if ($('#suggEdit').val().match(/^\s*$/)) {   
   var entryname = $('#ldF1').val();   
   entryname = entryname.split(' ').join(', ');   
   var cat = $("#ldM55 input:checked").next().html();   
   $("#suggEdit").val("" + entryname + ", " + cat + "");   
   }});});   
   </script>


The module publ:


Code
<script type="text/javascript">   
   $(document).ready(function(){   
   $("form#addEntForm").submit(function(){   
   if ($('#suggEdit').val().match(/^\s*$/)) {   
   var entryname = $('#puF1').val();   
   entryname = entryname.split(' ').join(', ');   
   $("#suggEdit").val("" + entryname + "");   
   }});});   
   </script>


In the module dir:


Code
<script type="text/javascript">   
   $(document).ready(function(){   
   $("form#addEntForm").submit(function(){   
   if ($('#suggEdit').val().match(/^\s*$/)) {   
   var entryname = $('#puF1').val();   
   entryname = entryname.split(' ').join(', ');   
   $("#suggEdit").val("" + entryname + "");   
   }});});   
   </script>


The module stuff:

Code
<script type="text/javascript">   
   $(document).ready(function(){   
   $("form#addEntForm").submit(function(){   
   if ($('#suggEdit').val().match(/^\s*$/)) {   
   var entryname = $('#sfF1').val();   
   entryname = entryname.split(' ').join(', ');   
   $("#suggEdit").val("" + entryname + "");   
   }});});   
   </script>


For news and blog modules connect both scripts (Page materials after the / head):

The module blog:

Code
<script type="text/javascript">   
   $(document).ready(function(){   
   $("form#addEntForm").submit(function(){   
   if ($('#suggEdit').val().match(/^\s*$/)) {   
   var entryname = $('#blF1').val();   
   entryname = entryname.split(' ').join(', ');   
   $("#suggEdit").val("" + entryname + "");   
   }});});   
   </script>

The module news:

Code
<script type="text/javascript">   
   $(document).ready(function(){   
   $("form#addEntForm").submit(function(){   
   if ($('#suggEdit').val().match(/^\s*$/)) {   
   var entryname = $('#nwF1').val();   
   entryname = entryname.split(' ').join(', ');   
   $("#suggEdit").val("" + entryname + "");   
   }});});   
   </script>
tags-zB11Automatically, add, tags, for, all, uCoz, modules
 
0 Thanked you For This Useful Post:
Silence-PrayerDate: Sunday, 2011-07-03, 2:24 PM | Message # 2
uCause Co-Admin
Group: Senior Members
Messages: 519
Awards: 21
Reputation: 17
Status: :-(
Best Script

uCause is the Best

Message edited by Susmoy - Sunday, 2011-07-03, 2:33 PM
 
0 Thanked you For This Useful Post:
HermesDate: Sunday, 2011-07-03, 3:13 PM | Message # 3
Member
Group: Senior Members
Messages: 455
Awards: 7
Reputation: 8
Status: :-(
Animorph, Nice job smile
 
0 Thanked you For This Useful Post:
Maczo12310Date: Sunday, 2011-07-03, 6:50 PM | Message # 4
Member
Group: Senior Members
Messages: 987
Awards: 12
Reputation: 11
Status: :-(
Animorph, I needed this script so badly, I was about to write to you about it biggrin Thanks man, saved my life from alot of taging biggrin


Visit my Graphic forum board on uCause !!!
 
0 Thanked you For This Useful Post:
AnimorphDate: Sunday, 2011-07-03, 8:08 PM | Message # 5
uCause forum Admin
Group: Developer
Messages: 2835
Awards: 73
Status: :-(
Donught, no problem smile
 
0 Thanked you For This Useful Post:
cyberworldsDate: Tuesday, 2011-08-23, 12:24 PM | Message # 6
Member
Group: Senior Members
Messages: 14
Awards: 0
Reputation: 2
Status: :-(
nice script Animorph,
 
0 Thanked you For This Useful Post:
DevilDate: Sunday, 2011-11-06, 0:54 AM | Message # 7
Member
Group: Senior Members
Messages: 55
Awards: 1
Reputation: 3
Status: :-(
Animorph, how have you on the forum can help me with code?
 
0 Thanked you For This Useful Post:
rys3rDate: Monday, 2011-11-14, 6:54 AM | Message # 8
Member
Group: Senior Members
Messages: 6
Awards: 0
Reputation: 0
Status: :-(
in wich page i have to add this? "entry adding/editing page" only?

thanks
 
0 Thanked you For This Useful Post:
SirDarknight(Tonmoy)Date: Monday, 2011-11-14, 7:02 AM | Message # 9
Member
Group: Senior Members
Messages: 894
Awards: 10
Reputation: 15
Status: :-(
rys3r, You need to put them on the page where the "$BODY$" Tag locates. For example in forum you need to put it on "General Appearance of forum pages"

Please Give Me A Award or + Rep If My Post Helps You

Please Give Me A Award or + Rep If You Like my Scripts
 
0 Thanked you For This Useful Post:
rys3rDate: Monday, 2011-11-14, 7:05 AM | Message # 10
Member
Group: Senior Members
Messages: 6
Awards: 0
Reputation: 0
Status: :-(
and for modules? is only in the "Entry adding/editing page" or in the "full text and comments" too? ou some like that? wacko
 
0 Thanked you For This Useful Post:
Expert2990Date: Monday, 2011-11-14, 10:37 AM | Message # 11
Member
Group: Senior Members
Messages: 14
Awards: 0
Reputation: 0
Status: :-(
How can you add it to forums?

Added (2011-11-14, 10:37 Am)
---------------------------------------------
I mean threads?

 
0 Thanked you For This Useful Post:
SirDarknight(Tonmoy)Date: Tuesday, 2011-11-15, 7:20 AM | Message # 12
Member
Group: Senior Members
Messages: 894
Awards: 10
Reputation: 15
Status: :-(
Expert2990,

Quote (SirDarknight(Tonmoy))
You need to put them on the page where the "$BODY$" Tag locates. For example in forum you need to put it on "General Appearance of forum pages"


rys3r, Yep


Please Give Me A Award or + Rep If My Post Helps You

Please Give Me A Award or + Rep If You Like my Scripts
 
0 Thanked you For This Useful Post:
cyberworlds99Date: Tuesday, 2012-01-10, 0:18 AM | Message # 13
Member
Group: Users
Messages: 5
Awards: 0
Reputation: 0
Status: :-(
where i can put.. i dont see $BODY$ in blog
 
0 Thanked you For This Useful Post:
SirDarknight(Tonmoy)Date: Tuesday, 2012-01-10, 2:09 PM | Message # 14
Member
Group: Senior Members
Messages: 894
Awards: 10
Reputation: 15
Status: :-(
cyberworlds99, If you can't find $BODY$ then put them between <body></body> or after </body>

Please Give Me A Award or + Rep If My Post Helps You

Please Give Me A Award or + Rep If You Like my Scripts
 
0 Thanked you For This Useful Post:
uCause Community » Trash & Archives » Other » Automatically add tags for all uCoz modules
  • Page 1 of 1
  • 1
Search:


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