vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   New code, PHP and quote boxes! (https://vborg.vbsupport.ru/showthread.php?t=35382)

Admin 04-05-2002 12:09 PM

Beiddos: Don't do any changes to your functions.php file. :)

Ordovicuim: Please read the thread, at least read the first post. :rolleyes:

:bunny:

Bieddos 04-05-2002 04:41 PM

Quote:

Originally posted by FireFly
Beiddos: Don't do any changes to your functions.php file. :)

Ordovicuim: Please read the thread, at least read the first post. :rolleyes:

:bunny:

Infact i try i do only this part: +-------------------------------------------------------------------------------------------------+
| In the Admin CP, goto Modify under Custom vB Codes and click [edit] next to the [quote] code |
| Place this code in the "vB Code replacement" Box |
+-------------------------------------------------------------------------------------------------+
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td><smallfont><b>quote:</b></smallfont></td></tr><tr><td style="BORDER: #000000 1px solid; FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: #D7D7D7;">{param}</td></tr></table>
+-------------------------------------------------------------------------------------------------+

+
+++
+

+-------------------------------------------------------------------------------------------------+
| Add a new Replacement Variable, named #D7D7D7: |
+-------------------------------------------------------------------------------------------------+
#D7D7D7
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| And another, named #000000: |
+-------------------------------------------------------------------------------------------------+
#000000
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| You can adjust these colors to your liking. The first is the background color of the box, and |
| the second is the font color of the text inside the box. (Current colors fit default scheme) |
+-------------------------------------------------------------------------------------------------+



But there is this problem: the quote include the signature and the result is this :( :

Admin 04-05-2002 04:52 PM

You didn't run the query... ;)

amykhar 04-05-2002 10:40 PM

weird problem. I upgraded from 2.2.2 to 2.2.5 and made the mods to the functions.php file. I did not change the replacement or anything else.

Windows users say everything is fine. Mac users can't read the quotes. They are seeing a light green text on a blue background.

See it here:
http://www.eaforums.com/showthread.p...954#post114954

Amy

Erwin 04-06-2002 03:25 AM

Yeah - that happened to me too. All I did to fix that in 2.2.5 is to replace the {codefontcolor} and {codebackgroundocolor} with the actual color hex codes both in the vbcode section as well as in functions.php.

In other words, I hard-coded the color rather than used the replacement variables - it works like a charm. I suspect that if you did not want to do this you just need to run the db query again.

Bieddos 04-06-2002 08:06 AM

Quote:

Originally posted by FireFly
You didn't run the query... ;)
ops... now it's perfect :D

Admin 04-06-2002 08:14 AM

Told'ya. ;)

Bieddos 04-06-2002 08:27 AM

I have only a little problem with the colors...

Custom replacements
{--codebackground--} is replaced by #D7D7D7 [edit] [remove]
{--codefontcolor--} is replaced by #f7fcd1 [edit] [remove]

But the results is this: My Forum--> examples of quote <--

Ordovicium 04-07-2002 05:35 PM

Quote:

Originally posted by FireFly
Beiddos: Don't do any changes to your functions.php file. :)

Ordovicuim: Please read the thread, at least read the first post. :rolleyes:

:bunny:

Ok I read now everything, but now I have this Problem:
http://www.vbulletin.com/forum/showt...603#post272603

Ambex Net 04-07-2002 05:41 PM

How do i get this to work with the AutoCopy Code and PHP to clipboard hack?


All times are GMT. The time now is 10:04 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.01510 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete