vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   logo in message window (https://vborg.vbsupport.ru/showthread.php?t=68231)

ambumann 08-11-2004 04:17 PM

logo in message window
 
I'm trying to use my forum logo as background in the message editor by customizing the WYSIWYG-editor in the Style Manager. Is there a way I can format or adjust the logo (by code) or is this a static function?

What I need is to fit the logo to the text box and center it/adjust it to a corner. If I have to adjust the image size of the file I'm using, what is the size to use?

Dean C 08-11-2004 05:44 PM

I've moved your thread to the appropriate forum. The 'Modifications Hints & Tips' forum is for people to share their hints and tips, not for people to ask questiosn :) Thanks, Dean.

AN-net 08-11-2004 07:19 PM

can't u simply place an image in the text area of reply/new thread/edit by using the CSS in the style manager?

ambumann 08-11-2004 07:53 PM

Quote:

Originally Posted by AN-net
can't u simply place an image in the text area of reply/new thread/edit by using the CSS in the style manager?

Hints on how a newbie can do this?

AN-net 08-11-2004 07:58 PM

HTML Code:

background-image:
url("/images/bgdesert.jpg")

put that in the textbox for textarea background in stylevar for the style you desire.

ambumann 08-11-2004 08:09 PM

Quote:

Originally Posted by AN-net
HTML Code:

background-image:
url("/images/bgdesert.jpg")

put that in the textbox for textarea background in stylevar for the style you desire.

OK. I'll try that. Thanks! :)

ambumann 08-11-2004 09:39 PM

Couldn't get the last tip to work in any way, but by using the style manager and code
Quote:

url(images/blek-logo.GIF) align="center"
I kinda made it anyway. The only matter now is adjusting...

alsaqr 08-12-2004 06:08 PM

This is the way:

Style Manager --> Main CSS --> Input Fields (Customized in this Style)
you will find a box: Extra CSS attributes , put this code in it :

#FFFFFF; background-image: url("put your image URL here")

Thats all :)

Natch 08-12-2004 11:26 PM

Not exactly - find the WYSIWYG Editor style and add the following after the #abcxyz colour definition for background:
Code:

url(images/blek-logo.gif) top center no-repeat
You will need to match your image dimensions to that box ($stylevar[formwidth]) - if you have it set to auto, then you will need to just have a play with the size until you are happy with it.

ambumann 08-14-2004 10:42 AM

Quote:

Originally Posted by Natch
Not exactly - find the WYSIWYG Editor style and add the following after the #abcxyz colour definition for background:
Code:

url(images/blek-logo.gif) top center no-repeat
You will need to match your image dimensions to that box ($stylevar[formwidth]) - if you have it set to auto, then you will need to just have a play with the size until you are happy with it.


Thank you! :D


All times are GMT. The time now is 02:29 PM.

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.01008 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete