The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Reputation bar position

View previous topic View next topic Go down

Solved Reputation bar position

Post by Glavee on December 27th 2014, 8:47 pm

Hi!

I just followed a tutorial to add a bar for reputation (http://help.forumotion.com/t132299-add-a-bar-for-reputation#888421 ) and now it's between my username and avatar. I would like to change his position, to put it under my Avatar. What I should do?

Thanks!


Last edited by Glavee on December 30th 2014, 12:15 am; edited 1 time in total

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 28th 2014, 12:57 pm

Bump

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Ange Tuteur on December 28th 2014, 5:54 pm

Hello @Glavee,

Replace your script with this :
Code:
$(document).ready(function() {
 
  var version = 'punbb';
 
  var settings = {
      repName : 'Reputation',
      repStyle : 'image',
      repImage : 'http://i57.servimg.com/u/f57/18/21/41/30/star12.png'
    };
 
  var repLv = {
      lv1 : 1,
      lv2 : 2,
      lv3 : 3,
      lv4 : 4,
      lv5 : 5,
      lv6 : 6,
      lv7 : 7,
      lv8 : 8
    };
 
  if (settings.repStyle.toLowerCase() == 'block') { var repBlock = '<span id="rLv" class="repuBlock">' }
    else if (settings.repStyle.toLowerCase() == 'image') { var repBlock = '<img id="rLv" src="'+settings.repImage+'"/>' }
    else { var repBlock = '<span id="rLv" class="repuBlock">' }
    var ver = { phpbb2 : version.toLowerCase() == 'phpbb2', phpbb3 : version.toLowerCase() == 'phpbb3', punbb : version.toLowerCase() == 'punbb', invision : version.toLowerCase() == 'invision' };
    var reg = new RegExp('.*'+settings.repName+':\\s+(\\d+).*');
 
  if (ver.phpbb3 || ver.punbb || ver.invision) {
      if (ver.phpbb3 || ver.invision) { var profSel = '.postprofile'; var addRepu = $(this).find('dt').append('<div id="repu">'); }
      else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info center').append('<div id="repu">'); }
      $(profSel).each(function() {
          var rep = Number($(this).text().replace(reg,'$1'));
          addRepu;
          if (rep >= repLv.lv1) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2 }
          if (rep >= repLv.lv2) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3 }
          if (rep >= repLv.lv3) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4 }
          if (rep >= repLv.lv4) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5 }
          if (rep >= repLv.lv5) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6 }
          if (rep >= repLv.lv6) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7 }
          if (rep >= repLv.lv7) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8 }
          if (rep >= repLv.lv8) { $(this).find('#repu').append(repBlock); var next = 'MAX' }
          $(this).find('#repu').attr('title','Reputation level ' + $(this).find('#rLv').length + '\nNext : (' + next + ')');
      });
    }
    else if (ver.phpbb2) {
      $('td .postdetails.poster-profile').each(function() {
          var rep = Number($(this).text().replace(reg,'$1'));
          $(this).parent().find('.name').next().after('<div id="repu">');
          if (rep >= repLv.lv1) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2  }
          if (rep >= repLv.lv2) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3  }
          if (rep >= repLv.lv3) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4  }
          if (rep >= repLv.lv4) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5  }
          if (rep >= repLv.lv5) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6  }
          if (rep >= repLv.lv6) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7  }
          if (rep >= repLv.lv7) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8  }
          if (rep >= repLv.lv8) { $(this).parent().find('#repu').append(repBlock); var next = 'MAX'  }
          $(this).parent().find('#repu').attr('title','Reputation level ' + $(this).parent().find('#rLv').length  + '\nNext : (' + next + ')');
      });
    }
});

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 28th 2014, 6:50 pm

@Ange Tuteur wrote:Hello @Glavee,

Replace your script with this :
Code:
$(document).ready(function() {
 
 var version = 'punbb';
 
 var settings = {
  repName : 'Reputation',
  repStyle : 'image',
  repImage : 'http://i57.servimg.com/u/f57/18/21/41/30/star12.png'
  };
 
 var repLv = {
  lv1 : 1,
  lv2 : 2,
  lv3 : 3,
  lv4 : 4,
  lv5 : 5,
  lv6 : 6,
  lv7 : 7,
  lv8 : 8
  };
 
 if (settings.repStyle.toLowerCase() == 'block') { var repBlock = '<span id="rLv" class="repuBlock">' }
  else if (settings.repStyle.toLowerCase() == 'image') { var repBlock = '<img id="rLv" src="'+settings.repImage+'"/>' }
  else { var repBlock = '<span id="rLv" class="repuBlock">' }
  var ver = { phpbb2 : version.toLowerCase() == 'phpbb2', phpbb3 : version.toLowerCase() == 'phpbb3', punbb : version.toLowerCase() == 'punbb', invision : version.toLowerCase() == 'invision' };
  var reg = new RegExp('.*'+settings.repName+':\\s+(\\d+).*');
 
  if (ver.phpbb3 || ver.punbb || ver.invision) {
  if (ver.phpbb3 || ver.invision) { var profSel = '.postprofile'; var addRepu = $(this).find('dt').append('<div id="repu">'); }
  else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info center').append('<div id="repu">'); }
  $(profSel).each(function() {
  var rep = Number($(this).text().replace(reg,'$1'));
  addRepu;
  if (rep >= repLv.lv1) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2 }
  if (rep >= repLv.lv2) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3 }
  if (rep >= repLv.lv3) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4 }
  if (rep >= repLv.lv4) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5 }
  if (rep >= repLv.lv5) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6 }
  if (rep >= repLv.lv6) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7 }
  if (rep >= repLv.lv7) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8 }
  if (rep >= repLv.lv8) { $(this).find('#repu').append(repBlock); var next = 'MAX' }
  $(this).find('#repu').attr('title','Reputation level ' + $(this).find('#rLv').length + '\nNext : (' + next + ')');
  });
  }
  else if (ver.phpbb2) {
  $('td .postdetails.poster-profile').each(function() {
  var rep = Number($(this).text().replace(reg,'$1'));
  $(this).parent().find('.name').next().after('<div id="repu">');
  if (rep >= repLv.lv1) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2 }
  if (rep >= repLv.lv2) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3 }
  if (rep >= repLv.lv3) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4 }
  if (rep >= repLv.lv4) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5 }
  if (rep >= repLv.lv5) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6 }
  if (rep >= repLv.lv6) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7 }
  if (rep >= repLv.lv7) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8 }
  if (rep >= repLv.lv8) { $(this).parent().find('#repu').append(repBlock); var next = 'MAX' }
  $(this).parent().find('#repu').attr('title','Reputation level ' + $(this).parent().find('#rLv').length + '\nNext : (' + next + ')');
  });
  }
});

Ange, it doesn't work. Even the default one doesn't work. :-?

Why?

(Yes, the javascript is enabled, the repName : 'Reputation' is correct and the version too)

EDIT: I logged off from account and after it showed me the bars. That means it shows the reputation bars only to the guests. I think it's an error of the script...

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 28th 2014, 11:37 pm

BUMP

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 29th 2014, 2:06 am

Just bringing up my post...

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Ange Tuteur on December 29th 2014, 2:11 am

@Glavee You may bump your post once every 24h if there has been no reply.

Do you have any scripts that only execute for members who are logged in only ? You can try this if you want :
Code:
$(document).ready(function() {
 
  var version = 'punbb';
 
  var settings = {
      repName : 'Reputation',
      repStyle : 'image',
      repImage : 'http://i57.servimg.com/u/f57/18/21/41/30/star12.png'
    };
 
  var repLv = {
      lv1 : 1,
      lv2 : 2,
      lv3 : 3,
      lv4 : 4,
      lv5 : 5,
      lv6 : 6,
      lv7 : 7,
      lv8 : 8
    };
 
  if (settings.repStyle.toLowerCase() == 'block') { var repBlock = '<span id="rLv" class="repuBlock">' }
    else if (settings.repStyle.toLowerCase() == 'image') { var repBlock = '<img id="rLv" src="'+settings.repImage+'"/>' }
    else { var repBlock = '<span id="rLv" class="repuBlock">' }
    var ver = { phpbb2 : version.toLowerCase() == 'phpbb2', phpbb3 : version.toLowerCase() == 'phpbb3', punbb : version.toLowerCase() == 'punbb', invision : version.toLowerCase() == 'invision' };
    var reg = new RegExp('.*'+settings.repName+':\\s+(\\d+).*');
 
  if (ver.phpbb3 || ver.punbb || ver.invision) {
      if (ver.phpbb3 || ver.invision) { var profSel = '.postprofile'; var addRepu = $(this).find('dt').append('<div id="repu">'); }
      else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<div id="repu">'); }
      $(profSel).each(function() {
          var rep = Number($(this).text().replace(reg,'$1'));
          addRepu;
          if (rep >= repLv.lv1) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2 }
          if (rep >= repLv.lv2) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3 }
          if (rep >= repLv.lv3) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4 }
          if (rep >= repLv.lv4) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5 }
          if (rep >= repLv.lv5) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6 }
          if (rep >= repLv.lv6) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7 }
          if (rep >= repLv.lv7) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8 }
          if (rep >= repLv.lv8) { $(this).find('#repu').append(repBlock); var next = 'MAX' }
          $(this).find('#repu').attr('title','Reputation level ' + $(this).find('#rLv').length + '\nNext : (' + next + ')');
      });
    }
    else if (ver.phpbb2) {
      $('td .postdetails.poster-profile').each(function() {
          var rep = Number($(this).text().replace(reg,'$1'));
          $(this).parent().find('.name').next().after('<div id="repu">');
          if (rep >= repLv.lv1) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2  }
          if (rep >= repLv.lv2) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3  }
          if (rep >= repLv.lv3) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4  }
          if (rep >= repLv.lv4) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5  }
          if (rep >= repLv.lv5) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6  }
          if (rep >= repLv.lv6) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7  }
          if (rep >= repLv.lv7) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8  }
          if (rep >= repLv.lv8) { $(this).parent().find('#repu').append(repBlock); var next = 'MAX'  }
          $(this).parent().find('#repu').attr('title','Reputation level ' + $(this).parent().find('#rLv').length  + '\nNext : (' + next + ')');
      });
    }
});

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 29th 2014, 2:17 am

@Ange Tuteur wrote:@Glavee You may bump your post once every 24h if there has been no reply.

Do you have any scripts that only execute for members who are logged in only ? You can try this if you want :
Code:
$(document).ready(function() {
 
 var version = 'punbb';
 
 var settings = {
  repName : 'Reputation',
  repStyle : 'image',
  repImage : 'http://i57.servimg.com/u/f57/18/21/41/30/star12.png'
  };
 
 var repLv = {
  lv1 : 1,
  lv2 : 2,
  lv3 : 3,
  lv4 : 4,
  lv5 : 5,
  lv6 : 6,
  lv7 : 7,
  lv8 : 8
  };
 
 if (settings.repStyle.toLowerCase() == 'block') { var repBlock = '<span id="rLv" class="repuBlock">' }
  else if (settings.repStyle.toLowerCase() == 'image') { var repBlock = '<img id="rLv" src="'+settings.repImage+'"/>' }
  else { var repBlock = '<span id="rLv" class="repuBlock">' }
  var ver = { phpbb2 : version.toLowerCase() == 'phpbb2', phpbb3 : version.toLowerCase() == 'phpbb3', punbb : version.toLowerCase() == 'punbb', invision : version.toLowerCase() == 'invision' };
  var reg = new RegExp('.*'+settings.repName+':\\s+(\\d+).*');
 
 if (ver.phpbb3 || ver.punbb || ver.invision) {
  if (ver.phpbb3 || ver.invision) { var profSel = '.postprofile'; var addRepu = $(this).find('dt').append('<div id="repu">'); }
  else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<div id="repu">'); }
  $(profSel).each(function() {
  var rep = Number($(this).text().replace(reg,'$1'));
  addRepu;
  if (rep >= repLv.lv1) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2 }
  if (rep >= repLv.lv2) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3 }
  if (rep >= repLv.lv3) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4 }
  if (rep >= repLv.lv4) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5 }
  if (rep >= repLv.lv5) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6 }
  if (rep >= repLv.lv6) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7 }
  if (rep >= repLv.lv7) { $(this).find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8 }
  if (rep >= repLv.lv8) { $(this).find('#repu').append(repBlock); var next = 'MAX' }
  $(this).find('#repu').attr('title','Reputation level ' + $(this).find('#rLv').length + '\nNext : (' + next + ')');
  });
  }
  else if (ver.phpbb2) {
  $('td .postdetails.poster-profile').each(function() {
  var rep = Number($(this).text().replace(reg,'$1'));
  $(this).parent().find('.name').next().after('<div id="repu">');
  if (rep >= repLv.lv1) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv2 }
  if (rep >= repLv.lv2) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv3 }
  if (rep >= repLv.lv3) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv4 }
  if (rep >= repLv.lv4) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv5 }
  if (rep >= repLv.lv5) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv6 }
  if (rep >= repLv.lv6) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv7 }
  if (rep >= repLv.lv7) { $(this).parent().find('#repu').append(repBlock); var next = rep + '/' + repLv.lv8 }
  if (rep >= repLv.lv8) { $(this).parent().find('#repu').append(repBlock); var next = 'MAX' }
  $(this).parent().find('#repu').attr('title','Reputation level ' + $(this).parent().find('#rLv').length + '\nNext : (' + next + ')');
  });
  }
});

