The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Improved Reputation issue

3 posters

Go down

Solved Improved Reputation issue

Post by spryima October 1st 2016, 12:18 am

Technical Details


Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome
Who the problem concerns : All members
Forum link : ( link is hidden, you must reply to see )

Description of problem

Hi.
I installed Improved Reputation from this tutorial improved reputation

It works. But it replaced existing reputation and starts from "0".

Is it possible to continue count from previous reputation score?
thanks


Last edited by spryima on October 2nd 2016, 12:34 pm; edited 1 time in total
spryima
spryima
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukraine7.com/

Back to top Go down

Solved Re: Improved Reputation issue

Post by SLGray October 1st 2016, 5:30 am

I believe it should not change the count if there were already some before you installed the tutorial.


Improved Reputation issue Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51576
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Improved Reputation issue

Post by spryima October 1st 2016, 7:51 am

SLGray wrote:I believe it should not change the count if there were already some before you installed the tutorial.
It is.
I'll show the previous version of reputation. May be it helps.

CSS
Code:
.vote .vote-bar {
border: none !important;
font-size: 12px !important;
height: auto !important;
margin: 0 !important;
padding: 0 0px !important;
width: auto !important;
float: left;
}

.vote {
float: right !important;
width: auto !important;
text-align: right !important;
text-shadow: 1px 1px 0 rgba(102, 102, 102, 0.5);
    font-family: Helvetica, Arial, sans-serif;
    display: inline-block;
    color: #333 !important;
    position: relative;
    margin: 0 10px 0 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    text-decoration: none;
    height: 34px;
    line-height: 34px;
}

.vote:after {
    display: inline-block;
    border: 0px solid;
    border-color: transparent transparent transparent;
    height: 0;
    width: 0;
    position: absolute;
    right: -24px;
    top: 0;
    content: "";
}

.vote .vote-button {
font-weight: 700;
text-align: center;
float: left;
height: 24px;
width: 24px;
line-height: 24px;
margin: 5px;
border-radius: 4px;
}

.vote-button:hover {
opacity: 0.4;
}

.vote-button a {
display: block;
width: 24px;
height: 24px;
}

.like {
padding-left: 20px;
background: transparent url(http://i39.servimg.com/u/f39/16/54/26/99/heart_10.png) no-repeat left center;
 background-size: 50% auto;
}


Java Script
Code:
$(document).ready(function() {
  $('.vote').each(function() {
    if ($(this).find('.votebase').length > 0) {
    $(this).find('.like').html(/[0-9]+/.exec($(this).find('.votebase').html().replace('Post rating: 100% (',''))[0]);
    }
    else {}
  });
});

It always reloaded the page with information that "your voice is accepted", so I've decided to change it to improved version.
spryima
spryima
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukraine7.com/

Back to top Go down

Solved Re: Improved Reputation issue

Post by spryima October 1st 2016, 11:06 pm

I've collected additional information.

It adds +1 after voting, but if I refresh the page it becomes "0" again. But I can't vote again for that message.
spryima
spryima
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukraine7.com/

Back to top Go down

Solved Re: Improved Reputation issue

Post by brandon_g October 6th 2016, 6:50 pm

Hello,

Is this issue solved? I noticed the topic has been marked with the solved icon. Please reply within 24 hours.

-Brandon


Improved Reputation issue Brando10
Remember to mark your topic Improved Reputation issue Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Improved Reputation issue Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Improved Reputation issue

Post by spryima October 6th 2016, 7:50 pm

Yes. Thanks
spryima
spryima
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukraine7.com/

Back to top Go down

Solved Re: Improved Reputation issue

Post by brandon_g October 6th 2016, 7:57 pm

Ok, thanks for confirming. Smile

Topic solved and archived ~ brandon_g
Please read our forum rules: ESF General Rules


Improved Reputation issue Brando10
Remember to mark your topic Improved Reputation issue Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Improved Reputation issue Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Back to top

- Similar topics

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