[2.0.11] Colour on poll results

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
15
60%
Very Good
3
12%
Good
5
20%
Fair
2
8%
Poor
0
No votes
 
Total votes: 25

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27954
Joined: Sat Aug 16, 2003 7:36 am

[2.0.11] Colour on poll results

Post by Extensions Robot » Sun Sep 05, 2004 5:25 pm

MOD Name: Colour on poll results
Author: Manipe
MOD Description: Instead of the standard results images on the poll results, this hack shows colour on the results of a poll. Different colours are given to each range of percentages. Also it gives a certain colour to the option that you voted for (Default= Purple)


MOD Version: 1.1.1 (Updated 12/16/04)

Download File: colour_on_poll_results_1.1.1.zip
mods overview page: View
File Size: 3626 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:29 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric » Sun Sep 05, 2004 11:20 pm

MOD Validated/Released

Notes:
This MOD removes the poll images and replaces them with colors. The color of the line depends on what percent of the votes the option has.

User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo » Mon Sep 06, 2004 6:18 am

Anyone's implemented this and can provide a screenshot? This modification sounds great, but I want to see it before implementing it, if I can.

User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Post by beggers » Mon Sep 06, 2004 7:19 am

Very nice! For anyone else reading this, if you're using a dark color for the message background instead of the default, you might want to change the bar colors. There are three color definitions that look like this:

$vote_color = 'green';

You can change the color to any hex value like this:

$vote_color = '#F807BC';

Just change all three to whatever looks best for your board. I know this is obvious to most people, but it might will help some of the newer users.

Again, nice job on this mod.

Shof515
Registered User
Posts: 1169
Joined: Wed Mar 19, 2003 4:36 am

Post by Shof515 » Mon Sep 06, 2004 2:06 pm

anyone got a demo or screenshot?
Whos missing up my sig?

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Mon Sep 06, 2004 6:52 pm

Shof515 wrote: anyone got a demo or screenshot?

think there might be a few screenshots in the beta forum. if they're still there, they'll show you.
And if this is the right mod i'm thinking of, it looks pretty cool.
kind of vBB like ;)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Mon Sep 06, 2004 7:08 pm

Click here

Look.

As said before the colors can be changed as well as the percentages.
Last edited by Manipe on Mon Sep 06, 2004 7:14 pm, edited 1 time in total.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Mon Sep 06, 2004 7:11 pm

And thanks for the praise!!

:D :D :D
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Mon Sep 06, 2004 7:47 pm

Also if you want me to change it so that there are different colored images so that there is a 3d style to it, just ask.
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Post by beggers » Thu Sep 09, 2004 7:43 am

This example shows the different color bars:

http://www.wwe-club.com/phpBB2/viewtopic.php?t=25663

I've modified the code to change color every 10%.

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Sat Sep 25, 2004 4:54 pm

Would anyone be interested in having different coloured pictures rather than plain colour?
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

DuckieN
Registered User
Posts: 45
Joined: Tue Aug 31, 2004 5:43 am
Location: Vancouver BC Canada
Contact:

Post by DuckieN » Sun Oct 03, 2004 12:10 am

stupid question but.... someone installed this mod for me but neglected to tell me how to even find the mod. I would like to modify the colours but don't even know the file name.. what is the path I would use to find the code to change the colours

User avatar
beggers
Registered User
Posts: 1257
Joined: Fri Nov 23, 2001 8:19 pm
Location: Las Vegas
Contact:

Post by beggers » Sun Oct 03, 2004 4:31 am

DuckieN wrote: stupid question but.... someone installed this mod for me but neglected to tell me how to even find the mod. I would like to modify the colours but don't even know the file name.. what is the path I would use to find the code to change the colours


There is a link to the original mod is in the first post of this topic. Download it and you'll see the code for the colors.

Manipe
Former Team Member
Posts: 1146
Joined: Thu Jul 22, 2004 6:30 pm
Location: Éire
Contact:

Post by Manipe » Sun Oct 03, 2004 10:27 am

Well there are only two files that are modified.

viewtopic.php
templates/subSilver/viewtopic_poll_result.tpl
My MODs: [ Topics a user has started ] , [ Profile views ] , [ Colour on poll results ] , [ Topic posters ] , [ Add number to PM ] , [ Default avatar ] , [ View category name ] , [ Null vote ] , [ Forum description in viewforum ] , [ Resync forum ids ] , [ View PM while replying ] , [ Quick poll insert ] , [ Limit login attempts ] , [ Track PMs ]

www.ManipeF1.com

kazper
Registered User
Posts: 122
Joined: Wed Apr 10, 2002 9:26 pm

Post by kazper » Sun Oct 03, 2004 11:54 am

I would definitely be interested in different pictures to make the 3d effect.

Post Reply

Return to “[2.0.x] MOD Database Cleanup”