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)

magnus 03-21-2007 01:58 PM

Quote:

Originally Posted by maxicep (Post 1208734)
this hack work with without a product, with your way?

Yes.

maxicep 03-22-2007 10:04 AM

i got a question one more,
how can i this hack work with Zoints Tags showing tags results like forumdisplay.
When showing tags results forumdisplay all backrounds White ,how can i fix ?

DiSpy 03-25-2007 03:46 PM

I did this using the changes in this post.

However, for my templates (v3.6.5) there were a few differences that may help others...
In the instructions for "The Easy Way"

in threadbit template updates
add
4) Find all ' class="alt1Active"' and remove

in memberlist_resultsbit
change
2) Find all ' AND exec_switch_bg()"' and remove
to
2) Find all ' AND exec_switch_bg()' and remove
(removed the trailing " symbol)

and lastly, there were no instances of
5) Find all ' class="alt2"' and remove

ALSO, this broke my other mod that changed the bg color of a row on hover. I did wind up getting both to work, but it was all custom stuff so I won't bother posting exactly what I did (since it'll be different for everyone). Just wanted to let you know that it WILL break that.

THANK YOU!!!! (marked installed)

dynamot 08-08-2007 03:02 PM

Can I apply this to vb 3.6.8 version?

maxicep 08-18-2007 11:22 AM

how can i make row color for similar threats ?

amnesia623 08-31-2007 08:05 AM

nice - thank you

needaltuna 09-19-2007 04:16 AM

Many thanks to everybody who's provided a plugin/script with which to achieve this effect.

Somebody has already asked this question, but didn't receive an answer. Do these mods work in 3.6.8?

needaltuna 09-20-2007 05:56 AM

In 3.6.8, the first line of forumhome_forumbit_level2_post has "<tr align="center">" on it instead of "<tr>". Should this be changed to "<tr class="$rowClass">"?

needaltuna 09-20-2007 08:50 AM

Well, it works in 3.6.8. Check out the main page of my forum.

http://www.afeastoffumetti.org/

The only problem with it is that it doesn't alternate the row colors on pages like this.

http://www.afeastoffumetti.org/forumdisplay.php?f=3

Anyone know how I can correct this?

needaltuna 09-21-2007 06:43 AM

Well it turned out that this hack didn't work so well in 3.6.8. In the memberslist page, I got the following error message.

Quote:

Parse error: syntax error, unexpected '<' in /home/needa/public_html/memberlist.php(831) : eval()'d code on line 14
Anyway, I had to replace the new code with the old.

It'd be nice if somebody came up with a updated version of this hack for the latest version of vBulletin. Got a feeling, though, that everybody but me has abandoned this thread. Pity.


All times are GMT. The time now is 05:16 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.01129 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)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