Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Alternating Thread Rows Details »»
Alternating Thread Rows
Version: 1.00, by AlienSector AlienSector is offline
Developer Last Online: Jun 2005 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 03-23-2005 Last Update: Never Installs: 10
 
No support by the author.

Just as the title says, this will allow you to alternate the thread row colors when viewing each forums' thread display (i.e. have each thread row alternate instead of having each cell alternate). I noticed this was requested a while back on vBulletin.com and had been asked before, so here it is .

I don't believe the same modification has been released for vBulletin 3.0 that I have been made aware of, though if such has been released, please feel free to make notice.

Installation takes all of 2 minutes and requires modification to only 1 file and 1 template.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-24-2005, 10:13 AM
nexialys
Guest
 
Posts: n/a
Default

good thing that someone make it finally... i've added it myself for some clients, in a different structure (even smaller!) and to make it using less variables, let's play with it:
PHP Code:
$altclass = ($row_count 2) ? $color1 $color2
can be transformed in
PHP Code:
$altclass = ($row_count 2) ? 'alt1' 'alt2'
with this, you don't need the first identification...

also, this hack can be applyed in showthread to make posts having alternate colors, and in search results too... it's not always activated, but it works already... i found many styles that were not using the alternate colors at all...

also, it would be good to have the threadbit modified in the instructions instead of a complete replace, because MANY guys here have modified theirs with the time...
Reply With Quote
  #3  
Old 03-24-2005, 10:21 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds nice AlienSector.

1 Remark, would it be possible to give instructions on how to change the threadbit Template instead of only a replacement of the full Template. Some members might have already modified their threadbit template and don't want to replace it.

Edit: Crossposted with Nexialys, who beat me in this
Reply With Quote
  #4  
Old 03-24-2005, 06:15 PM
AlienSector AlienSector is offline
 
Join Date: Oct 2004
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
Sounds nice AlienSector.

1 Remark, would it be possible to give instructions on how to change the threadbit Template instead of only a replacement of the full Template. Some members might have already modified their threadbit template and don't want to replace it.

Edit: Crossposted with Nexialys, who beat me in this
The ZIP file has been updated with the new coding updates, thanks to Nexialys. I've also included instructions for Stock & Modified installations.

Please keep in mind, I do not have an overly modified threadbit template, so if you do encounter a problem with the display, please report it through this thread. Please also include the hack(s) you have installed that required you to modify the threadbit template.

Installation still should take only 2-3 minutes max.
Reply With Quote
  #5  
Old 03-24-2005, 06:19 PM
AlienSector AlienSector is offline
 
Join Date: Oct 2004
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just added a screenshot as well, for those that may not fully understand what this does based off the description.
Reply With Quote
  #6  
Old 03-24-2005, 08:23 PM
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Location: TX
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet addon!
Reply With Quote
  #7  
Old 03-25-2005, 03:21 AM
AlienSector AlienSector is offline
 
Join Date: Oct 2004
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheComputerGuy
sweet addon!
Thanks much
Reply With Quote
  #8  
Old 03-27-2005, 03:00 PM
Viks Viks is offline
 
Join Date: Sep 2004
Location: Toronto
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

super!
Reply With Quote
  #9  
Old 03-30-2005, 05:45 AM
Deska's Avatar
Deska Deska is offline
 
Join Date: Aug 2002
Location: Asia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to get this hack work on Forum Home?
I want my forum list look like this.

Btw, nice hack...
Reply With Quote
  #10  
Old 03-30-2005, 03:39 PM
AlienSector AlienSector is offline
 
Join Date: Oct 2004
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deska
How to get this hack work on Forum Home?
I want my forum list look like this.

Btw, nice hack...
I've not actually looked at that part of vBulletin's coding, though there is a way to do it by template conditionals, which has been explained in the thread below over at vBulletin.com.

http://www.vbulletin.com/forum/showthread.php?t=100759

Be sure to note all instructions within the thread as there was confusion among some members .
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04: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.08657 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete