NicolaCirotto
Forum Replies Created
-
Forum: Plugins
In reply to: [BP Profile Search] Buddypress Profile Search and WPML multilanguageHi Andrea,
have you some news?
ThanksForum: Plugins
In reply to: [BuddyPress Moderation] Inserting function in theme template fileMe too
Forum: Plugins
In reply to: [Buddypress Profile Views] Errors everywhereI found the problem…
Open the file: buddypress-profile-views\includes\bp_views_core.php
in the first line the file start with: <?
you need to change it to: <?phpNow all work fine
Forum: Plugins
In reply to: [Rating-Widget: Star Review System] WMPL Language Auto-SelectionI have the same problem… with wpml the rating widget not change label of him.
Forum: Plugins
In reply to: [BP Profile Search] Buddypress Profile Search and WPML multilanguageGrazie a te Andrea
Forum: Plugins
In reply to: [Buddypress Profile Views] Errors everywhereI have the same problem! All pages (backend and frontend) with this message on the top of pages:
prefix . "bp_profilevisits"; $makecount=false; //echo " ".bp_displayed_user_id()." - ". bp_loggedin_user_id()." "; if($user_id!=0 and $user_id!= bp_loggedin_user_id()){ if(isset($_SESSION['profile_visit'])){ if(!in_array(bp_displayed_user_id(), $_SESSION['profile_visit'])){ $makecount=true; $_SESSION['profile_visit'][]=$user_id; } }else{ $makecount=true; $_SESSION['profile_visit']=array(); $_SESSION['profile_visit'][]=$user_id; } $sql="select views from $table_name where userid=$user_id"; $view_count = $wpdb->get_var( $sql); $view_count=$view_count?$view_count:0; if($makecount){ if($view_count<1){ $sqli="insert into ".$wpdb->prefix . "bp_profilevisits values(NULL, $user_id, 1)"; $wpdb->query( $sqli); $view_count=1; }else{ $view_count++; $sql="update $table_name set views=$view_count where userid=$user_id"; $wpdb->query($sql); } } } echo" Total Profile Visits: $view_count "; } ?>
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu Click problemHi Peter,
is true… the plugin already have this feature ahahah
Sorry!!
I changed to “PUSH” on slide animation and “.container” for page wrapper.
It work perfectly.It don’t have only the close (X) button inside the responsive menu. I need it and I changed my code to:
jQuery(document).ready(function($) { jQuery('#responsive-menu').prepend('<div id="myCloseButton">X</div>'); jQuery('#myCloseButton').click(function() { jQuery('#click-menu').click(); return }); jQuery('#click-menu').click(function() { if (isOpen) { jQuery('#click-menu').hide(); return; } jQuery('#click-menu').show(); return; }); }
My code is inside my template on footer using wp_enqueue_script.
With future upgrade I don’t will have problems because my code are not in plugin file.Thanks for your support!
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu Click problemok, finally my code:
CSS:
#myCloseButton { float: right!important; font-size: 1.5em; font-weight: bold; width: 30px!important; height: 30px!important; text-align: center!important; padding-top: 10px; color: white; cursor: pointer; }
And javascript code:
jQuery(document).ready(function($) { jQuery('#responsive-menu').prepend('<div id="myCloseButton">X</div>'); jQuery('#myCloseButton').click(function() { jQuery('#click-menu').click(); return }); jQuery('#click-menu').click(function() { width = jQuery('#responsive-menu').width(); var options = {}; jQuery('#click-menu').hide(); if (isOpen) { options['margin-left'] = width; jQuery('.container').stop().animate( options, 500, 'linear', function() { }); return; } options['margin-left'] = 0; jQuery('.container').stop().animate( options, 500, 'linear', function() { jQuery('#click-menu').show(); }); return; }); }
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu Click problemthere are a problem only with a close button if I use my solution.. but is not a problem I customise and I include the X button inside your menu by code.
I only want to tell this if you choose to add the option of “move the content page” you need to insert a X button inside menu.
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu Click problemyes yes I know… I work with mobile app from years and every mobile have is history ??
I tried with z-index and other css possibilities but NOT work.
I had a idea… I created this script to see if it work and is ok (without animation is test code).
In the footer script I have added a code to have similar effect of https://demo.tempees.com/mobile-app-menu/$('#click-menu').click(function() { width = $('#responsive-menu').width(); if (isOpen) { $('.container').css('margin-left', (width + 'px')); return; } $('.container').css('margin-left', '0px'); return; });
But is not a better solution… the best is you can add this option in your plugin…
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu Click problemYes without replicate of issue, it’s impossible to solve the problem.
My device is: HTC EVO 3D with Android 4.0.3 and Standard Browser I think Mobile Safari 534.30 (this is whatmyuseragent.com result)Maybe I can debug it next days, but now I’m working around all site and the last work is to try to resolve the problem.
If I will find the problem, I will write here.
Thanks
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu Click problemYes, sorry for my english..
When I click Responsive menu Cerco or Offro the link not load but it show the combo box selection under the overlay menu.
I try to post images to explain it:
Clicking on Offro you can see the double focus on Offro and the combobox under menu
https://petsitterwp.cirotto.net/problem_01.pngand it not open the link of Offro but open the combobox selection:
https://petsitterwp.cirotto.net/problem_01.pngStrange problem… On another phone, I don’t have this problem.
Thanks