Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2005, 01:18 AM
ProperMethodz's Avatar
ProperMethodz ProperMethodz is offline
 
Join Date: Jan 2005
Location: Stamford CT
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default If conditions and creating my first style...

Hi...

I'm working on my first style. I'm a serious newbie at all of this. My site was something I inhearited less then a year ago. This is also when I started web design, and using photoshop.

Now... I'm the only person who does work on my site. I have a guy who is "supposed" to help, but he always is "too busy".

So, Here are some things I would like to know/do, and I'm hoping you can all help me build as I go.

I'm using vBulletin 3.5 gold. I just installed it and am EXTREMELY happy with the upgrades. I am wanting to create a skin based around the effects of a blacklight, and it's reactive properties on green material.

As you can see here:http://www.7hmgaming.com/forum/index.php?styleid=31

I've already created the black base for it. I have a feeling I'll be changing many of the colors, but I seriously get lost sometimes.

I want to change a color, I go to AdminCP and adjust the area where I think will modify the area I want... but it does nothing. Then I go find another area, and yeah... you get the point. That or misterious borders show up... or all kinds of things. For instance, I wanted to have a second alternationg color of 333333 and have the first 000000. But there would be a "background" color for the font of 000000. Why is this?


Now... On to my if condition... Now since you know from my typings earlier. I'm a newbie to web design, and web coding. So please bare with me and don't be mad cause I don't know. I can learn fast, I just have never touched this stuff until I got this site which was completely unhacked when I recieved it.

I want create an if condition for IE to use .gif, and for FF to use png. I'm thinking that I'll have to default the site to .gif, and add the if condition for detecting FF to allow png.

I don't even know where to start with this, but think this would be an awesome hack/code to use until IE 7 shows up (if it ever does).

Thanks in advance.

Proper
7hmgaming.com
Reply With Quote
  #2  
Old 10-04-2005, 04:47 AM
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Posts: 1,551
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what exactly your style problems are, but here's a (rather general) piece of advice: Have a look at the vBulletin Documentation, where there are style maps that show you which piece of the page uses which css style, making it much easier to customize your board


If condition: You could use the is_browser() function in the if condition, but I've never used it, so you'd have to check the syntax...
Reply With Quote
  #3  
Old 10-04-2005, 04:59 AM
ProperMethodz's Avatar
ProperMethodz ProperMethodz is offline
 
Join Date: Jan 2005
Location: Stamford CT
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Colin F
I'm not sure what exactly your style problems are, but here's a (rather general) piece of advice: Have a look at the vBulletin Documentation, where there are style maps that show you which piece of the page uses which css style, making it much easier to customize your board


If condition: You could use the is_browser() function in the if condition, but I've never used it, so you'd have to check the syntax...
Thank you so much. Possibly stick this and rename the title?

I'm sure there are other users out there looking for that EXACT link and answer. I understand that it sounds retarded, but I also forget to check the manual and tend to go to forums first. Live people tend to help or give updated hints where FAQ, or manuals tend to be outdated. I'm aware the style I created is ugly, but I've always wanted to tinker with a blacklight style. That link will help tremendously.

Now... With the browser function.... I'm pretty new with vBulletin. I understand that I can use the condition, but I'm not exactly sure where I would apply this. Would it be in a template? Do you think I'd seriously have to go through the entire list of templates searching for every instance of an image on my site to apply this as a variable?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:33 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.03361 seconds
  • Memory Usage 2,178KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete