![]() | Join Date: Apr 2008 | Posts: 17 | iTrader: (0) |
Questions...!
I have a new style - which I'll be implementing into my main forums soon. Just need to get a few things straight first, though.
The style can be seen on my dev board: Dev Board - Powered by vBulletin
Please note: It is still not complete. Need some new images, forum_new.gif ect.
Onto the questions:
As you can see, it has a sidebar. However, for certain usergroups, I want to give them the option to disable the viewing of the sidebar, thus displaying the full width of the forums. I have created a User Profile Field in UserCP so that they can disable the viewing of the sidebar. Now, onto the coding. How can I make it this User Profile Field show for certain users, and where would I put the code?
Now, for it to disable the viewing of the sidebar when set to remove in UserCP. In my footer, where the sidebar is coded, I have put the following under <!-- Sidebar Start --> :
7 is the user profile field number, to show the sidebar or not. However, the sidebar then just disappears and the forums are at full width, regardless of the setting in my UserCP. I'd appreciate if anyone could help me on this. 
Onto my next question: With my new style, I wish to have different colour variations of it. I know this can be achieved simply by creating a new style, however, I'm planning giving users an option in their UserCP where they can pick which colour scheme they want. Can this be achieved without creating a new style just for some colour changes, and background images. It will be basically the same, just different coloured? If not, I could just create a new style, but what coding can I use with a profile field so that they can change the colour scheme -- I can simply remove quick_stylechooser.
Thanks!
The style can be seen on my dev board: Dev Board - Powered by vBulletin
Please note: It is still not complete. Need some new images, forum_new.gif ect.
Onto the questions:
As you can see, it has a sidebar. However, for certain usergroups, I want to give them the option to disable the viewing of the sidebar, thus displaying the full width of the forums. I have created a User Profile Field in UserCP so that they can disable the viewing of the sidebar. Now, onto the coding. How can I make it this User Profile Field show for certain users, and where would I put the code?
Now, for it to disable the viewing of the sidebar when set to remove in UserCP. In my footer, where the sidebar is coded, I have put the following under <!-- Sidebar Start --> :
Code:
<if condition="is_member_of(->, 6) AND == YES">

Onto my next question: With my new style, I wish to have different colour variations of it. I know this can be achieved simply by creating a new style, however, I'm planning giving users an option in their UserCP where they can pick which colour scheme they want. Can this be achieved without creating a new style just for some colour changes, and background images. It will be basically the same, just different coloured? If not, I could just create a new style, but what coding can I use with a profile field so that they can change the colour scheme -- I can simply remove quick_stylechooser.
Thanks!
--------------------
techsupportteam.org
techsupportteam.org









Linear Mode

