Tuesday tip : Reputation system: only allow positive votes - Page 2 Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
+27
Fireflaming246
Stephen-
ioncube
invisible_fa
dleavell
Base
lovekhmer2008
CajunBelle
baxuz011
Social_King
Threax
MohammadRN
URFTV
viankova
OnTheBusesCrazy
petros_7
The_Great_WZ
Cody!
Spoiler
unknown_fever
fauzi rahman
Mio-chan
mpelmmc
hoodedwarbler12
Ezio
Russel
Shadow
31 posters

    Tuesday tip : Reputation system: only allow positive votes

    Shadow
    Shadow
    Manager
    Manager


    Male Posts : 16217
    Reputation : 1831
    Language : French, English

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Tuesday tip : Reputation system: only allow positive votes

    Post by Shadow January 11th 2011, 2:20 pm

    First topic message reminder :

    Reputation system: only allow positive votes


    Since the appearance of the reputation system, messages can be voted by the "+" or "-" button. However, many members have wondered if it is possible to only take into account the positive votes. This tutorial will explain how to remove the "-" button on all forum versions.

    Tuesday tip : Reputation system: only allow positive votes - Page 2 09615172706You must also :
    - Be the founder of the forum
    - Have a basic knowledge of HTML, and templates.

    Tuesday tip : Reputation system: only allow positive votes - Page 2 09615175912 PhpBB2 and punBB
    The changes are the same on both versions.

    Administration Panel Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10Display Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10 Templates Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10 General Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10 viewtopic_body

    Find:

    Code:
    <!-- BEGIN switch_no_bar -->
                                <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
                                <!-- END switch_no_bar -->

                                <!-- BEGIN switch_vote -->
                                <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
                                <!-- END switch_vote -->

    Replace it with:

    Code:
    <!-- BEGIN switch_no_bar -->
                                <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar" style="display: none;">----</div>
                                <!-- END switch_no_bar -->

                                <!-- BEGIN switch_vote -->
                                <div class="vote-button" style="display: none;"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"></a></div>
                                <!-- END switch_vote -->

    Then click the "Publish" button.

    Result:
    PhpBB2PunBB
    Tuesday tip : Reputation system: only allow positive votes - Page 2 Vot-tu10Tuesday tip : Reputation system: only allow positive votes - Page 2 Punbb10

    Tuesday tip : Reputation system: only allow positive votes - Page 2 09615175912 PhpBB3 version and Invision
    The changes are the same on both versions.

    Administration Panel Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10Display Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10Colors Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10CSS

    Add this code to your CSS:

    Code:
    / *-- Removal of negative voting button in messages --* /
    .vote .vote-button, .vote-no-bar {
      display:none;
    }
    .vote .vote-button:first-child {
        display:block;
    }

    Result:
    PhpBB3Invision
    Tuesday tip : Reputation system: only allow positive votes - Page 2 Phpbb310Tuesday tip : Reputation system: only allow positive votes - Page 2 Invisi10

      Tuesday tip : Reputation system: only allow positive votes - Page 2 09615172706 Replace the "+" with a picture
      PhpBB2 and phpBB versions only

    It is of course possible to replace the + with an image of your choice. In our example, we will take this picture (you can also use):
    Tuesday tip : Reputation system: only allow positive votes - Page 2 001_1810

    Administration Panel Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10 Display Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10 Templates Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10 General Tuesday tip : Reputation system: only allow positive votes - Page 2 Arrow10 viewtopic_body

    Find:

    Code:
    <!-- BEGIN switch_vote -->
                                <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
                                <!-- END switch_vote -->

    And replace it with:

    Code:
    <!-- BEGIN switch_vote -->
                                <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i22.servimg.com/u/f22/09/02/12/09/001_1810.png" title="Avis positif" alt="Avis positif" /></a></div>
                                <!-- END switch_vote -->

    Then click the "Publish" button.

    Afterward add this to your CSS:

    Code:
    .vote {
        width: 24px; / *-- Width of the image chosen --* /
    }
    Here, the image chosen above has a width of 24px, so we put a value of 24px.
    If your image has a width of 35px, remember to adapt this code by changing 24px to 35px. Wink

    Result:
    Tuesday tip : Reputation system: only allow positive votes - Page 2 Vot-tu11

    This tutorial was written by the Staff of the Forum Forum,
    And in particular Toto456 and translated by MrMario.

    No reproduction possible without our consent, in accordance with article L122-1 of the ICC.
    avatar
    baxuz011
    New Member


    Posts : 5
    Reputation : 0
    Language : Srpski

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Hellp

    Post by baxuz011 March 4th 2011, 2:02 am

    Menu can not see the image, overlapping the edge of the forum. how to fix it. "PunBB"

    Sorry for my bad English.


    Tuesday tip : Reputation system: only allow positive votes - Page 2 Untitled

    How to improve it, to see the whole picture?


    EDIT:

    Fixed
    CajunBelle
    CajunBelle
    New Member


    Female Posts : 8
    Reputation : 0
    Language : English

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty doesnt work for me

    Post by CajunBelle March 18th 2011, 5:10 am

    It doesnt work on my forum . Ive tried 3 times and the minus sign is still there . Thanks anyway .


    Last edited by CajunBelle on March 18th 2011, 5:11 am; edited 1 time in total (Reason for editing : spelling error)
    lovekhmer2008
    lovekhmer2008
    New Member


    Female Posts : 10
    Reputation : 0
    Language : Khmer Française English
    Location : Phnom Penh (Cambodia)

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by lovekhmer2008 March 30th 2011, 1:29 pm

    my forum PhpBB2 version
    i make like you write but don't work on my forum
    why ?
    Base
    Base
    Forumaster


    Male Posts : 10386
    Reputation : 1695
    Language : English and French
    Location : United Kingdom, England

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by Base March 30th 2011, 7:26 pm

    lovekhmer2008 wrote:my forum PhpBB2 version
    i make like you write but don't work on my forum
    why ?

    Have you clicked on "Publish" and made sure that the template is coloured green?
    avatar
    dleavell
    New Member


    Posts : 2
    Reputation : 0
    Language : Boise, Idaho

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by dleavell April 5th 2011, 2:33 am

    i think the best set up is to have only your forum moderators with the ability to de-rep and others can only go possitive
    invisible_fa
    invisible_fa
    Forumember


    Male Posts : 966
    Reputation : 21
    Language : Klingon
    Location : Does it matter? I'm Invisible, you will not see me anyway

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by invisible_fa April 5th 2011, 6:31 pm

    Good tutorial, I knew a "trick" (wich is not really a trick, just set points configuration to zero in the negative votes, so the reputation wont go down although someone give you negative reputation), but this tutorial is better, because, in that way, people directly cant give you negative reputation.

    Nice work Mr. Green
    ioncube
    ioncube
    Forumember


    Male Posts : 279
    Reputation : 41
    Language : eng
    Location : Pakistan

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by ioncube April 23rd 2011, 11:42 pm

    To produce an hover effect
    in phpbb3

    Code:
    .vote .vote-button:hover a {
    background-image: url('http://i54.tinypic.com/2ryolfq.jpg') !important;
    padding-left: 25px;
    padding-top: 22px;
    font-size: 0px !important;
    }
    for this to work you must add following before this :

    Code:
    .vote .vote-button, .vote-no-bar {
      display:none;
    }
    .vote .vote-button:first-child {
        display:block;
    }
    Stephen-
    Stephen-
    Hyperactive


    Male Posts : 2542
    Reputation : 326
    Language :

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by Stephen- April 24th 2011, 3:28 am

    another great tutorial typlo! Smile
    avatar
    Fireflaming246
    Forumember


    Posts : 31
    Reputation : 0
    Language : English

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by Fireflaming246 April 24th 2011, 3:32 pm

    I have a question. How do I change the picture for the Minus/Negative Vote button too?
    lovekhmer2008
    lovekhmer2008
    New Member


    Female Posts : 10
    Reputation : 0
    Language : Khmer Française English
    Location : Phnom Penh (Cambodia)

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by lovekhmer2008 April 30th 2011, 2:07 am

    Base wrote:
    lovekhmer2008 wrote:my forum PhpBB2 version
    i make like you write but don't work on my forum
    why ?

    Have you clicked on "Publish" and made sure that the template is coloured green?

    Yes

    Spoiler:
    kamikay
    kamikay
    New Member


    Posts : 20
    Reputation : 1
    Language : americano, no?

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by kamikay April 30th 2011, 3:47 am

    Great tut !
    avatar
    uafgrad
    Forumember


    Posts : 88
    Reputation : 0
    Language : English

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by uafgrad April 30th 2011, 4:49 am

    I did everything described here, and got the - sign to be gone. I also was able to get the thumbs up picture to show (I am on PhpBB3). How do I get rid of the + sign though? It is still there under the thumbs-up up picture.

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Vote10
    avatar
    FIB
    Forumember


    Male Posts : 500
    Reputation : 2
    Language : English
    Location : UK

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by FIB July 16th 2014, 11:58 pm

    I know this is an old topic but I can't get the image lined up correctly, I did open a post earlier but gave up so they locked it here https://help.forumotion.com/t134274-i-need-to-know-how-to-adjust-some-code  but I really do want to try and get this right so can anyone help? I think I am phpbb2? this is my forum http://www.draytondubs.com maybe you can tell which version it is. Any help would be very much appreciated.

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Thumb10
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Empty Re: Tuesday tip : Reputation system: only allow positive votes

    Post by Ange Tuteur July 17th 2014, 1:53 am

    FIB wrote:I know this is an old topic but I can't get the image lined up correctly, I did open a post earlier but gave up so they locked it here https://help.forumotion.com/t134274-i-need-to-know-how-to-adjust-some-code  but I really do want to try and get this right so can anyone help? I think I am phpbb2? this is my forum http://www.draytondubs.com maybe you can tell which version it is. Any help would be very much appreciated.

    Tuesday tip : Reputation system: only allow positive votes - Page 2 Thumb10

    Hello FIB,

    Please open a new topic in the Support Section, or contact a moderator to unlock your topic if it was not solved.

    Thank you.

    Topic locked