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)

Mr. X 03-08-2002 07:47 PM

Quote:

Originally posted by Vivi Ornitier
hey Fireflu, i'm having troubles getting the colors inside the quote box to be a different color. Right now, i think it's automatic cell color and it's just the same as the cell color that I posted in. I tried editing the replacement values and such but it still doesn't work, i tried manually inserting a hex color in the #D7D7D7 place but still nothing, can u plz tell me what ihave to edit, the color i'm trying to insert is something like #167D24
Its basically the same with Vivi. I added the hack, but the boxes dont become a different color. I added the replacement values, but it doesnt seem to do anything. See attachment for what Im getting at.

Also, im not sure if its supposed to be like this, but if I quote a post that has a quote, I only get the text quoted, not the original quote. Nesting I think its called? Its in the shot.

And lastly, do I replace the other vB code for things like PHP etc?

Mr. X 03-08-2002 08:17 PM

Oh, when I quote and quote again in a PM, I see both quotes, so it works dandy there. Hmm.

psico 03-08-2002 11:38 PM

The problem is this line in functions.php this changed with version 2.2.3b:
PHP Code:

    $bbcode=str_replace("{""{"$bbcode); // stop people posting replacements in their posts 

so comment this line with "//"...
If anyone know how to avoid this please let me know...

bye!

Admin 03-09-2002 04:52 AM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=35894" target="_blank">https://vborg.vbsupport.ru/showt...threadid=35894</a>

dezoris 03-10-2002 03:13 AM

can you run this from the sql query hack you made for the admin CP? Because I have no clue as to how to do it from, Telnet?

| Now run this SQL query through phpMyAdmin or Telnet/SSH |
+-------------------------------------------------------------------------------------------------+
ALTER TABLE bbcode CHANGE bbcodereplacement bbcodereplacement TEXT;

inetd 03-10-2002 03:19 AM

dezoris, install this hack (by FireFly) for run sql query from Admin CP

dezoris 03-10-2002 05:41 AM

Quote:

Originally posted by inetd
dezoris, install this hack (by FireFly) for run sql query from Admin CP
That is all I have to do is run that line
ALTER TABLE bbcode CHANGE bbcodereplacement bbcodereplacement TEXT; in the query box ?

inetd 03-10-2002 10:00 AM

yes, without ;

dezoris 03-10-2002 10:25 AM

Results of query ALTER TABLE bbcode CHANGE bbcodereplacement bbcodereplacement TEXT
--------------------------------------------------------------------------------

Warning: Supplied argument is not a valid MySQL result resource in /usr/www/users/dezoris/hondalife/forum/admin/query.php on line 24
Query executed successfully!

Thats what I get

SWFans.net 03-10-2002 08:11 PM

I’m curious if there is someway to make the box’s (td bgcolor) alternate oppositely of the first and second alt colors for tables?

Example: In a thread the background for each postbit alternates between the two colors chosen for the replacement variables firstaltcolor and secondaltcolor. I think it would be cool to have these boxes alternate in the opposite, so that in a post with the firstaltcolor as its BG, the box inside it displays the secondaltcolor.


All times are GMT. The time now is 09:23 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.01223 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (2)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