Okay, zardos, the issue isn't anything to do with the mod, or the theme, but actually the CMS.
Somehow, a couple of classes that shouldn't have been added to the progress bar were added, so here is the fix.
OPEN:
public_html/modules/forums/viewtopic.php
FIND:
REPLACE WITH:
SAVE & CLOSE
OPEN:
public_html/theme/BF4_Multi/style/style.css
AFTER ADD:
SAVE & CLOSE.
Now, if you wanted to make the bars so they are not so high, (18px to be exact), then before closing the style.css, in that line I had you search for, you will see it have the height set to 18px, I think it looks better at 14px, but I would also go down to maybe 12px at max.
Somehow, a couple of classes that shouldn't have been added to the progress bar were added, so here is the fix.
OPEN:
public_html/modules/forums/viewtopic.php
FIND:
PHP: [ Select all ]
'POLL_PROGRESS_BAR' => display_progress_bar(false,'evo-progress-bar orange shine', ($vote_percent * 100)),
REPLACE WITH:
PHP: [ Select all ]
'POLL_PROGRESS_BAR' => display_progress_bar(false,'evo-progress-bar', ($vote_percent * 100)),
SAVE & CLOSE
OPEN:
public_html/theme/BF4_Multi/style/style.css
Code: [ Select all ]
progress{background-color:#f3f3f3;border:0;height:18px;}
AFTER ADD:
Code: [ Select all ]
.evo-progress-bar {width: 100%; max-width: 350px;}
SAVE & CLOSE.
Now, if you wanted to make the bars so they are not so high, (18px to be exact), then before closing the style.css, in that line I had you search for, you will see it have the height set to 18px, I think it looks better at 14px, but I would also go down to maybe 12px at max.
Thankyou very much coRpSE, works great, perfect. I did see that in the inspector but not a coder so couldn't make any sence of it, another nice find.Should i go through all style.css and add that. Plus i think they would look nice in a different coulor with a bit of a rounding at each end, will have a go at that.
— zardos wroteThankyou very much coRpSE, works great, perfect. I did see that in the inspector but not a coder so couldn't make any sence of it, another nice find.Should i go through all style.css and add that. Plus i think they would look nice in a different coulor with a bit of a rounding at each end, will have a go at that.
You should only do the style edit if the theme has the poll bars looking short. Take a look at this image, I drew on some red bars to show the left and right and where the middle it, and how you can see that the graph is to the left and only half of the width.

As for the colors, I will look into that tomorrow.
Ok coRpSE thank you, I am still trying to make it look a bit better but getting nowere at the moment. 

— zardos wroteOk coRpSE thank you, I am still trying to make it look a bit better but getting nowere at the moment.
Here is how to change the colors.
Please login to see this link Get registered or Log in |
I put it in a separate thread for ease of finding it in the future.
I have come across an error when i edit a post, only seams to show when i edit.
None numeric value encounted in modules/forum/posting.php on line 1517
None numeric value encounted in modules/forum/posting.php on line 1517
I had that error before, but it turned out to have been a bad edit. Did you do the edits yourself, or did you use the pre-edited files?
If you did the edits yourself, then post the file, ( modules/forum/posting.php ), and I will take a look at it.
If you did the edits yourself, then post the file, ( modules/forum/posting.php ), and I will take a look at it.
I did the edits myself, but here is the posting.php
Okay, try this file.
Hi coRpSE, sorry m8 that didn't work. the mod works great, it only shows those 2 lines when you (Edit-Reply-Quick-Reply) its ok with new post. Its not causing any problems and only shows foe a few seconds, no log errors or anything, i run it on local for now, but I will put it on server later see if that makes a difference.