It still doesn't show and my toolbar too (only when I go in a topic). But these happen only when I'm logged in.


Last edited by Glavee on December 29th 2014, 2:21 am; edited 1 time in total

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Ange Tuteur on December 29th 2014, 2:20 am

While viewing the topic, press F12 and go to "console", do you see any errors ?

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 29th 2014, 2:23 am

@Ange Tuteur wrote:While viewing the topic, press F12 and go to "console", do you see any errors ?

Yes, 1 error and 2 warnings.

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Ange Tuteur on December 29th 2014, 2:28 am

This script is throwing an error :
Modules > JavaScript codes management

Find and remove it, or change the placement settings.
Code:
$(function () {
  if (document.post && document.post.message) {
    var saved_msg = my_getcookie('saved_msg');
    if (saved_msg && confirm('Do you want to restore your previous message?')) document.post.message.value += unescape(saved_msg);
    delete_cookie('saved_msg');
    setInterval(save_message, 30000);
    $(document.post.post).click(function () {
      delete_cookie('saved_msg')
    })
  }
});

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 29th 2014, 2:34 am

@Ange Tuteur wrote:This script is throwing an error :
Modules > JavaScript codes management

Find and remove it, or change the placement settings.
Code:
$(function () {
 if (document.post && document.post.message) {
  var saved_msg = my_getcookie('saved_msg');
  if (saved_msg && confirm('Do you want to restore your previous message?')) document.post.message.value += unescape(saved_msg);
  delete_cookie('saved_msg');
  setInterval(save_message, 30000);
  $(document.post.post).click(function () {
  delete_cookie('saved_msg')
  })
 }
});

Oh god, thank you Ange!

Now the position is good to and the toolbar is back. It was because of my Auto-saver from avacweb.

I have 1 more problem to resolve, the offline icon. I opened already a topic about that. I would be really thankful if you would help me with that too!

Thank you once again!

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 29th 2014, 12:39 pm

Oh, yea, I forgot. I have 1 more question, if I want to move it again in another place, what I need to change from this code, which part?

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Ange Tuteur on December 29th 2014, 8:13 pm

Find this condition :
Code:
else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<div id="repu">'); }

and change these selectors : .user-ident .user-basic-info

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 29th 2014, 10:03 pm

@Ange Tuteur wrote:Find this condition :
Code:
else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<div id="repu">'); }

and change these selectors : .user-ident .user-basic-info

Got it Ange, thank you!

EDIT: The reputation bars are too close with the avatar. How I can make a bit of space between them?

Here's an image:


Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Ange Tuteur on December 29th 2014, 11:12 pm

Change this :
Code:
else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<div id="repu">'); }

To this :
Code:
else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<br><div id="repu">'); }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Reputation bar position

Post by Glavee on December 29th 2014, 11:20 pm

@Ange Tuteur wrote:Change this :
Code:
else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<div id="repu">'); }

To this :
Code:
else if (ver.punbb) { var profSel = '.user'; var addRepu = $(this).find('.user-ident .user-basic-info').append('<br><div id="repu">'); }

Oh yea, the <br>, i forgot.

Thanks!

Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Reputation bar position

Post by Ange Tuteur on December 30th 2014, 12:27 am

You're welcome

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum