Tuesday tip : Reputation system: only allow positive votes
+26
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
hoodedwarbler12
Ezio
Russel
Shadow
30 posters
Page 1 of 2
Page 1 of 2 • 1, 2
Tuesday tip : Reputation system: only allow positive votes
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.
PhpBB2 and punBB The changes are the same on both versions.
Find:
Replace it with:
Then click the "Publish" button. Result:
PhpBB3 version and Invision The changes are the same on both versions.
Add this code to your CSS:
Result:
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):
Find:
And replace it with:
Then click the "Publish" button. Afterward add this to your CSS:
If your image has a width of 35px, remember to adapt this code by changing 24px to 35px. Result: |
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. |
Shadow- Manager
- Posts : 16208
Reputation : 1832
Language : French, English
Re: Tuesday tip : Reputation system: only allow positive votes
First to comment! Thanks for this. Think always for positive ones. :-)
Russel- Active Poster
- Posts : 1407
Reputation : 236
Language : English, Filipino
Location : Philippines
Re: Tuesday tip : Reputation system: only allow positive votes
hi forumotion, I wanted to ask. why when I change the code, appears orders "The tag has been closed before being opened or the tag hasn't been opened." and can not be replaced. anyone know? I use phpBB2. sorry I am not good at HTML problem.
thank-you
thank-you
Re: Tuesday tip : Reputation system: only allow positive votes
Thank you so much, Typlo. My forum is for children, so this help reduce meanness. But of course adults are mean too.
Re: Tuesday tip : Reputation system: only allow positive votes
I was read this tutorial in another's FDF. Is absolutely great!
Thank you Typlo ^^
Thank you Typlo ^^
Guest- Guest
Re: Tuesday tip : Reputation system: only allow positive votes
Got the code working for PHPBB3, just removed the /*-- line
Also, after playing around with padding, etc, I got an image for the positive rep for the PHPBB3 version.
Here's the code
Note: Depending on your board, you'll have to readjust the padding.
Also, after playing around with padding, etc, I got an image for the positive rep for the PHPBB3 version.
Here's the code
- Code:
.vote .vote-button a {
background-image: url('http://i22.servimg.com/u/f22/09/02/12/09/001_1810.png') !important;
padding-right: 25px;
padding-top: 22px;
font-size: 0px !important;
}
Note: Depending on your board, you'll have to readjust the padding.
Re: Tuesday tip : Reputation system: only allow positive votes
Thanks for the feature, however, That thumbs up icon should be possible on other forums besides only phpBB2 and punBB.
Guest- Guest
fauzi rahman- New Member
- Posts : 2
Reputation : 0
Language : inggris
Re: Tuesday tip : Reputation system: only allow positive votes
Really useful.
Thank you.
Thank you.
unknown_fever- New Member
- Posts : 11
Reputation : 0
Language : English
Re: Tuesday tip : Reputation system: only allow positive votes
SPADEZ wrote:Thanks for the feature, however, That thumbs up icon should be possible on other forums besides only phpBB2 and punBB.
Check my reply. It is possible with CSS.
Re: Tuesday tip : Reputation system: only allow positive votes
Why on earth would someone add display:none; to a template?
Please people, use the CSS instead! It works on all board types. Changing the DOM in this fashion is poor HTML design practice. I strongly suggest that the original post be edited to only show the CSS solution for removing the minus sign.
And a suggestion to the eToxic folks. You have plus and minus sign images in the ACP in the Mini-Icons section of Pics Management. How about putting those in the template instead of ASCII +/- characters? In that way, you could get rid of part II of this "tip" and just let admins change the vote images by changing the images in the ACP...
Do I have to think of everything for you? Hey, eToxic...let's talk.
Please people, use the CSS instead! It works on all board types. Changing the DOM in this fashion is poor HTML design practice. I strongly suggest that the original post be edited to only show the CSS solution for removing the minus sign.
And a suggestion to the eToxic folks. You have plus and minus sign images in the ACP in the Mini-Icons section of Pics Management. How about putting those in the template instead of ASCII +/- characters? In that way, you could get rid of part II of this "tip" and just let admins change the vote images by changing the images in the ACP...
Do I have to think of everything for you? Hey, eToxic...let's talk.
Guest- Guest
Re: Tuesday tip : Reputation system: only allow positive votes
Congrulations.
Thank you!
Thank you!
Spoiler- New Member
- Posts : 16
Reputation : 0
Language : Português
Re: Tuesday tip : Reputation system: only allow positive votes
pimentel2 wrote:Got the code working for PHPBB3, just removed the /*-- line
Also, after playing around with padding, etc, I got an image for the positive rep for the PHPBB3 version.
Here's the code
- Code:
.vote .vote-button a {
background-image: url('http://i22.servimg.com/u/f22/09/02/12/09/001_1810.png') !important;
padding-right: 25px;
padding-top: 22px;
font-size: 0px !important;
}
Note: Depending on your board, you'll have to readjust the padding.
No matter how much I adjust this it does not show the full image...
As you can see in this pic here: I am using Invision. My forum link is in the obvious location of my post profile.
Guest- Guest
Re: Tuesday tip : Reputation system: only allow positive votes
SPADEZ wrote:pimentel2 wrote:Got the code working for PHPBB3, just removed the /*-- line
Also, after playing around with padding, etc, I got an image for the positive rep for the PHPBB3 version.
Here's the code
- Code:
.vote .vote-button a {
background-image: url('http://i22.servimg.com/u/f22/09/02/12/09/001_1810.png') !important;
padding-right: 25px;
padding-top: 22px;
font-size: 0px !important;
}
Note: Depending on your board, you'll have to readjust the padding.
No matter how much I adjust this it does not show the full image...
As you can see in this pic here: I am using Invision. My forum link is in the obvious location of my post profile.
I took me a while. Your gonna have to play around with the padding.
Re: Tuesday tip : Reputation system: only allow positive votes
Didn't work, I already tried that. Their is something in that code that is missing to work on my forum I guess. I use a website debugger (firebug) and I was adjusting the padding values on the fly and nothing I put allowed it to show as a full icon for some reason.pimentel2 wrote:Try adding !important to it
Guest- Guest
Re: Tuesday tip : Reputation system: only allow positive votes
SPADEZ wrote:Didn't work, I already tried that. Their is something in that code that is missing to work on my forum I guess. I use a website debugger (firebug) and I was adjusting the padding values on the fly and nothing I put allowed it to show as a full icon for some reason.pimentel2 wrote:Try adding !important to it
Try editing it on the live version, perhaps?
Re: Tuesday tip : Reputation system: only allow positive votes
Yes, it's the same difference only with firebug i can modify it without going through my ACP back and forth saving and cancelling.
Guest- Guest
Re: Tuesday tip : Reputation system: only allow positive votes
I am writing a tutorial that will show how to replace the +/- characters in the vote buttons with images. The tutorial will work on all four forumotion board types.
And in the future, if a tutorial/tip posted here requires templates, I will write a similar tutorial for phpBB3 and IPB2/Invision boards if the tutorial/tip can be done using javascript. I have already written a tutorial for phpBB3 and IPB2/Invision boards that removes the topics/messages columns as described in this topic.
Please note, due to the double-standard that exists on this forum, I cannot post the name/URL of the forum where the tutorials reside, nor can I tell you anything more than what I just have...
And in the future, if a tutorial/tip posted here requires templates, I will write a similar tutorial for phpBB3 and IPB2/Invision boards if the tutorial/tip can be done using javascript. I have already written a tutorial for phpBB3 and IPB2/Invision boards that removes the topics/messages columns as described in this topic.
Please note, due to the double-standard that exists on this forum, I cannot post the name/URL of the forum where the tutorials reside, nor can I tell you anything more than what I just have...
Guest- Guest
Re: Tuesday tip : Reputation system: only allow positive votes
I'm read this tutorial in other forum !
thanks for the tutorial
thanks for the tutorial
Re: Tuesday tip : Reputation system: only allow positive votes
Cool Dion, I'm pretty sure you'll have a solution to my problem and well put tutorial. I'll be looking forward to viewing it
Guest- Guest
Re: Tuesday tip : Reputation system: only allow positive votes
Thanks for enabling removal of this, makes my site more friendly.
Re: Tuesday tip : Reputation system: only allow positive votes
Thanks for this. I love it. It's great
viankova- Forumember
- Posts : 138
Reputation : 0
Language : Sumen
Re: Tuesday tip : Reputation system: only allow positive votes
I replaced the + and - with images but how do i move them to the left:
URFTV- Forumember
- Posts : 237
Reputation : 0
Language : English
Location : Australia
Re: Tuesday tip : Reputation system: only allow positive votes
it doesnt work in phpbb3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Re: Tuesday tip : Reputation system: only allow positive votes
Dion wrote:Why on earth would someone add display:none; to a template?
Please people, use the CSS instead! It works on all board types. Changing the DOM in this fashion is poor HTML design practice. I strongly suggest that the original post be edited to only show the CSS solution for removing the minus sign.
I can't remember why I put the templates modification for phpBB2 and punBB in the original tuto, but if I did it while the CSS solution works, there is probably a reason.
Threax- New Member
- Posts : 15
Reputation : 0
Language : French, English, Spanish
Page 1 of 2 • 1, 2
Similar topics
» Total positive Votes Equal Reputation
» [HELP] Improve the reputation system so it counts votes
» Improve the reputation system so it counts votes
» Tuesday Tip : Remove the underline under the usernames
» Datacenter Maintenance during Tuesday, February 05, 2019
» [HELP] Improve the reputation system so it counts votes
» Improve the reputation system so it counts votes
» Tuesday Tip : Remove the underline under the usernames
» Datacenter Maintenance during Tuesday, February 05, 2019
Page 1 of 2
Permissions in this forum:
You cannot reply to topics in this forum