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)

Swamper 03-26-2003 01:47 AM

The problem lies in that initial { at the start of the new replacement variables...

Just follow the original instructions but when you see

https://vborg.vbsupport.ru/external/2003/03/1.jpg

remove the { - replace it with:

codefontcolor}
codebackground}

respectively.

Works fine on 2.3.0

uomoragno 03-26-2003 07:01 AM

Quote:

remove the { - replace it with:

codefontcolor}
codebackground}

the colors don't take effect. :(

Swamper 03-26-2003 02:51 PM

Quote:

Today at 04:01 AM uomoragno said this in Post #182


the colors don't take effect. :(


You have to change it for every step along the way - I did it and it works, just open the original instructions and use search/replace in a text editor.....

jibious 03-31-2003 02:56 AM

im really only interested in the [quote] portion of this. however, i don't want the text being forced to another color if the person's text color is custom set (such as light blue).

would what i need to do be this:

Code:

<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;
FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: { codebackground };">{param}</td></tr></table>

basically just removing the COLOR statement from the td style...?

jibious 03-31-2003 03:37 AM

nm, answered my own question when curiosity got the best of me and i just went ahead and tried it out. works fine.

cyc 04-07-2003 12:31 AM

Great hack, although i'm having one problem, I get the following error when ever someone quotes a message:
Code:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /web/domain.com/path/newreply.php(47) : eval()'d code on line 1
Any ideas would be appreciated

cyc 04-26-2003 11:28 AM

Anyone? :confused:

This hack works fine on my second and third template, but nor my default one.

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /web/www.cyclingforums.com/html/newreply.php(47) : eval()'d code on line 1

007 05-25-2003 10:18 PM

So is there a way to get this wo work with 2.2.9 without removing the { in front of the variables? I am trying to add this to the admincp and I can't right now... :(

Andrus 06-16-2003 12:37 AM

I am having a problem with 2.30. I am hacking this into two new boards at once, and with both boards when I reply with quote to a thread, it quotes the sample text for the custom vb code "This is a quote", rather than the actual post. At first I thought I made a mistake hacking it in, but I double checked everything and it is doing it on both boards.

Any ideas?

msimplay 08-08-2003 03:23 AM

hello i just want the php of this hack and if possible the code part to it
the reason is that i got this template edit from VbulletinTemplates
and i am not sure if it will conflict
if i run the query


All times are GMT. The time now is 03:16 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.01285 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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