vBulletin Plugins

Super Display Suite 0.3.7c - Effects Mod ( Rainbow & Shine & Glitter ) for vb 4.x.x

Submitted by WayneXzki, , Thread ID: 27482

Thread Closed
08-01-2017, 05:49 PM
This post was last modified: 08-01-2017, 05:49 PM by WayneXzki
#1
vB Version: 4.x.x

Effects have been tested in and are now compatable in IE4+, Opera6+, NN7, and Mozilla Firefox 1.5

Note: This product is still in beta stages.
But has been updated for those of you with problems in the usergroup manager. It should all work fine everywhere now. For any other problems, feel free to ask. :-)

First things... What is "Super Display Suite"?
Answer: This modification allows you to add DHTML and javascript text effects to various areas of your forums, for example, if you put it in the HTML Markup for your usergroups, then all of your users in that group, and any legend you may have, will display with these effects. You can also add them around different phrases and words in your template to make it even cooler.
This can be used ANYWHERE in your forum that allows HTML code! you can even, with a few minor changes, turn it into a BBCODE, which I am currently working on optimizing, and be turned into an addon with the next release of this hack. :-).

The modification currently has 3 animations.
1.) Shining - Like the car in Knight Rider (Where, oddly enough, the main character also plays the German coach in "Dodgeball") this effect runs over your text from right to left and vice versa, highlighting a letter at a time, making a kind of... neon lighting effect.; if you will.
2.) Glitter - Very similar to the Shining effect, except it chooses a random letter from the string to light up, then lights up for an amount of time based generally around the set speed for your span item, but it is slightly edited (randomly, as said before, by up to 10 integers in difference going positive, and another going negative... giving it a variable range of 50-70 if you put in 60 as the speed.) In the end, making a kind of "glittering" effect.
3.) A new class all it's own, the dynamically self retaining rainbow effect (I just HAD to say that) this little miracle splits your string up into individual characters, counts them, and then sets a percentile range of colors chosen specifically from a 16bit color code variance, and display them across your string, a perfect rainbow, animating from left to righ. This is probably not a good effect for small strings (8 or less characters) but it is wonderful in longer strings.

Don't forget to hit the button if you're using this.

Install instructions:
1.) Import the product through your product manager. - Easy as pie.

2.a) Go to your "header template and add this line at the very top of the template:

Code:
{vb:rawphrase alchemy_display_func1}

3.b) Go to your "footer" template and add this line at the very bottom of the template:

Code:
{vb:rawphrase alchemy_display_func2}

You're done!


Using This Modification...
We're going to go over how to use this modification as a usergroup markup here, if you'd like to use it in your templates, just follow the basic idea herein.
Find your usergroup manager, and open up the userroup you would like to add the chosen effect to. (In usergroup markups, the following code needs to be on ONE line before you paste it, or else it will only paste the first line)
A note about speed: speed here is reversed, if you want it to be fast, set it to a low speed, if you want it to be slow, set it to a higher speed.

1.) To use the "Shine" animation: Being careful to replace
*#Your_Base_color* =>With=> a hexidecimal color code, starting with the "#" number symbol. An Example would be #990000
*#Your_shine_color* =>With=> a hexidecimal color code, starting with the "#" number symbol. An Example would be #ff5050
*Your_Speed* =>With=> with a numeric value, generally between 50 and 250. An Example would be 120

add this is the first box of the usergroup html markup

Code:
<font color="*#Your_Base_color*"><SCRIPT language="JavaScript"> var scolor='*#Your_Base_color*'; var a_speed='*Your_Speed*'; var shimmercount=shimmercount+1; eval('var shimmerspeed' +shimmercount+ '="' +a_speed+ '"'); eval('var shimmercolor' +shimmercount+ '="' +scolor+ '"'); document.write("<b><span id='" + shimmercount + "shine'>"); </SCRIPT>

and this is the second box of the usergroup markup
Code:
</span></b></font>

It is not recomended that you remove the <b> tags here, as it would make the animation nearly pointless, because you would hardly be able to see it, if at all.

2.) To use the "Glitter" animation: Being careful to replace
*#Your_Base_color* =>With=> a hexidecimal color code, starting with the "#" number symbol. An Example would be #009900
*#Your_glitter_color* =>With=> a hexidecimal color code, starting with the "#" number symbol. An Example would be #40ee40
*Your_Speed* =>With=> with a numeric value, generally between 30 and 250. An Example would be 140

add this is the first box of the usergroup html markup

Code:
<font color="*#Your_Base_color*"><SCRIPT language="JavaScript">var scolor='*#Your_glitter_color*'; var s_speed='*Your_Speed*'; var glitcount=glitcount+1; eval('var glitspeed' +glitcount+ '="' +s_speed+ '"'); eval('var glitcolor' +glitcount+ '="' +scolor+ '"'); document.write("<b><span id='" + glitcount + "glitter'>"); </SCRIPT>

and this is the second box of the usergroup markup

Code:
</span></b></font>

It is not recomended that you remove the <b> tags here, as it would make the animation nearly pointless, because you would hardly be able to see it, if at all.

3.) To use the "Rainbow" animation:

add this is the first box of the usergroup html markup

Code:
<SCRIPT language="JavaScript">var rainbowcount=(rainbowcount+1); document.write("<span id='rain"+rainbowcount+"'>"); </SCRIPT>

and this is the second box of the usergroup markup

Code:
</span>



Note: You can enclose the code here with <b> or <strong> (bold) if you like to add a thickness to your rainbow. Just make sure you add the <b> before <SCRIPT language="JavaScript"> in the opening markup; and the </b> after </span> in the closing markup.

That's it for now... REMEMBER, you can use these animations anywhere in your forum where HTML is allowed, in templates, in posts that allow html... anywhere :-)

Known Issues:
1.) If you have vBShout installed. The shoutbox does not seem to allow javascript... so the animations will all display right everywhere but inside the actual shoutbox. BUT in the shoutbox's individual page, it will work... just not in the AJAX area of the shoutbox.

NOTE: this mod not deal with complicated AJAX .
NOTE: if you had problem " blank page " when add postreply or visitormessage " disable all ajax features " from admincp and everything will be fine .


https://mega.nz/#!3dcSVZgZ!Sk4dibMR7MoBkamlxti7kkYgmOne80qA3mIgqEaUcEQ

RE: Super Display Suite 0.3.7c - Effects Mod ( Rainbow & Shine & Glitter ) for vb 4.x.x

#2
Hey thanks im having a bit of trouble with this version can you help me at all?

Users browsing this thread: 1 Guest(s)