vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=166235

[Monkey's Works] - Ghost Images
by Triky
27 Dec 2007 09:47

2 Attachment(s)
[Monkey's Works] - Ghost Images
by Triky - Web City

Hi there, guys and gals! I've foud this script: Gradual HighLight Image Script. I've asked myself: "How do I use it all over my forum?". I've used a Replacement Variables!

Preview:




Preview (with ImageShack):




Modification:

Quote:

Go to your headinclude template
(AdminCp -> Styles & Templates -> Edit Templates -> headinclude)

Seacrh for:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below, add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save & Close.

Now go to your style options:
(vBAdminCp -> Styles & Templates -> Styles Manager -> Your style Name --> All style Options -> Go!)
In Additional CSS Definitions (second box), add:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save & Close.
Now, go to add a new Replacement Variable:
(vBAdminCp -> Styles & Templates -> Styles Manager -> Your style Name --> Replacement Variables -> Add -> Go!):

Search for text: <img
Replace with text: <img class="gradualshine" onMouseover="slowhigh(this)" onMouseout="slowlow(this)"


Save!
You're done! I hope you like it.


<!-- ------------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->

Modifications

<!-- / ----------------------------[Monkey's Works] - vBulletin.org Releases Archive---------------------------- -->

lasto 27 Dec 2007 10:14

not sure i would want every image to be faded until mouse over.It sort of defeats the object.

Triky 27 Dec 2007 10:16

Yes, but maybe someone would like it. I don't know, so I've posted. :)

Magnumutz 27 Dec 2007 18:12

Would be nice on buttons. But not the entire forum.
Good job for the work however.

SwollenCranium 27 Dec 2007 19:21

Interesting ...

Have you tried it or seen it used on a very dark background yet ?

Triky 27 Dec 2007 20:21

Quote:

Originally Posted by Magnumutz (Post 1410212)
Would be nice on buttons.

It's simple to do it, I will work on it tomorrow. ;)

Triky 28 Dec 2007 08:43

Quote:

Originally Posted by SwollenCranium (Post 1410236)
Interesting ...

Have you tried it or seen it used on a very dark background yet ?

It works, and it has no problem. The main problem, if you're using the vB default style, the buttons borders have a lot of white points around..

SwollenCranium 28 Dec 2007 15:19

Quote:

Originally Posted by Triky (Post 1410618)
It works, and it has no problem. The main problem, if you're using the vB default style, the buttons borders have a lot of white points around..


OK, Thanks. :up:

mesdar 12 Dec 2008 07:35

Thanks

installed

PinkMilk 28 May 2012 17:49

No JS needed this can be done with CSS only:

This would go in the "Additional CSS Definitions" section near the bottom of style manager

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To be more specific you could work out localized image ids/classes (if they have any) or add your own, such as Reply and Closed buttons in SHOWTHREAD template I add the class highlighted in red:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now the CSS code is the same as above but tweaking the top lines to reflect the class added:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Obviously this would be a very time consuming task if you wanted it to effect many images but I just wanted to show you how it could be achieved on a per image basis with no JS. :)

(sorry for bumping old thread)


All times are GMT. The time now is 19:06.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.