[RELEASED] Multi Vote Poll for Xtreme Evo - Update
Select messages from # through # Forum FAQ
[/[Print]\]
Goto page Previous  1, 2, 3  Next  :| |:
HeadShot Extreme -> In-The-Works

#11: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sat Aug 13, 2022 1:22 pm
    —
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:

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.

#12: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Sat Aug 13, 2022 2:11 pm
    —
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.

#13: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sat Aug 13, 2022 6:42 pm
    —
— zardos wrote
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.


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.

Expand

As for the colors, I will look into that tomorrow.

#14: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Sun Aug 14, 2022 9:39 am
    —
Ok coRpSE thank you, I am still trying to make it look a bit better but getting nowere at the moment. hrm

#15: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Aug 14, 2022 10:30 am
    —
— zardos wrote
Ok coRpSE thank you, I am still trying to make it look a bit better but getting nowere at the moment. hrm


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.

#16: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Sun Aug 14, 2022 1:07 pm
    —
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

#17: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Aug 14, 2022 3:21 pm
    —
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.

#18: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Sun Aug 14, 2022 5:21 pm
    —
I did the edits myself, but here is the posting.php

#19: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sun Aug 14, 2022 7:24 pm
    —
Okay, try this file.

#20: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Tue Aug 16, 2022 10:53 am
    —
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.



HeadShot Extreme -> In-The-Works


output generated using printer-friendly topic mod. All times are GMT - 7 Hours

Goto page Previous  1, 2, 3  Next  :| |:
Page 2 of 3