vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   More style options (https://vborg.vbsupport.ru/showthread.php?t=137512)

Paul M 04-10-2007 08:24 AM

I'm pretty sure someone has already released a modification on vb.org that does this.

Brad 04-10-2007 11:30 AM

I'm not going to go off and look for the modification (if it exists ;)) so I'll just tell you how;

Make a new profile field and give it the options you want. Then use a template conditional in the header template to set the correct width based on the new profile field.

Ziki 04-11-2007 11:50 AM

Thanks I always wondered how to do it but I always forgot to look into it.

djilou 08-08-2007 10:36 PM

Quote:

Originally Posted by Brad (Post 1224094)
I'm not going to go off and look for the modification (if it exists ;)) so I'll just tell you how;

Make a new profile field and give it the options you want. Then use a template conditional in the header template to set the correct width based on the new profile field.

Hi
can you please explain in details how to do that?
thanks!

djilou 08-10-2007 01:44 AM

I use this code but didn't work

[CODE]<if condition="$userinfo[field6] &= 1">
<div align="center" style="width: 950px; margin: 0 auto;">

<else>
<div align="center" style="width: $stylevar[outertablewidth]px; margin: 0 auto;">
</if>[/CODE

djilou 08-11-2007 12:26 PM

Any Ideas?

djilou 08-15-2007 01:01 PM

*Bump*

Paul M 08-15-2007 04:16 PM

Please start a thread in the vbulletin discussion forum, your question is not relevant to this thread. Thanks.


All times are GMT. The time now is 11:29 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
  • Page Generation 0.01002 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete