Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[CM] Username Blink - On Mouse Hover vB4.x Details »»
[CM] Username Blink - On Mouse Hover vB4.x
Version: 1.00, by ChiNa ChiNa is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.2.0 Rating:
Released: 11-08-2012 Last Update: 11-15-2012 Installs: 10
Template Edits
Re-useable Code  
No support by the author.

This was Requested by a member on our forum vBulletin-Mods..! This is a simple Modification! Now this is another Trick by hovering your mouse over a username, and it will have Blinks on it! Because the GIFs are used as a background image...

Notice:
The code is made by myself, while the Images can be found online! Therefor you can freely re-use the code from my side!

Here are all 4 Animated Gif Blinks/Images:

Gray Blink:
Green Blink:
Red Blink:
Aqua Blink:


1) First of all, Downlod all the 4 Animated Gifs that I have attached below in the ZIP file called "Blinks.zip" or simply RIGHT click and copy them to your computer from the top.. Now after downloading the images, Upload them all to your forums "images" Folder!

2) Go to your ADMINCP >> and then in your Style Manager (Style & Templates) >> section, click on the DROPDOWN to its right, and click on Edit Templates >> Now look for CSS Templates and click to enter. Now choose the Additional.css Template.

3) Add the following Code below everything else in your Additional.css Template:

Add This Code Below all the way below:
PHP Code:
.blink1:hover {
  
backgroundURL("images/blink1.gif");
  }
  .
blink2:hover {
  
backgroundURL("images/blink2.gif");
  }
  .
blink3:hover {
  
backgroundURL("images/blink2.gif");
  }
  .
blink4:hover {
  
backgroundURL("images/blink4.gif");
  } 
What you just added is 3 Different "Animated GIF" wich blinks to your CSS Template! Now we are ready to assign them to EACH USERGROUP, And I will assign them 1 by 1 to 3 different USERGROUPS! But showing you only 1 TIME, you have to do the rest.

4) Now if you have Uploaded the 4 GIF IMAGES which is inside the "Blinks.zip" file folder go to next step! The images are important to upload first!

5) Now Its upto you which BLINK COLOR you want to assign, and to which group!

Go to your ADMINCP, and then find USEGROUP that you wanna assign a blinking image too.. Lets stay we choose
the Administrator Group!

Click on the Administrator group! Now if you look on the new page, you will see: Title, Description, User Title and Username HTML Markup..

We need the "Username HTML Markup"! Notice that there are 2 FIELDS there.... And we have to add
our code in both FIELDS! I will call the first field for "FIELD 1" and the other for "FIELD 2"!

Add the following code in first field (Field 1):
Code:
<span class="blink1">
And add this code in "SECOND" field (Field 2):
Code:
</span>
Thats it............ We are done.

One more thing, if you wanted to have "BIG" letters assigned to each usergroup, then add the following code in the front of the other codes
we just added...

Add the following code in FIELD 1, at the VERY START:
Code:
<b>


Add the second code in FIELD 2:

Code:
</b>


So together it should look like this:
Field 1:
<b><span class="blink1">
Field 2: </b></span>

NOW WE ARE OFFICIALY DONE!

One Last Thing: Remember that we added 3 Different BLINKS, you have 3 more to go! So do the same thing in the NEXT Usergoup, but remember instead of <span class="blink1"> you change the text called "blink1" to "blink2" or "blink3"! If you wanted

And if you wanted to add more than 4 blinks, Then go to your "Aditional.css" template again, and add the next code with 10 BLINKS!

10 different Codes:

Code:
.blink1:hover {
  background: URL("images/blink1.gif");
  }
  .blink2:hover {
  background: URL("images/blink2.gif");
  }
  .blink3:hover {
  background: URL("images/blink3.gif");
  }
  .blink4:hover {
  background: URL("images/blink4.gif");
  }
  .blink5:hover {
  background: URL("images/blink5.gif");
  }
  .blink6:hover {
  background: URL("images/blink6.gif");
  }
  .blink7:hover {
  background: URL("images/blink7.gif");
  }
  .blink8:hover {
  background: URL("images/blink8.gif");
  }
  .blink9:hover {
  background: URL("images/blink9.gif");
  }
  .blink0:hover {
  background: URL("images/blink0.gif");
  }
There are 10 DIFFERENT BLINKS, after adding the code to your ADDITIONAL.CSS, make sure to add the IMAGES also to your forums IMAGES folder!

Update: Images & Blinks Added Directly on TOP : 1 New Blink added

Notice: You can add your own Images as well, these are the ones I already had using in my own forum!


Download Now

File Type: zip Blinks.zip (23.3 KB, 89 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
mohammadxxx

Comments
  #2  
Old 11-09-2012, 02:07 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey ChiNa-Man is the title of the mod supposed to say vB3.8 even though you have it listed as vB Version: 4.2.0?
Reply With Quote
Благодарность от:
ChiNa
  #3  
Old 11-09-2012, 10:08 AM
ibrahimkoky ibrahimkoky is offline
 
Join Date: Apr 2012
Location: California
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks- Tagged
Reply With Quote
Благодарность от:
ChiNa
  #4  
Old 11-09-2012, 01:57 PM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Hey ChiNa-Man is the title of the mod supposed to say vB3.8 even though you have it listed as vB Version: 4.2.0?
My bad, I have posted this MOD on vB3.8 forums too, an used the same title here as well... Thanks for notice !
Reply With Quote
Благодарность от:
ozzy47
  #5  
Old 11-09-2012, 10:11 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really great Let me check thanks
Reply With Quote
  #6  
Old 11-09-2012, 10:14 PM
Cusski Cusski is offline
 
Join Date: Feb 2012
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working perfect on vb4.2 pl3, should not field 2 be

Code:
</span>
and not

Code:
<span>
as showen?

Our forum has already some code in these fields, but it can be added like this

Field1

Code:
<span style="font-weight: bold; color: red;"><span class="blink1">
Field2

Code:
</span>
and works perfect
Reply With Quote
Благодарность от:
ChiNa
  #7  
Old 11-09-2012, 11:26 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChiNa-Man View Post
My bad, I have posted this MOD on vB3.8 forums too, an used the same title here as well... Thanks for notice !
I figured it was a copy/paste thing.
Reply With Quote
  #8  
Old 11-10-2012, 03:02 PM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Cusski.... Hi, Thank u for the notice! Its because I have copied and pasted the same thread on 4 other sites, and I been editing a lot, Totally forgot that part! Appreciate your notice!
Reply With Quote
  #9  
Old 11-16-2013, 06:01 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant success help please
My HTML code is:
PHP Code:
<img src='images/sooweb/icons/King.png'><span style='font-weight: bold; color:Red;'
PHP Code:
</span
how i use this <span class="blink1">
and i am using also HTML Markup hack
Reply With Quote
  #10  
Old 12-29-2013, 09:37 AM
sodasusu sodasusu is offline
 
Join Date: Aug 2011
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not show in forumhome

like this http://forum.ampm.co.id/forum.php
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 01:12 PM.


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.05551 seconds
  • Memory Usage 2,346KB
  • Queries Executed 24 (?)
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
  • (9)bbcode_code
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete