скрипт ссылок у ника без кнопки
не знаю как он работает и зочем
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.1/css/all.css"> <!-- пользовательские ссылки у ника ч.1 --> <style> .punbb .post .pa-links { position: absolute; top: 100px; left: -40px; padding: 5px; z-index: 100; } .punbb .post .pa-links ul { padding: 5px 8px 5px 8px; margin-left: 10px; color: #000; padding: 10px; width: 50px; height: 50px; font-size: 10px; list-style-type : none; float : left; cursor : pointer; padding : 3px 10px; } .pa-links li { list-style: circle; float: left; height: 15px; margin-bottom: 10px; width: 15px; text-align: justify; white-space: nowrap; text-overflow: ellipsis; overflow: clip; background: #fff; display: block; padding: 10px 13px; font-size: 12px; text-decoration: none; border-radius: 5px; position: relative; top: 0; transition: all .4s; } .pa-links li:hover a { top : -20px; color : #4eacff; background-color: #fff; box-shadow : 0 0 5px 0 rgba(255, 255, 255, 0.7); transition : all .4s; } .pa-links li:after { display : block; content : ''; position : absolute; top : 100%; left : 42%; border-style : solid; border-color : transparent; border-width : 5px 5px 0 5px; transition : all .4s; } .pa-links li:hover:after { border-color : white transparent transparent transparent; transition : all .4s; } .pa-links li.pl-email:before {font-family: FontAwesome; content: "\f003";transform: translate(0px, 3px);} .pa-links li.pl-email:first-child:before {font-family: FontAwesome; content: "\f054"; } .pa-links li.pl-email:nth-child(3):before {font-family: FontAwesome; content: "\f0ab";} .pa-links li.pl-message:before {font-family: FontAwesome; content: "\f0d7"; } .pa-links li.pl-website:before {font-family: FontAwesome; content: "\f171";} .btn-links {font-family: FontAwesome; content: "\f6c0";background: #2f4a68;width: px;height: px;position: absolute;top: 28px;left: 0px;cursor: pointer;} .post-author {position:relative;} .post-links li.pl-email,.post-links li.pl-website {visibility:hidden;} .punbb .pa-links li a {text-decoration:none;} .pa-links:hover li.pl-email:hover, .pa-links:hover li.pl-message:hover, .pa-links li.pl-email:hover:before { color: #fff; -webkit-transform: translate(-1px, 0); -moz-transform: translate(-1px, 0); -ms-transform: translate(-1px, 0); -o-transform: translate(-1px, 0); transform: translate(-1px, 0); color : #4eacff; background-color: #fff; box-shadow : 0 0 5px 0 rgba(255, 255, 255, 0.7); transition : all .4s; } </style> <!-- пользовательские ссылки у ника ч.2 --> <script> $(document).ready(function() { if(document.URL.indexOf("viewtopic.php")!=-1 && GroupID !=3){ $(".post").find(".pl-email").parents('.post').each(function(){ $(this).find(".pa-author").after("<div class='btn-links' title='Пользовательские ссылки'></div><li class='pa-links'><ul></ul></li>"); $(this).find(".pl-email,.pl-website").clone().prependTo($(this).find(".pa-links ul")); var user = $(this).find(".pl-email:first a").attr("href").match(/\d+/i); $(this).find(".pa-links ul .pl-email:eq(0)").after("<li class='pl-message'><a rel='nofollow' href='/search.php?action=show_user&user_id="+user[0]+"'>Сообщения</a></li>"); }); $(".btn-links").click(function() { $(this).next().slideToggle('fast'); });} }) </script>