vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Alternating row colors at polls (https://vborg.vbsupport.ru/showthread.php?t=99633)

MrNase 10-29-2005 10:00 PM

Alternating row colors at polls
 
Here's a quick one because:
I ran into problems while having a big poll with 50 options because the rows did all have the same color and I sometimes mixed the results up because I looked at the wrong row :D

So, this plugin will display the rows of the poll's option with an alternating background color just like this one did for the threadlist -> https://vborg.vbsupport.ru/showthread.php?t=99363


This plugin is a product and it contains 2 plugins. Additionally there's one template you need to edit.

Open the template 'pollresult' and replace every instance of 'alt1' and 'alt2' with:
Code:

$option[classname]
and import the attached file.

Here's a demo: http://www.pagodentreff.de/diskussio...nkalender.html

You are done, don't forget to click 'install' :)

Lea Verou 10-29-2005 11:25 PM

my advice: Such modifications NEED a screenshot. It's about looks for christ's sake! :P

MrNase 10-30-2005 07:31 AM

Ok, screenshot added.. I think it's not needed though :P

nexialys 10-30-2005 10:31 AM

wow,... i'm inspiring MrNase now.. lol

MrNase 10-30-2005 10:44 AM

I would call it a 'logical addition' to your plugin ;)

Snake 10-30-2005 10:48 AM

Wow thanks.


All times are GMT. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02185 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete