Nimbuzzmasters forum
nwlve HI   GUEST nwlve
WELCOME TO NIMBUZZ MASTERS FORUM
PLEASE   REGISTER

TO
Dzs HAVE FULL ACCESS TO THE FORUM AND BE ABLE TO DOWNLOAD STUFF Dzs
Grp
STAY WITH US THANK YOU
Forum management ©️
Mzs

IPB Reputation v1

View previous topic View next topic Go down

avatar
TOP-CODER
Management team
Management team
Join date : 2012-11-07
Posts : 401
Thanks gained - : 2896
Gender : Male
Age : 29
Location Location : india
View user profile http://www.hackersw0rld.tk

PostTOP-CODER on Sun Apr 09, 2017 11:00 pm

Administration Panel → Modules → HTML & Javascript → Javascript codes management


Name: Reputation Style IPB
Placement: In the Topics

Punbb
Code:
$(document).ready(function() {
$(".pun .post .user").each(function(){
$(this).html($(this).html().replace(/<span class="label/g,'<dd><div class="post_field"><span class="label'));
});
$('.user-info .post_field:contains("Reputation")').each(function() {
var rep = $(this).text().match(/\d+/g);
$(this).addClass('reputation');
$(this).append('<span class="title" style="font-weight:normal"></span>');
if(rep == 0) {
        $(this).find('.title').text('Neutral');
        $(this).addClass('zero');
}
else if(rep >= 1 && rep < 5) {
        $(this).find('.title').text('Member');
}
else if(rep >= 5 && rep < 10) {
        $(this).find('.title').text('Active Member');
}
else if(rep >= 10) {
        $(this).find('.title').text('Excellent');
}
});
});


Phpbb3

Code:
$(document).ready(function() {
$(".postprofile dl").each(function(){
$(this).html($(this).html().replace(/<span class="label/g,'<dd><div class="post_field"><span class="label'));
});
$('.postprofile dl .post_field:contains("Reputation")').each(function() {
var rep = $(this).text().match(/\d+/g);
$(this).addClass('reputation');
$(this).append('<span class="title" style="font-weight:normal"></span>');
if(rep == 0) {
        $(this).find('.title').text('Neutral');
        $(this).addClass('zero');
}
else if(rep >= 1 && rep < 5) {
        $(this).find('.title').text('Member');
}
else if(rep >= 5 && rep < 10) {
        $(this).find('.title').text('Active Member');
}
else if(rep >= 10) {
        $(this).find('.title').text('Excellent');
}
});
});

Phpbb2

Code:
$(document).ready(function() {
$(".post .row1 .postdetails").each(function(){
$(this).html($(this).html().replace(/<span class="label/g,'<dd><div class="post_field"><span class="label'));
});
$('.post .row1 .postdetails .post_field:contains("Reputation")').each(function() {
var rep = $(this).text().match(/\d+/g);
$(this).addClass('reputation');
$(this).append('<span class="title" style="font-weight:normal"></span>');
if(rep == 0) {
        $(this).find('.title').text('Neutral');
        $(this).addClass('zero');
}
else if(rep >= 1 && rep < 5) {
        $(this).find('.title').text('Member');
}
else if(rep >= 5 && rep < 10) {
        $(this).find('.title').text('Active Member');
}
else if(rep >= 10) {
        $(this).find('.title').text('Excellent');
}
});
});

Invision

Code:
$(document).ready(function() {
$(".postprofile .postprofile-details.postdetails").each(function(){
$(this).html($(this).html().replace(/<span class="label/g,'<dd><div class="post_field"><span class="label'));
});
$('.postprofile .postprofile-details.postdetails .post_field:contains("Reputation")').each(function() {
var rep = $(this).text().match(/\d+/g);
$(this).addClass('reputation');
$(this).append('<span class="title" style="font-weight:normal"></span>');
if(rep == 0) {
        $(this).find('.title').text('Neutral');
        $(this).addClass('zero');
}
else if(rep >= 1 && rep < 5) {
        $(this).find('.title').text('Member');
}
else if(rep >= 5 && rep < 10) {
        $(this).find('.title').text('Active Member');
}
else if(rep >= 10) {
        $(this).find('.title').text('Excellent');
}
});
});

Administration Panel → Display → Pictures & Colors → CSS


Code:
.reputation {
  background-color: rgb(141, 177, 62)!important;
  background-image: url(http://i38.servimg.com/u/f38/17/31/71/58/highli10.png);
  border-radius: 3px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  display: block;
  margin: 0 auto;
  margin-bottom: 3px;
  padding: 3px 7px;
  max-width: 125px;
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.298039) 0px -1px 0px;
  background-position: 0px 1px;
  background-repeat: repeat no-repeat;
}
.reputation.zero {
  background-color: rgb(16, 16, 16)!important;
  color: rgb(255, 255, 255);
}

Spoiler:
if you have question & Problem please create a thread

avatar
AYSHA
Administrator
Administrator
Join date : 2012-12-09
Posts : 484
Thanks gained - : 3754
Gender : Female
Age : 23
Location Location : India kerala
View user profile http://Www.ayshas.malware-site.www

PostAYSHA on Mon Apr 10, 2017 8:14 pm

[You must be registered and logged in to see this link.]


Thankz [You must be registered and logged in to see this link.]


ηιλ⁄(вυzz λ⁄(αѕтєяs™


ilove red...
avatar
~(C)r!m!na(l)~
Management team
Management team
Join date : 2012-12-16
Posts : 305
Thanks gained - : 1584
Gender : Male
Age : 31
Location Location : Pakisthan
View user profile

Post~(C)r!m!na(l)~ on Wed Apr 12, 2017 10:05 am

Nice brother

-Boy19-
Member
Member
Join date : 2012-12-19
Posts : 12
Thanks gained - : 21
View user profile

Post-Boy19- on Sat Apr 15, 2017 7:54 pm

Nice bro You

Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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