[RELEASED] Multi Vote Poll for Xtreme Evo - Update
Select messages from # through # Forum FAQ
[/[Print]\]

HeadShot Extreme -> In-The-Works

#1: No icon [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed Jul 20, 2022 7:10 pm
    —
Okay, this is an update to the already existing ported mod I did back in 2015, found here:
Please login to see this link
Get registered or Log in


What I am doing is updating it to work not only with the current evo, (which led me to have an update coming for everyone soon), but also getting it to work with Lonestars theme LM_BlackMagic which is what I use here. So I will have separate instructions for that.

I have it working, (sort of), on my local, but still chasing out some issues. No ETA on this.



::UPDATE::

I just released it, it can be downloaded from here:
Please login to see this link
Get registered or Log in
Last edited by coRpSE on Thu Aug 11, 2022 1:41 pm; edited 1 time in total

#2: No icon Re: [ITW] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Thu Jul 21, 2022 8:26 am
    —
Thanks coRpSE, nice mod.

#3: No icon Re: [ITW] Multi Vote Poll for Xtreme Evo - Update Author: EmeraldDragonLocation: Vancouver, WA PostPosted: Fri Jul 22, 2022 9:38 pm
    —
Looking good, good MOD to have.

#4: No icon Re: [ITW] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed Aug 10, 2022 9:48 am
    —
Okay, here is an update. While I had some time this morning waiting for people to wake up, I was able to work on this, and I was able to get some of it done. I have both good news and bad news when it comes to this. Here is the good news, It works perfectly on my test site and no longer throwing any errors.

Bad news, I only have the pre-edited files and I need to go through the manual install and update the instructions. I am not looking forward to that.

#5: No icon Re: [ITW] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Wed Aug 10, 2022 1:20 pm
    —
Great work coRpSE, you mean you are looking forward to doing it, because you enjoy so much all the fiddly bits and bobs.  big grin

#6: No icon Re: [ITW] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Aug 11, 2022 11:31 am
    —
Okay, I should be releasing it this evening, (my time). I am doing some final test ATM to make sure everything is working. I did do a few minor updates like actually putting in defaults to help stop a possible error, also, made the textareas where you need to input a numerical number, to only accept numbers. Stupid things like that.

I will release the bootstrap code only for those that are using the LM_BlackMagic theme, for I only did the bootstrap to match that theme. Other theme developers will need to match it to their themes.

#7: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Thu Aug 11, 2022 1:42 pm
    —
Okay, I updated my first post with a link to the download location. Enjoy...

#8: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Fri Aug 12, 2022 7:50 pm
    —
Update again, in the same download location, I put in the edits for Lonestars BlackMagic theme, but also may work/help with any other themes using bootstrap and has a similar section. Of course, it may not work, and in that case, you should contact the theme developer for help.

#9: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Sat Aug 13, 2022 8:16 am
    —
Hi coRpSE, first off this is a great addition to the forum polls, works good, just one problem a the moment when you veiw the polls. in this example i use BF4_multi on my local, not tried it with others yet. Here are 2 pics, as you can see when you veiw it sends this part of the forum off the screen.

Expand

Expand

Ok tried all the other themes i am using 19 of them and they are all fine, work well, so its just BF4-Multi.

#10: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Sat Aug 13, 2022 12:10 pm
    —
I will take a look at that now.

#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.

#21: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue Aug 16, 2022 11:12 am
    —
— zardos wrote
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.


Did you clear your cache, including going into the /modules/forums/cache/ and deleting everything from there EXCEPT for the attach_config.php and index.html? If not, try deleting those. I had that error and that file fixed it for me.

#22: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Tue Aug 16, 2022 12:19 pm
    —
Hi coRpSE, its ok, it works find on the net server, stupid local again. will come on discord later if i can.

#23: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue Aug 16, 2022 12:21 pm
    —
— zardos wrote
Hi coRpSE, its ok, it works find on the net server, stupid local again. will come on discord later if i can.


strange, it works on my local no problem.  hrm hrm hrm

#24: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: zardosLocation: North west of England PostPosted: Tue Aug 16, 2022 12:37 pm
    —
I use Xamp mainly but also Wamp, not tried it on wamp. lachen

#25: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed Aug 17, 2022 6:29 pm
    —
Yeah, I only use Xamp for a day, and that was years ago. Didn't like how I couldn't change PHP versions quickly and easily.

#26: No icon Re: [RELEASED] Multi Vote Poll for Xtreme Evo - Update Author: EmeraldDragonLocation: Vancouver, WA PostPosted: Wed Aug 17, 2022 9:57 pm
    —
— zardos wrote
I use Xamp mainly but also Wamp, not tried it on wamp. lachen


Wamp is a lot better with better options.



HeadShot Extreme -> In-The-Works


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

Page 1 of 1