![]() |
allow css in user profile fields
could i do this so my users could customise there profile page ??
|
you could just edit the template and put <style>$userinfo[fieldXX]</style> anywhere :)
|
<style> isn't a tag for <body>, it can only be used in the <head> to define the css. If you want to use style in <body> then you can put it in either <div style=""></div> or in <span> all the tag like <table> or <hr /> supports 'style'. My recommend is <div style="">$userinfo[fieldXX]</div>
|
so just add a custom profile field ?? then use the code you specified... is there anything special i need to set to allow <style> codes in the custom field ?
|
I said <style> is not a valid tag for <body>
and yes just add a custom field and use <div style="">$userinfo[fieldXX]</div>, of course you specify 'style' as your need, something like color:red then put that code where you want it to be displayed. If $userinfo[fieldXX] doesn't work then $bbuserinfo[fieldXX]. But I think sabret00the drove me far away from your question. For the 1st question: it's like using multi styles. You will need a hack to redefine the css, then make it seleteable for users. but why this ? I think you can install multi styles then your users will have more selection for their profile page. |
All times are GMT. The time now is 06:23 AM. |
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:
|