![]() |
Thanks, :)
|
Could I make this a user-selectable style, so that people who want the old style could choose that, and people who want less scrolling could use the column style?
|
well, everything can be coded of course :)
all you need would be a custom profile field (yes no) and then change the if conditions, if the forums should be shown in columns or not |
Can you give me instructions in detail when you get a chance? If you are really busy I am willing to pay - i would have pm'd that last part to you but you say no pm's in your sig :)
|
as said create a new custom profile field just allowing yes/no as option, and afterwards open functions_forumlist.php
find: PHP Code:
PHP Code:
that's all |
Okay, I tried it out, made it a Single-Selection Radio Button with a yes/no selection, put it under 'Edit Options' section in the User CP, and noted the field number, and did the mod in functions_forumlist.php, however now it shows the old way again, and setting the radio button to yes or no doesn't change it.
|
it's a casesensitive yes or no, maybe there's the problem?
|
That was it! I made sure the case matched and it worked! Thanks Xenon, you are a true genius!!!
|
when I use the 'old' layout, the columns and such seem to be a bit off - see screenshot - i notice for example on the mod list, it looks like the mod names are centered now - I dont think they were before. Any idea on how to make the old layout line up a bit more evenly?
|
glad you could solve it :)
oh yes, i know the second problem :) i forgot to tell you, that you ahve to manipulate the template forumhome_forumbit_level1_nopost as well. find there HTML Code:
<if condition="$forum['subforumcolumns'] > 1"> HTML Code:
<if condition="$bbuserinfo['fieldxx'] == 'yes' AND $forum['subforumcolumns'] > 1"> |
All times are GMT. The time now is 07:37 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:
|