vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Alternating Row Color for Forums / Search Results / Thread Listings (https://vborg.vbsupport.ru/showthread.php?t=125654)

Smoothie 09-04-2006 07:30 AM

Quote:

Originally Posted by nevetS
LOL... You had me very concerned there. I was just thinking... What could I possibly have forgotten to upload?!? I'm glad someone is making use of my work. :)

Thanks for the update, the great instructions and all the confusion. This mod should be by default in vB, but thats another topic, another day.

Smoothie 09-04-2006 07:43 AM

Have a request. Maybe when you have time you can adjust the code so that Private Messages in Folder: Inbox and Private Messages in Folder: Sent Items reflects the same alternating row colors.

nevetS 09-04-2006 07:53 AM

Will Do. I just thought about the Memberlist as well that needs alternating row colors. If I don't get too bogged down, I should post another update tomorrow. Anybody else that is implementing this, or thinking of implementing this, please let me know where else you need alternating row colors.

Also, if you want options, let me know what you want to option-ize. I'm thinking that the class names used should be configurable. Because template changes are involved, you can't turn it on and off via an option - unless there is a way that I don't know of to programatically update templates - now that would be cool! :)

Ascor 09-04-2006 11:47 AM

Thank you very mutch to take the time for look at my problem nevetS,
i just drop your file from zip an all is workin fine now :)
i suggest: the same think for forumdisplay and showthread view, to have the most 3 views harmonised :)

Smoothie 09-04-2006 03:38 PM

Quote:

Originally Posted by nevetS
Will Do. I just thought about the Memberlist as well that needs alternating row colors. If I don't get too bogged down, I should post another update tomorrow. Anybody else that is implementing this, or thinking of implementing this, please let me know where else you need alternating row colors.

Also, if you want options, let me know what you want to option-ize. I'm thinking that the class names used should be configurable. Because template changes are involved, you can't turn it on and off via an option - unless there is a way that I don't know of to programatically update templates - now that would be cool! :)

Member list is definitely a needed.

nevetS 09-05-2006 06:31 AM

Check back for the updates tomorrow. I have traffic court in the morning, so I've been spending the last few hours prepping my defense.... wish me luck! :)

Cheertobi 09-05-2006 02:12 PM

Hi nevetS,

thanks for the update ;)

Tobi

Andreas 09-05-2006 02:21 PM

Why not just use exec_switch_bg() and get rid of the global_start Plugin?

nevetS 09-05-2006 07:30 PM

Quote:

Originally Posted by Andreas
Why not just use exec_switch_bg() and get rid of the global_start Plugin?

This is the original solution that I implemented, however, exec_switch_bg() does not seem to work in the forum_bit templates. Add to that that the exec_switch_bg call in the threadbit template did not work when displaying search results. Not to say that it wouldn't work at all, but when I tried implementing it, it didn't.

Additionally, I'm going to implement some options in an update to select the classes so that the colors don't necessarily need to map directly to the alt1 and alt2 classes.

Smoothie 09-06-2006 04:12 AM

Yay! Update to member list coming along too?


All times are GMT. The time now is 02:10 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.01314 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete