PDA

View Full Version : Allow user to switch off Header information


PIF
04-23-2004, 08:01 PM
Hi,



Please may I have some advice about my forum.



http://www.piftails.com/forum/upload/index.php?



I have added the javascript menu & header image to the Header section of the style template.



But one of my users is on a slow connection and the pages now take ages to load.



Is there a way to make 'seeing the header' optional from the usercp panel, so those on bad connections can choose not to see the header ?

Xenon
04-24-2004, 10:11 AM
Actually it's very easy to do.

just create a new custom profile filed with a yes no option, and then use a conditional in your header whcih checks the value, and depending on that setting displays something or not :)

PIF
04-24-2004, 10:57 AM
Thankyou.

I'll go and wake my boyfriend up to help me do it. :D