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)

michealo 08-15-2002 12:51 PM

great hack, but i just added a cusom Vb code in adminCP for this very thing

using the {option} command to change colors

Matt87 08-15-2002 03:27 PM

I thought about doing that, but there was some problems...

SgtSling 08-16-2002 03:11 AM

this worked fine for me.. thanks

Boofo 08-16-2002 04:42 AM

The following is an example of how I have mine:

vB Code tag: glow
vB Code replacement: <span id="glowtext">{param}</span>
vB Code example: [GLOW]Glow[/GLOW]
vB Code explanation: whatever you want to add
Use {option} ?: no

Go to Styles: [edit style properties] on whatever style you want

Head Insert:

Look for:

Code:

.thtcolor {
        COLOR: { tableheadtextcolor};
}

and add after: and before </style>

Code:

#glowtext{
filter:glow(color=FFFF00,strength=3);
width:100%;
}

and there you have it. :)

Quote:

Originally posted by Apok2002

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


NexDog 08-17-2002 07:52 AM

I would use it if our forum wasn't so light. Good work though. :)

ScruffyDeluxe 08-17-2002 08:12 PM

Quote:

Originally posted by Boofo
The following is an example of how I have mine:

vB Code tag: glow
vB Code replacement: <span id="glowtext">{param}</span>
vB Code example: [GLOW]Glow[/GLOW]
vB Code explanation: whatever you want to add
Use {option} ?: no

Go to Styles: [edit style properties] on whatever style you want

Head Insert:

Look for:

Code:

.thtcolor {
        COLOR: { tableheadtextcolor};
}

and add after: and before </style>

Code:

#glowtext{
filter:glow(color=FFFF00,strength=3);
width:100%;
}

and there you have it. :)


The big problem with that is you're stuck with yellow as your glow colour. I tried it that way, then tried this:

vB Code tag: glow
vB Code replacement: <table border="0" cellspacing="0" cellpadding="2" style="filter:glow(color={option},strength=2)"><tr ><td>{param}</td></tr></table>
vB Code example: [GLOW="#fedcba"]glowing nicely[/GLOW]
vB Code explanation: This adds a user specified coloured glow around text.
Use {option} ?: yes

It adds a specified HTML colour code or named coloured glow around text and puts it inside a table - which can be troublesome - but I'm working on a sneaky workaround on the method you posted. ;)

Boofo 08-17-2002 11:47 PM

I had it set up so that users could put their own colors in it but I had a certain user who seems to be color blind (although, as my wife, I love her dearly), because she kept using these colors that would blind a bat. :)

Quote:

Originally posted by ScruffyDeluxe


The big problem with that is you're stuck with yellow as your glow colour. I tried it that way, then tried this:

vB Code tag: glow
vB Code replacement: <table border="0" cellspacing="0" cellpadding="2" style="filter:glow(color={option},strength=2)"><tr ><td>{param}</td></tr></table>
vB Code example: [GLOW="#fedcba"]glowing nicely[/GLOW]
vB Code explanation: This adds a user specified coloured glow around text.
Use {option} ?: yes

It adds a specified HTML colour code or named coloured glow around text and puts it inside a table - which can be troublesome - but I'm working on a sneaky workaround on the method you posted. ;)


Ninth Dimension 08-18-2002 04:46 PM

the original textfile instructions of this hack need to be updated, there is a huge error that makes this hack un-usable.

where it says
PHP Code:

Now RUN this following MYSQL QUERY:

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

it should say
PHP Code:

Now RUN this following MYSQL QUERY:

INSERT INTO bbcode VALUES (998'Glowred''<table style="filter:glow(color=red, strength=4)">{param}</table>''[GLOWRED]Glow[/GLOWRED]'''0);
INSERT INTO bbcode VALUES (997'glowblue''<table style="filter:glow(color=blue, strength=4)">{param}</table>''[GLOWBLUE]Glow[/GLOWBLUE]'''0); 

or you get nothing but a glowing 4 where the glowing text should be - other than that, good hack.

Matt87 08-23-2002 03:35 PM

text file updated

Matt87 08-23-2002 03:43 PM

Added small explanation on how to add more colors, also added link to online demo.

Ninth Dimension 08-23-2002 04:18 PM

Quote:

Originally posted by Matt87
- 8/23/02 FIXED QUERIES... (v1.1) Thanks to: danielhollands :)
*grin* :)

One more thing, this might just be me, but I think the demo site is down...

Matt87 08-23-2002 05:05 PM

I don't think so, I'm at it right now, I'll make sure the link is correct

Matt87 08-23-2002 05:11 PM

Yup, Its up! :)

Ninth Dimension 08-23-2002 05:40 PM

sorry, that was just me.

there is still a problem with the sql code, however it's an easy one to fix, once you have inserted the code, you need to go into the vB code section of the admin panel, choose to edit each of the colours you add, and then hit "save Changes"

I don't know why this is, but I've just installed it again, and yet again it had a problem, but doing what I listed above will fix it :)

Matt87 08-23-2002 07:59 PM

Hmm... Well it worked fine for everyone before, I do know that you have to run the SQL query in the bbcode mysql table

K_2 09-23-2002 02:53 AM

I get {param} that glows when I install this hack??

Ninth Dimension 09-23-2002 09:22 AM

I had this problem myself, but I don't know why.
what I do know is how to fix it :D

Goto the Admin panel -> Custom vB Codes -> Modify.

find the glow code, click edit (don't change anything) then click save changes. - That should fix it.

good luck.

Zombie-F 10-06-2002 10:50 PM

I'd like ot install this hack, or something like it. The only problem I have with it is for each color you need a separate button. Would it be possible to set up this hack so it's more like the 'SIZE' 'FONT' and 'COLOR' options in a drop down box?

It could say 'GLOW' as the default selected option, and then you could drop down the box which would have as many different colors as you want in it, and once selected, insert the appropriate vbcode into the document.

Just curious if this can be done, as I don't really want to have 3 - 10 different buttons for whatever colors I want the text to glow.

Great hack otherwise! :)

Zombie-F 10-06-2002 11:11 PM

Oops. Nevermind. Just figured out how to do it. :D

Pancreas Paul 10-07-2002 02:56 PM

I get an error that when I type text it just says {param} Why?

Ninth Dimension 10-07-2002 03:02 PM

this problem is fixed about 3 posts above (https://vborg.vbsupport.ru/showthrea...889#post301889)

Greivog 04-24-2003 11:10 AM

All i get it {param} in the glowing colour where the text should be? :(

Paul

ScruffyDeluxe 04-24-2003 12:10 PM

Quote:

10-07-02 at 12:11 AM Zombie-F said this in Post #59
Oops. Nevermind. Just figured out how to do it. :D
I'm interested in this :)


All times are GMT. The time now is 04:17 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.01265 seconds
  • Memory Usage 1,776KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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