Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add GLOW vB Buttons (v1.1) Details »»
Add GLOW vB Buttons (v1.1)
Version: 1.00, by Matt87 Matt87 is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-09-2002 Last Update: Never Installs: 25
 
No support by the author.

Add GLOW vB Buttons to New Thread / New Reply (v1.1)

This will add GLOW vB Buttons... Screen shots attached in next post... If you install... Please click install. I also forgot to mention that this is my first "hack", so tell me what you think... This has been tested by some members, but things could still screw up... DON'T FORGET TO BACKUP!


SCREENSHOTS:
Buttons
Glow Effect


ONLINE DEMO:
I've installed it on my board: http://www.cnchq.com/forum

How to add more colors?
Just add a duplicate (queries, template, and file edits), change "red" to your desired color.


UPDATES:

- 8/23/02 FIXED QUERIES... (v1.1) Thanks to: danielhollands

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-15-2002, 12:51 PM
michealo michealo is offline
 
Join Date: Jun 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

using the {option} command to change colors
Reply With Quote
  #43  
Old 08-15-2002, 03:27 PM
Matt87 Matt87 is offline
 
Join Date: Mar 2002
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought about doing that, but there was some problems...
Reply With Quote
  #44  
Old 08-16-2002, 03:11 AM
SgtSling SgtSling is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this worked fine for me.. thanks
Reply With Quote
  #45  
Old 08-16-2002, 04:42 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #46  
Old 08-17-2002, 07:52 AM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would use it if our forum wasn't so light. Good work though.
Reply With Quote
  #47  
Old 08-17-2002, 08:12 PM
ScruffyDeluxe's Avatar
ScruffyDeluxe ScruffyDeluxe is offline
 
Join Date: Feb 2002
Location: Merseyside
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #48  
Old 08-17-2002, 11:47 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #49  
Old 08-18-2002, 04:46 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #50  
Old 08-23-2002, 03:35 PM
Matt87 Matt87 is offline
 
Join Date: Mar 2002
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

text file updated
Reply With Quote
  #51  
Old 08-23-2002, 03:43 PM
Matt87 Matt87 is offline
 
Join Date: Mar 2002
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 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.06178 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete