Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
[CM] Posbit Avatar Hover (Zoom + 360 Degrees Turn Effect) Details »»
[CM] Posbit Avatar Hover (Zoom + 360 Degrees Turn Effect)
Version: 1.00, by ChiNa ChiNa is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.0 Rating:
Released: 08-03-2012 Last Update: Never Installs: 22
Template Edits Auto-Templates
Re-useable Code Code Changes Translations  
No support by the author.


I made this modification for vBulletin 3.8, but today I decided to try on vB4.x! I must admit it was not easy, because i never had worked on a vB 4.x befor! It was not easy, but I made it! I had not much time, so for now this modification is for "Postbit_Legacy" Templates! I will later make another mod for the Postbit!!


Modification is only visible for users in
Firefox, Safari, Chrome & Opera! Does sadly not work for users using Internet Explorer!


2 Template Edits
2 Different Effects: 360 Degrees Turn & Zoom Out Effect

For vBulletin 3.8 by Clicking HERE!


360 Turn Demo:



Zoom Out Demo



:::::::::::::::::::::::::::: TUTORIALS START :::::::::::::::::::::::::::::::::

Lets begin:


Step 1: First Go to your ADMINCP, find Styles & Templates, and then click on Style Manager!

Now on your right side you should see the Dropdown, now in the dropdown choose Edit Template!

Step 2: Scroll down and look for CSS Templates, and click to enter the template! Now look for "additional.css", Click and enter inside the "additional.css" template, and past the code below, at the bottom! (If there are any other codes, Usually Additional CSS is empty)!

Add the Code below in the additional.css:

360 Degrees Turn Code:

PHP Code:
.myavatar:hover 
 
transitionall 3s ease
-
webkit-transitionall 3s ease
-
moz-transitionall 3s easetransform:rotate(360deg); 
-
moz-transform:rotate(360deg); 
-
webkit-transform:rotate(360deg); position:relative;



Step 3
: Now go to your Styles & Templates, and again click on Style Manager!
And on again on your right side choose "Edit Template" in the dropdown!

Now in your templates, look for Postbit Legacy, and click and enter the template! Now this mod is only for Postbit Legacy, But later I will make another one for the Postbit template as well!

Step 4: In your Postbit template find the code below.

Code to find:
PHP Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> 


Now replace it with the code below.


Replace With:
PHP Code:
<div class="myavatar"><img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /></div


Notice, we only add added 2 things
: <div class="myavatar"> in the front, And </div> at the end of the code! We did not remove the original!
Dont worry, it does not make any conflicts with template, Not even in the future!

Click Save, and your done!

Please Notice, if you use this mod, make sure to click install, if you later needed support for this mod!

:::::::::::::::::::::::::::: TUTORIALS ENDS :::::::::::::::::::::::::::::::::

Extra Modification & Optional
Notice: The code that we added in the Additional CSS was the 360 Degreess Turn Effect code, Below I have posted the code for Zoom Out Effect! Enjoy

Zoom Out Effect:
PHP Code:
.myavatar:hover 
opacity1filteralpha(opacity=100);
transitionall 2s ease
-
webkit-transitionall 2s ease
-
moz-transitionall 2s ease;
transform:rotate(0deg); 
-
moz-transform:rotate(0deg); 
-
webkit-transform:rotate(0deg);
transformscale(1.5); 
-
webkit-transformscale(1.5); 
-
moz-transformscale(1.5);
position:relative;

Add code in the additional.css template, And Done!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
midgetgrimm, ramesh_umk3, The-Lind, WindVoice

Comments
  #12  
Old 10-04-2013, 04:16 PM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
doesn't work in 4.2.0
Its actually made on 4.2.0 and works on any vBulletin 4.x Versions. Only if you do it correctly. I am pretty sure you are doing something wrong! I have installed it on more than a dusins of vB4.2.x forums and never had a single problem!

If you need me to help you out or Install it for you, then please create an Admin ID + Password and send it to my Inbox incl, your forum link!
Reply With Quote
  #13  
Old 10-11-2013, 11:34 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working Great in 4.2.0 Nice hack
Reply With Quote
  #14  
Old 01-11-2014, 12:45 AM
deathtrancer deathtrancer is offline
 
Join Date: Nov 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one buddy works on 4.2.2 great job!
Reply With Quote
  #15  
Old 04-28-2015, 09:20 PM
msau msau is offline
 
Join Date: Oct 2014
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great on 4.2.2. Nice hack thanks.
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 11:08 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.08921 seconds
  • Memory Usage 2,280KB
  • Queries Executed 20 (?)
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_php
  • (1)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
  • (5)post_thanks_box
  • (4)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete