vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   can someone knowledgeable help me with this? (https://vborg.vbsupport.ru/showthread.php?t=88326)

jeskel 12-29-2003 08:18 AM

can someone knowledgeable help me with this?
 
1 Attachment(s)
Hi,

I would like to know if someone knows the vBulletin templates good enough to tell me if that can be done: I would like to modify the bg color of a text quoted without modifying the first and second alternating colors. I also would like to add borders to the quoted area. I wish I could do it myself but I have no idea how to make it. I have attached some gifs that should explain better than my words what I would like to achieve.

1: like it is right now
2: bg color changed
3: only the borders changed

I will try a mix between 2 and 3 to see what looks best.

Thank you very much if you can help me with that.

Regards,

<edit>
ooops... in my enthusiasm I think I have posted it in the wrong forum.
</edit>

kreftt 12-29-2003 10:17 AM

hiya,

that would be the template bbcode_quote, in which the layout of the quote box is defined

you could for example exchange the border setting:
PHP Code:

border:inset 1px 

with a new one like this:
PHP Code:

bordersolid #xxxxxx 1px; 

with xxxxxx being the color of your choice to achieve a 1px wide border in your color around the quote box


for the backgroundcolor you would cut out the
PHP Code:

class="alt1" 

and put something like
PHP Code:

 background#xxxxxx; 

with xxxxxx being the color of your choice
AFTER the border part that we just inserted, so that your tag would look like this:
PHP Code:

<div style="padding:$stylevar[cellpadding]px; border: solid #xxxxxx 1px; background: #xxxxxx;"

greetz

kreftt

jeskel 12-29-2003 10:49 AM

That works great!!! Thank you so much kreftt! That was really helpful. I hope I'll have the opportunity to be helped by you again.

Cheers :)

Alex

jeskel 12-29-2003 10:54 AM

I have one more question about this template: How could I change the font color? I guess it must be pretty easy but I have no knowledge in html/css.. Thanx a lot if someone can help me.

Regards,

Alex

kreftt 12-29-2003 02:45 PM

search for
PHP Code:

$message 

put
PHP Code:

<font style="color:#xxxxxx"

with xxxxxx being the color of your choice in front of it and
PHP Code:

</font

after it

greetz

kreftt

jeskel 01-02-2004 05:25 PM

Thank you very much. You are a great help! I hope you will help me with the other questions I'll have soon ;)

thumbs up!

thanx again.


All times are GMT. The time now is 12:14 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.01044 seconds
  • Memory Usage 1,725KB
  • 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
  • (8)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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