http://7pmtech.com/
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
Rideem3 wrote:Could you check your browser's error console when you make the reply?
LGBB.addSwap(/\b@(.*?)\b/g, '<a href="/profile?mode=viewprofile&u=$1">@$1</a>');
~@dikz~ wrote:Uncaught syntax error: Unexpected token
With this script..
http://adikz.forumtl.com/99606.js
Rideem3 wrote:That's a good idea. I'll edit the tutorial.
Rideem3 wrote:If something went wrong, delete both codes then use one.
Rideem3 wrote:Oh. So you mean click the username in the post profile and it inserts the tag in the quick reply?
(function($){
$(function(){ $('.username a').click(function(){return false});$('.username a').one('click',function(e){e.preventDefault();var innerTxt=$(this).text();innerTxt=$.trim(innerTxt);var $obj=$('.quick_reply_textarea');$obj.val($obj.val()+'\n@'+innerTxt+':');})}); })(jQuery);
(function($){
$(function(){ $('.username a').click(function(){return false});$('.username a').click(function(e){e.preventDefault();var innerTxt=$(this).text();innerTxt=$.trim(innerTxt);var $obj=$('.quick_reply_textarea');$obj.val($obj.val()+'\n@'+innerTxt+':');})}); })(jQuery);
<span class="postdetails poster-profile"></span><br />
<span><p class="rank" style="padding:0;height:auto;">{postrow.displayed.POSTER_RANK}</p></span>