2014-03-14 3:10 AM

get the link of your thread in 3 ways

Author: Animorph

Posted: 2017-11-20

0 Comments

1.go to CP ---> Design ---> Design management (templates) ---> Forum ---> General appearance of forum pages ---> Paste right before </body> this:
Code

   <script type="text/javascript">
   var wgh = $(".postTdTop:first").attr('width');
   var uSiteURLT = $("a.forumBarA").attr('href');
   $(".bottomPathBar").prepend('<div class="LinksTheme"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="'+wgh+'" class="LinkFirstTD" algin="left">HTML link:</td><td align="left" class="LinkTwoTD"><input id="uSiteHTML"onclick="this.focus();this.select()" spellcheck="false" type="text"></td></tr><tr><td width="'+wgh+'" class="LinkFirstTD" algin="left">BB link:</td><td align="left" class="LinkTwoTD"><input id="uSiteBBCODE"onclick="this.focus();this.select()" spellcheck="false" type="text"></td></tr><tr><td width="'+wgh+'" class="LinkFirstTD" algin="left">Direct link:</td><td align="left" class="LinkTwoTD"><input id="uSiteINNER"onclick="this.focus();this.select()" spellcheck="false" type="text"></td></tr></table></div>');
   $(".LinkFirstTD:first, .LinkTwoTD:first, .LinkFirstTD:eq(1), .LinkTwoTD:eq(1)").css({borderBottom: '1px solid #191512'};
   $("#uSiteHTML").val('<a href="'+uSiteURLT+'">'+$("a.forumBarA:first").text()+'</a>');
   $("#uSiteBBCODE").val(''+$("a.forumBarA:first").text()+'');
   $("#uSiteINNER").val(uSiteURLT);
   </script>
   


2.go to CP ---> Design ---> Design management (css) ---> Paste this:
Code
.LinksTheme {border:1px solid #ccc; background:#fff; margin-top:3px;}
   .LinkFirstTD {border:0px; border-right:1px dotted #ccc; background:#fff; padding:3px 5px;}
   .LinkTwoTD {background:#f5f5f5; padding:3px;}
   .LinkTwoTD input {border:1px solid #ccc; background:#fff; padding:3px; width:100%;}

30
Comments
Total comments: 0
"Making uCoz web designs simple and easy to use"
- uCause Developers