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.

Improved Reputation issue

View previous topic View next topic Go down

Solved Improved Reputation issue

Post by spryima on 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
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukrainianforum.net/

Back to top Go down

Solved Re: Improved Reputation issue

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

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


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


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Improved Reputation issue

Post by spryima on 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
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukrainianforum.net/

Back to top Go down

Solved Re: Improved Reputation issue

Post by spryima on 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
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukrainianforum.net/

Back to top Go down

Solved Re: Improved Reputation issue

Post by brandon_g on 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


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5358
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: Improved Reputation issue

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

Yes. Thanks

spryima
New Member

Posts : 15
Reputation : 1
Language : Eng

http://grunvald.ukrainianforum.net/

Back to top Go down

Solved Re: Improved Reputation issue

Post by brandon_g on 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


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5358
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.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