Awesome coding once again, but I have a challenge for ya.
I have just a few members out of the whole that would like the forums to span the entire screen. I was thinking about just copying a theme and renaming it fullscreen_forum so just they can use it, but then I thought hold on one sec I bet the geniuses over at nukemods.com can helpo me with this one easily!!!
So was just curious if there would be an easy way to add a field to the user record, hmmm, lets call it $forum_full, and then add a check box to the forum editprofile page under preferences that said Show me the forums full screen Yes=1, No=2.
Then in the theme.php modify your code to read something like:
|
Code:
|
if ($name=='Forums') and ($forum_full=='1') {
/* Don't display it. */
}
else {
blocks(left);
} |
In theory would that work?
And what would woould be the code I need to edit in usercp_register.php to add the check box and get it to post it to the database correctly.
Thanks in advance I am slowly learning this stuff, but that usercp_register code baffles me I guess I'm not that far along in my reading yet, and since this is a live site I am afraid to just poke around too much!!
<edit>
MikeM and Coldblooded did you not see the part where I called you geniuses?!?!? Any chance of some help on this one! You two would be my personal heros!! </edit>