
Jalokim at 23h06
15
Jul
2009
Hello folks,
got another tutorial for you.
And yes, I know I suck at tuts but here goes:
The rep bar is a little boring when all you see is a plus and minus and that green bar.
So why not make it a bit better. make it look nice inside.
this tut is confirmed for phpbb3 and IPB
it may work on other versions if the classes that I mention are present
Step1: check if your CSS is full!
Go to admin panel -> display -> colors -> css tab*
*if applicable
If you have a load of text it means your css is ok. If you have a small amount of CSS with only a fraction of the text you gotta download your full CSS and paste it in.
Step2:
the proceedure is simple and difficult at the same time.
First, admin panel -> display -> colors -> css tab
find this in your CSS (use F3 if you are a firefox user, if you prefer IE , find this option yourself
)
I do realize something recently happened to the forumotion CSS, it got compressed and everything is in one line. So you have to be very careful when editing the CSS...
especially watch out for the { } brackets, they have to be as they were
Now that is my votebar, yours will have colors and borders.
Remove any color classes (color: #4536e8;)
and remove border classes (border: 1px solid #333;)
and now you need to expand your vote box, so as I did add a height and width class (or edit existing)
You have to know the size of you image before doing this.
40 x 40 is the max ... don't make images bigger than this !!!!
and in the end, you need to add a margin class to make sure text doesn't go onto your image:
so we add this as I have:
click here for super easy image version:
now we can install the images.
we need to find this:
that is the positive bar.
inside this class you need only 2 scripts:
in the background image you enter your image url
the second class you leave alone.
if there is anything else... remove it.
super easy image version here:
now we do the same for the negative class:
super easy image version here:
End Result:
tutorial written by Jalokim
screenshot idea thanks to Caihlem
and super easy image version thanks to Jalokim
got another tutorial for you.
And yes, I know I suck at tuts but here goes:
The rep bar is a little boring when all you see is a plus and minus and that green bar.
So why not make it a bit better. make it look nice inside.
this tut is confirmed for phpbb3 and IPB
it may work on other versions if the classes that I mention are present
Step1: check if your CSS is full!
Go to admin panel -> display -> colors -> css tab*
*if applicable
If you have a load of text it means your css is ok. If you have a small amount of CSS with only a fraction of the text you gotta download your full CSS and paste it in.
- Spoiler:
- To get your CSS you need to be on your index page of your forum.
Then on firefox, click file -> save page as -> select your destination but make sure you are saving the page as a complete web page.
If you got IE ... well I think you know how to save a page with all its contents.
Then go to the folder where you saved your page, there should be 2 files, a folder with elements and the html itself.
go to the folder, and find a CSS (it is usually xx-ltr.css) [xx is a number]
click that and rename it.
change it from xx-ltr.css to xx-ltr.txt
now double click the txt file you created. You will see your entire CSS, now select it all (crtl+a) and paste it in your CSS. Replace the entire text with all that you have there in that txt.
Don't worry, this will not change anything on your forum, NO custom style will be lost, Nothing.
Step2:
the proceedure is simple and difficult at the same time.
First, admin panel -> display -> colors -> css tab
find this in your CSS (use F3 if you are a firefox user, if you prefer IE , find this option yourself
I do realize something recently happened to the forumotion CSS, it got compressed and everything is in one line. So you have to be very careful when editing the CSS...
especially watch out for the { } brackets, they have to be as they were
- Code:
.vote .vote-bar {
border:none;
width: 40px;
height: 50px;
margin: 0 auto;
font-size: 0;
margin-left: -30px;
}
Now that is my votebar, yours will have colors and borders.
Remove any color classes (color: #4536e8;)
and remove border classes (border: 1px solid #333;)
and now you need to expand your vote box, so as I did add a height and width class (or edit existing)
- Code:
width: 40px;
height: 50px;
You have to know the size of you image before doing this.
40 x 40 is the max ... don't make images bigger than this !!!!
and in the end, you need to add a margin class to make sure text doesn't go onto your image:
so we add this as I have:
- Code:
margin-left: -30px;
click here for super easy image version:
- Spoiler:

now we can install the images.
we need to find this:
- Code:
.vote .vote-bar-plus {
that is the positive bar.
inside this class you need only 2 scripts:
- Code:
background-image: url('url of positive image');
background-repeat:no-repeat;
in the background image you enter your image url
the second class you leave alone.
if there is anything else... remove it.
super easy image version here:
- Spoiler:

now we do the same for the negative class:
- Code:
.vote .vote-bar-minus {
super easy image version here:
- Spoiler:

End Result:

tutorial written by Jalokim
screenshot idea thanks to Caihlem
and super easy image version thanks to Jalokim
1 Jalokim, on 30/07/2009 at 12h18
I'm back
got something new for you guys.
you were all "Booo you suck you just changed the inside image, we want to + and - to change"
well no more.
If you have PUNBB or PHPBB2
this is a tut for you.
Replacing the "+" and "-" buttons
using template editing you can modify the settings
so go to admin panel-> display-> templates -> general-> viewtopic_body
hit the yellow edit icon and find this in your template:
now all you got to do is add an image.
If you want I made a few defaults if you wish to use them please do:

to replace the text with an image you have to use html image tags.
so your code will look like this:
you have successfully changes the plus image
now the minus... same rules apply, but this is the code you edit:
If you want a cool roll over effect, just paste this code:
Negative:
Positive:
now once you have done that you can save
and then confirm your actions with the green plus
But this is not all.
the images may not appear properly so you need to edit the CSS
admin panel-> display-> colors-> css
find this:
you will have to add or edit the width class
change the XX to your images' size.
and save
and here is an image from testjal:

got something new for you guys.
you were all "Booo you suck you just changed the inside image, we want to + and - to change"
well no more.
If you have PUNBB or PHPBB2
this is a tut for you.
Replacing the "+" and "-" buttons
using template editing you can modify the settings
so go to admin panel-> display-> templates -> general-> viewtopic_body
hit the yellow edit icon and find this in your template:
- Code:
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a>
now all you got to do is add an image.
If you want I made a few defaults if you wish to use them please do:

to replace the text with an image you have to use html image tags.
so your code will look like this:
- Code:
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="url of your PLUS image"></a>
you have successfully changes the plus image
now the minus... same rules apply, but this is the code you edit:
- Code:
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a>
If you want a cool roll over effect, just paste this code:
Negative:
- Code:
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src="http://i81.servimg.com/u/f81/11/91/65/81/minus10.png"
onmouseover="this.src='http://i81.servimg.com/u/f81/11/91/65/81/overmi10.png'"
onmouseout="this.src='http://i81.servimg.com/u/f81/11/91/65/81/minus10.png'">
Positive:
- Code:
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i81.servimg.com/u/f81/11/91/65/81/plus10.png"
onmouseover="this.src='http://i81.servimg.com/u/f81/11/91/65/81/over10.png'"
onmouseout="this.src='http://i81.servimg.com/u/f81/11/91/65/81/plus10.png'"></a>
now once you have done that you can save
and then confirm your actions with the green plus
But this is not all.
the images may not appear properly so you need to edit the CSS
admin panel-> display-> colors-> css
find this:
- Code:
.vote {float: right;
width: XXpx;
margin-left: 4px;}
you will have to add or edit the width class
change the XX to your images' size.
and save
and here is an image from testjal:

Similar topics
hello,
please help me,
how to change the reputation bar?
i have seen the jalokim topics about change the reputation bar,
but after i edited, it doesnt work.
why it doesnt work?
can you make it?
please help me.
I have decided to go with either phpbb2 or punBB due to both of them offering template editing and phpbb3 doesn't but I am having a hard time figuring out which one is better and which on I should use. Which one do you guys like better and why? I value al
Can anyone tell us is there a way to replace the basic looking + & - reputation icon in each post, our members really dislike it
We have put 0 in the negative votes so presume members will not be able to vote a minus - ?
Read somewhere about
Replies 1 to 1 on 1 for "change the reputation bar"
Search
Informations
1 Replies For the topic :
"change the reputation bar"
This topic has been viewed 11511 times.
Last message :
15/07/2009 at 23h06 by "Jalokim"





