Thank you for your quick response before, I know you're a busy person!
From
Forums arranged in columns on forumhome (3.0.3):
Quote:
Originally Posted by Xenon
as said create a new custom profile field just allowing yes/no as option, and afterwards open functions_forumlist.php
find:
PHP Code:
if (THIS_SCRIPT == 'index' AND $forum['subforumcolumns'] != 1 AND ($subsonly OR $depth < MAXFORUMDEPTH))
and change into
PHP Code:
if ($bbuserinfo['fieldxx'] == 'yes' AND THIS_SCRIPT == 'index' AND $forum['subforumcolumns'] != 1 AND ($subsonly OR $depth < MAXFORUMDEPTH))
replace the xx with the fieldid of your new custom field
that's all
|
Quote:
Originally Posted by Xenon
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">
and change it to
HTML Code:
<if condition="$bbuserinfo['fieldxx'] == 'yes' AND $forum['subforumcolumns'] > 1">
|
I made those two conditional adjustments. On 3.0 it worked great for me, but on 3.5, this is what I'm seeing. The yescolumn.gif and the nocolumn.gif show you what my forum looks like. I've been playing with the fields and it's driving me crazy! (it's not a problem of the yes/no being case-sensitive or a wrong field number)
Oh and when I don't have the conditional in there, the columns work perfectly and I love them. I just know that some of my users want to have the 'old style' rows. If you could give me any advice, I'd really appreciate it. This is the last thing I need to fix for my 3.5 update and my forum will be ready.
Help me, Xenon. You're my only hope!