![]() |
[Release] Alternating Row Colors Instead of Columns
1 Attachment(s)
Rather have your rows alternate colors instead of your columns on your forumhome?
No prob. If you do not wish to replace the entire template, what you should do conceptually is to change any instance of the class=alt1 or class=alt2 to the conditional: Code:
<if condition="$forum['displayorder'] % 2 == 0">class="alt2"<else />class="alt1"</if> Amy |
I think the alternating colors look alot better this way, nice mod amy! Good to see you here at vBT! :D
|
Than you :) I had help with the mechanics of it from Ed Sullivan last night. Once he told me math was possible in the conditionals, I realized that we are going to be able to have a lot of fun without ever having to install any hacks.
Amy |
Definently, Template modifying is just as much fun as hacking can be, and easier to save on upgrades. Has all the plus's. :D
|
Thanks Amy. :)
|
Yes, that does look a whole lot better than the alternating columns, better readibility. Great job Amy, looking forward to seeing more from you.
|
Quote:
|
Supersweet. Gonna try this out once I am awake. Much easier on the eyes.
|
How would this be possible for the forums and threads on forumdisplay?
|
1 Attachment(s)
i want to do this in my post bit, i want it to show the oppisite alt color.
like i used to have it in my at my vb2.x forums any idea? |
Quote:
The threads, however, would demand an entirely different approach, and I'm not sure you would be able to do anything like it without hacking. Unfortunately. I would very much like to create such an effect for the threads on my forum display. |
Quote:
|
Quote:
what do you mean your picture and description of what you want is too vegue (sp ?) (goes to look it up) its spelled vague :) |
lets say the background is alt1 i want the tables bg in my postbit to be alt2 and vise versa, look at my release for what my postbit looks like
|
Is this hack available for version 2.3.2?
I could not find one. And no one answered my previous request. :confused: |
first its not a hack, and two i think it would have to be a hack to be done on vb 2.3.2 i belive.
go with vb3 imo :D its great |
Yeah, it would most likely need a hack for the v2 versions. Look at vBulletin.org.
|
thanks... but yeah, I would like to do this in threadview.
Is there no counter variable we can access to accomplish the name? arn |
Is there going to be a gamma release soon?
|
Chaos its possible, i think i can release a mod for it
Marulatree, i belive it doesnt work quite correctly due to how it was originaly done |
Quote:
|
Doesn't the code in the first post work on gamma? Did you try?
|
Rather intersting
|
Quote:
|
Since gamma changed the tables around, it does mess them up :D
|
Quote:
arn |
stoped working after it was first released
|
1 Attachment(s)
I got this to work in 3.0.7 by making one change:
in the replaced version of the "forumhome_forumbit_level2_post" template: Code:
img src="$stylevar[imagesfolder]/$forum[onoff].gif" alt="$forum[onoff].gif Code:
img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="$forum[onoff].gif" NOTE: There is still a forum status icon and last column layout placement issue, but the alternating rows are working. See attached screenshots. |
All times are GMT. The time now is 04:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|