Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Shining UserGroup Display 1.2 - Like the car in "Knight Rider" Details »»
Shining UserGroup Display 1.2 - Like the car in "Knight Rider"
Version: 1.2, by AlchemyX AlchemyX is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-20-2006 Last Update: 02-21-2006 Installs: 18
DB Changes Uses Plugins Template Edits
 
No support by the author.

NOTE: This specific hack is no longer supported because it has been updated to the point where I do not feel it is any longer the same hack. new features, like speed control, and even 2 new animations have been added, and more to come.

Look for a topic here called "Super Display Suite" if you would like a supported version with these, and more features.


This is my first hack/mod for vBulletin. :-) Yay!
Upgrade instructions
1.) Uninstall the product.
2.) Reinstall the product
3.) If you're upgrading from RC1 : Go through your usergroup manager and change every instance of the_color_of_your_SHINE to #the_color_of_your_SHINE (Adding the "#" in front of the hexidecimal value
4.) follow the new installation instructions.

Version History
1.2 : Fixed a spelling error made in 1.1 that dissalowed the shining for a lack of one variable having no value; and added the template changes so that the shining function is included in your pages READ THE NEW INSTRUCTIONS.
1.1 : Fixed html " " error in IE and Opera.
Hack has been tested in and is now compatable in IE6+, Opera7+, NN7, and Mozilla Firefox 1.5
1.0 : Fixed SQL error on install. Feb 21, '06
1.0 RC1 : Initial release. Feb 20, '06

To-Do List
1.) make the plugin have an admin CP panel in usergroup manager, so you only have to put in the default color, the shine color, and the speed.
2.) add a "sparkle" effect to this plugin, so it randomly chooses letters to shine at a random interval... so you can make it "sparkle" instead of "shine"
3.) add a "trembling" effect, so you can choose to have a membergroup's name and the usernames tremble back and forth instead of shine or sparkle.
4.) any other ideas are more than welcome.
And, in so saying, I am planing on making this a "Usergroup effects" modification in the long run, instead of just a shining mod. :devious: mwahaha

If you like this hack, and would like continued development of this, and/or similar/other hacks by myself, click that wonderful install button :-).Here, I'll help you out :-)



Ok, here it goes...

What is "Shining UserGroup Display"?
This hack allows for a dynamic javascript shine animation to run through every username that is in a group with shine activated, in real time, adding a stylish "shiney" effect to your username and group names, wherever they appear.

Known Issues:
1.) For some reason, (for those of you with vBShout installed) this does not seem to work within the shoutbox, but it does still work everywhere else in your forum. I am making the assumption that the shoutbox does not have javascript support...?
Status: Unresolved

You can find a demo of this hack here:
http://www.rpgfreeze.com/forums/index.php?
just scroll down to the bottom of the page and look at the Legend.

Instructions:

1.) Import the product into your product manager.

2.) Go into your usergroup manager, and select a usergroup.
In the usergroup manager, find "Username HTML Markup", and add this code in the first box... beign careful to change this to your likings.
NOTE: This MUST be on only 1 line! or else you cannot save it to the usergroup manager!
Code:
<font color="#your_base_color"><SCRIPT language="JavaScript"> var scolor='#the_color_of_your_SHINE'; var shimmercount=shimmercount+1; eval('var shimmercolor' +shimmercount+ '="' +scolor+ '"');  document.write("<span id='" + shimmercount + "animate'><b>"); </SCRIPT>
CHANGE THESE VARIABLES FOR EVERY USERGROUP

Code:
#your_base_color

and..

#the_color_of_your_SHINE
! CHANGED *** !! ! NOTICE ! !! ***
#your_base_color and #the_color_of_your_SHINE BOTH NEED to have the "#" symbol in front of the hexidecimal value.

then, in the second box of "Username HTML Markup", add this...

Code:
</b></span></font>
NEW! MAKE SURE TO READ!
3.)Go into your style manager and edit the template "header"
at the VERY top line (this must be the FIRST line)
[add]
$vbphrase[shin_func_1]
[/add]

4.) Go to your "footer" template
at the very BOTTOM line (This must be the LAST line)
[add]
$vbphrase[shin_func_2]
[/add]
Thanks for using my hack! If you like it, please remember to click "Install" on vBulletin.org!

- Little AlchemyX (AlchemyX@RPGfreeze.com)

http://www.RPGfreeze.com

Show Your Support

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

Comments
  #32  
Old 02-25-2006, 04:42 AM
VB-STYLE VB-STYLE is offline
 
Join Date: Jun 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlchemyX
This will be in a later version... I'm trying to learn how to add a Control Panel in your usergroup manager in vBulletin so all you'll have to do is put in the base color, the shine color, and the speed... but vBulletin is very new to me and I still don't know how to make my own control panel...
I need some thing now until the next version to slow it. :squareeyed:
Reply With Quote
  #33  
Old 02-25-2006, 05:09 AM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is pretty cool, it's way too fast for me really, but I like enough I'm still going to use it on at least admins heh.
Reply With Quote
  #34  
Old 02-25-2006, 05:42 AM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A speed based on the amount of characters in a members name would be ideal
Reply With Quote
  #35  
Old 02-25-2006, 10:10 AM
Razz Razz is offline
 
Join Date: Dec 2001
Location: UK
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to reduce the amount of CPU usage on the clients browser?

At the moment it averages 40-50% depending how many effects are on screen.
Reply With Quote
  #36  
Old 02-25-2006, 02:54 PM
Eriond Eriond is offline
 
Join Date: Feb 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in your install instructions you have
3.)Go into your style manager and edit the template "header"
at the VERY top line (this must be the FIRST line)
[add]
$vbphrase[shin_func_1]
[/add]

4.) Go to your "footer" template
at the very BOTTOM line (This must be the LAST line)
[add]
$vbphrase[shin_func_2]
[/add]

you might want to change it slightly because i read that as entering [add] [/add] to the header and footer which will actually display [add] [/add] on the forum. other than that no problems installing at all, looking good just waiting for the speed control now
Reply With Quote
  #37  
Old 02-25-2006, 03:44 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eriond
in your install instructions you have
3.)Go into your style manager and edit the template "header"
at the VERY top line (this must be the FIRST line)
[add]
$vbphrase[shin_func_1]
[/add]

4.) Go to your "footer" template
at the very BOTTOM line (This must be the LAST line)
[add]
$vbphrase[shin_func_2]
[/add]

you might want to change it slightly because i read that as entering [add] [/add] to the header and footer which will actually display [add] [/add] on the forum. other than that no problems installing at all, looking good just waiting for the speed control now
Yeah either remove those or change the add to code, otherwise new people to adding mods might get confused.
Reply With Quote
  #38  
Old 02-26-2006, 01:28 AM
AlchemyX AlchemyX is offline
 
Join Date: Jan 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eriond
in your install instructions you have
3.)Go into your style manager and edit the template "header"
at the VERY top line (this must be the FIRST line)
[add]
$vbphrase[shin_func_1]
[/add]

4.) Go to your "footer" template
at the very BOTTOM line (This must be the LAST line)
[add]
$vbphrase[shin_func_2]
[/add]

you might want to change it slightly because i read that as entering [add] [/add] to the header and footer which will actually display [add] [/add] on the forum. other than that no problems installing at all, looking good just waiting for the speed control now
lol, sorry... I didn't mean to actually have people add "[add]" and "[/add]" there... my bad...

BUT, I have updated this, including adding some of the speed features people have asked for, as well as 2 more effects..., though I'm not going to start a different topic as this one is not really by itself anymore.

Quote:
Originally Posted by Razz
Is there anyway to reduce the amount of CPU usage on the clients browser?

At the moment it averages 40-50% depending how many effects are on screen.
Saddly, there isn't, as the kinds of effects these are having... it's almost like AJAX (though not really at all... just seemingly so by the naked eye on a web browser), I guess, it actually automatically rewrites the html version of a teg (in javascript) of the phrase being animated each time it changes, then changes it on the web page through the client side. If you wanted, you could rewrite the code to use serverside usage, but that isn't reccomended.

If you're running with at least 128 mg ram it will work fine. though I'd suggest at least 256 with the way people are able to, and are; coding today.
Reply With Quote
Reply

Thread Tools

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 07:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05799 seconds
  • Memory Usage 2,286KB
  • Queries Executed 22 (?)
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
  • (3)bbcode_code
  • (4)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
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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