Thread: Major Additions - SCANU's Xenforo Login Slide Panel
View Single Post
  #115  
Old 09-16-2012, 01:42 PM
zascok zascok is offline
 
Join Date: Jul 2010
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No I didn't not edit the template

and the product version in CP is

Code:
Xenforo Login Panel by SCANU 	1.1.2 	This product make your login form as the xenforo's one: a slide panel
Could you please publish the new js and tell me where exactly to replace it? So we will take it from there. Let's see if that is the trouble.

Here is what I have in login_panel_javascript
Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
    // Expand Panel
    $("#_open").click(function(){
        $("div#_panel").slideDown("{vb:raw vboptions.slide_velocity}");
<vb:if condition="$vbulletin->options['bounce_on_off']">
        $("#_panel").animate({"height": "+={vb:raw vboptions.bounce_px}px"}, "{vb:raw vboptions.bounce_velocity}");
        $("#_panel").animate({"height": "-={vb:raw vboptions.bounce_px}px"}, "{vb:raw vboptions.bounce_velocity}");
</vb:if>
        $(".everything").animate({opacity: 0.{vb:raw vboptions.blur_opacity}}, "{vb:raw vboptions.slide_velocity}");
        $(".everything").addClass( "blur" );
    });    
    
    // Collapse Panel
    $("#_close").click(function(){

        $("div#_panel").slideUp("{vb:raw vboptions.slide_velocity}");
        $(".everything").removeClass( "blur" );
        $(".everything").animate({opacity: 1}, "{vb:raw vboptions.slide_velocity}"); 
  });
     
        // Switch buttons from "Log in or Sign up" to "Close Panel" on click
    $("._toggle a").click(function () {
        $("._toggle a").toggle();
    });

    
     // Hide log in options
        $("._hide").change(function(){
            $("#_scanu_password,._lostPassword").slideUp("fast");
            $("._stay_logged").fadeOut("fast");
            $("#_panel").animate({"height": "-=52px"}, "fast");
            $("#_register_button").show();
            $("#_login_button").hide();
            document.reg_log.action = "register.php";
            $("#1").attr("name", "");
            $("#2").attr("name", "");
            $("#3").attr("name", "");
            $("#4").attr("name", "");
    });
    
      // Show log in options
    $("._show").change(function(){
        $("#_scanu_password,._lostPassword").slideDown("fast");
        $("._stay_logged").fadeIn("fast");
        $("#_panel").animate({"height": "+=52px"}, "fast");
        $("#_register_button").hide();
        $("#_login_button").show();
        document.reg_log.action = "login.php?{vb:raw session.sessionurl}do=login";
        $("#s1").attr("name", "s");
        $("#s2").attr("name", "do");
        $("#s3").attr("name", "vb_login_md5password");
        $("#s4").attr("name", "vb_login_md5password_utf");
  });       
});
if (navigator.userAgent.toLowerCase().indexOf("chrome") >= 0) {
	$(window).load(function(){
		$('input:-webkit-autofill').each(function(){
			var text = $(this).val();
			var name = $(this).attr('name');
			$(this).after(this.outerHTML).remove();
			$('input[name=' + name + ']').val(text);
		});
	});
}
</script>


WOW You Are Right. Just Replaced the script from the xml of 1.1.2 copy -paste into templates mention above , And it works!



!Thank you!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01313 seconds
  • Memory Usage 1,780KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete