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)
-   -   Add GLOW vB Buttons (v1.1) (https://vborg.vbsupport.ru/showthread.php?t=42139)

Matt87 08-12-2002 01:47 PM

Just repeat the process, but change "red" or "blue" to green, yellow, black, etc.

I had it on my board, but for some reason the green didn't work.

aquariumpros 08-13-2002 12:07 AM

Can anyone give me the information to add into the Add New vB Code section of the AdminCP? I tried to run the query - but I got an error stating:

Quote:

MySQL said:


You have an error in your SQL syntax near '\\\'Glowred\\\', \\\'<table style=\\\"filter:glow(color=red, strength=4)\\\">\\\' at line 1
Thanks in advance,

Matt87 08-13-2002 12:13 AM

Try this:

Code:

INSERT INTO bbcode VALUES (12, 'Glowred', '<table style="filter:glow(color=red, strength=4)">\\4</table>', '[GLOWRED]Glow[/GLOWRED]', '', 0);

INSERT INTO bbcode VALUES (11, 'glowblue', '<table style="filter:glow(color=blue, strength=4)">\\4</table>', '[GLOWBLUE]Glow[/GLOWBLUE]', '', 0);

Do them one at a time

aquariumpros 08-13-2002 12:19 AM

Quote:

Originally posted by Matt87
Try this:

Code:

INSERT INTO bbcode VALUES (12, 'Glowred', '<table style="filter:glow(color=red, strength=4)">\\4</table>', '[GLOWRED]Glow[/GLOWRED]', '', 0);

INSERT INTO bbcode VALUES (11, 'glowblue', '<table style="filter:glow(color=blue, strength=4)">\\4</table>', '[GLOWBLUE]Glow[/GLOWBLUE]', '', 0);

Do them one at a time

I still get the same error?!?!?!

Can you suggest anything else?

I am running the query in the main page of MySQL. Do I have to run the query within/under the 'bbcode' table?

Sorry...I'm only still learning about MySQL/PHP.

Thank you greatly for your assistance,

Matt87 08-13-2002 12:37 AM

OK... try this:

Code:

INSERT INTO bbcode VALUES (99, 'Glowred', '<table style="filter:glow(color=red, strength=4)">\\4</table>', '[GLOWRED]Glow[/GLOWRED]', '', 0);
Code:

INSERT INTO bbcode VALUES (98, 'glowblue', '<table style="filter:glow(color=blue, strength=4)">\\4</table>', '[GLOWBLUE]Glow[/GLOWBLUE]', '', 0);

aquariumpros 08-13-2002 12:41 AM

I am running the query in the main page of MySQL. Do I have to run the query within/under the 'bbcode' table - or am I in the right place?

Sorry...I'm only still learning about MySQL/PHP.

----still the same error

Matt87 08-13-2002 12:42 AM

Put it under the BB code... It shouldn't make any difference but try it

aquariumpros 08-13-2002 12:48 AM

Thank you!!!

That was it. I ran the query within the 'bbcode' table - and it was added and now works!

Thank you again for a great "hack" and super support!!

Cheers,

Apok2002 08-13-2002 12:53 AM

Quote:

You add a new vbcode entry.
Thank you Boofo for that very insightful answer. :) You care to elaborate? What is the vbcode for this.

Masta Ace 08-15-2002 12:43 PM

Hi

I have a problem with the hack.
if i try to inserd a text, then always i get a "4" in the posting. Why ?


All times are GMT. The time now is 08:40 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.01188 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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