Goto page Previous  1, 2, 3  Next

● [RELEASED] Multi Vote Poll for Xtreme Evo - Update

Sat Aug 13, 2022 1:22 pm
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
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.
Sat Aug 13, 2022 2:11 pm
Spammer
130 Posts
Zardos
Currently Offline
Offline
  
Doesn't like playing games!
Reputation: 846.4
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.


Please login to see this link
Get registered or Log in
Sat Aug 13, 2022 6:42 pm
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
— 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.


 
Sun Aug 14, 2022 9:39 am
Spammer
130 Posts
Zardos
Currently Offline
Offline
  
Doesn't like playing games!
Reputation: 846.4
Ok coRpSE thank you, I am still trying to make it look a bit better but getting nowere at the moment. hrm


 
Sun Aug 14, 2022 10:30 am
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
— 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.


 
Sun Aug 14, 2022 1:07 pm
Spammer
130 Posts
Zardos
Currently Offline
Offline
  
Doesn't like playing games!
Reputation: 846.4
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


 
Sun Aug 14, 2022 3:21 pm
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
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.


 
Sun Aug 14, 2022 5:21 pm
Spammer
130 Posts
Zardos
Currently Offline
Offline
  
Doesn't like playing games!
Reputation: 846.4
I did the edits myself, but here is the posting.php


 
Sun Aug 14, 2022 7:24 pm
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
Okay, try this file.


 
Tue Aug 16, 2022 10:53 am
Spammer
130 Posts
Zardos
Currently Offline
Offline
  
Doesn't like playing games!
Reputation: 846.4
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.


 
Goto page Previous  1, 2, 3  Next
Forums ©