jorrit91
Forum Replies Created
-
Wow, you’re a life saver! I actually had a custom function declining roles other than administrators access to the admin dashboard. That was it.
Thanks a lot!
Forum: Fixing WordPress
In reply to: Let employees reserve company itemsHi Konstantinos,
thanks for your detailled explanation! I’ve gone for a different approach, it’s often pretty funny to discover that there are a lot of ways to solve a problem 😉
My client currently has an offline calendar. Employees just fill in when they want to use what. I ended up making actually just that, but then online. The Events Calendar plugin creates a custom post type called “Events” and displays all posts on the front-end in a calendar-view. I’ve connected The Events Calendar with User Frontend Pro, so employees can easily create new “Events” from the front-end, these events will immediately be visible in the calendar view… Exactly what they wanted!
Thanks for you tips, and if anyone finds this helpful: enjoy yourself!
- This reply was modified 8 years, 11 months ago by jorrit91.
Forum: Plugins
In reply to: [WPGlobus] WordPress default metaboxes not translatebleI’m sorry, you’re completely right. Got it all working now, thanks a bunch!
Forum: Plugins
In reply to: [WPGlobus] WordPress default metaboxes not translatebleThat doesn’t seem to be working:


Any idea why?
Forum: Fixing WordPress
In reply to: Suddenly database unreachable, website down.DaDoubleFuq, now it stopped working again… I have no idea where to start guys, can anyone help?
Forum: Fixing WordPress
In reply to: Suddenly database unreachable, website down.Dafuq, I’ve restarted the VPS and everything is working again. But I still don’t know what caused the problem… Any suggestions?
Forum: Fixing WordPress
In reply to: Pretty permalinks not working after migrating to VPS – help!You guys… Please help me, I’ve created a XML that can be spidered by a big dutch Real Estate website, and I can’t reach it like this…
Forum: Fixing WordPress
In reply to: Pretty permalinks not working after migrating to VPS – help!This is what I’ve tried:
Check this link. I followed this comment of the best answer:
- This worked for me too, only had to change it in the section of apache2.conf for the location of my server files, /var/www in my case.
This didn’t have any effect on my site.
I’ve searched the server for some other files where “AllowOverride None” was set, and I’ve found some, but this is unknown territory for me, I’m scared of just editing lines I don’t understand…
Forum: Fixing WordPress
In reply to: jQuery tabs not working on mobileOh. Well. Shit.
I’m thinking it must be some kind of js conflict with another js file right? I’ve tried to enqueue the necessary bootstrap scripts to make the tabs bootstrap style, which worked great on desktop, but on touch devices/in touch device mode it didn’t work.
Do you have any idea or maybe know someone who can help?Forum: Fixing WordPress
In reply to: jQuery tabs not working on mobileHi Andrew, I’ve tried it with the minified version of the file… Not working either. You can check it here. Just to check whether we’re on the same page, the problem is that the tabs won’t open on touch devices. The odd scroll animation isn’t my main concern, I can live with that. Have you ever seen a problem like this? It’s so annoying..!
Forum: Fixing WordPress
In reply to: jQuery tabs not working on mobileHi Andrew, here I am again..:(
So, I’ve recorded my screen to show you what happens when I toggle Device Mode in Chrome. You can check the stuff that’s happening (or not-happening) here. So, your code doesn’t seem to do anything when I’m in “Touch Device Mode”, I still can’t open the tabs. In the video you can see me trying it two times. One time without refreshing the page after toggling Device Mode, after that I refresh the page and enter the code again.So, did you get to this step:
https://ww.wp.xz.cn/support/topic/jquery-tabs-not-working-on-mobile?replies=29#post-8241635Yes, I’ve tried to enter the code in
jQuery(document).ready(function() { jQuery( "#listing-tabs" ).tabs(); jQuery( "#inquiry-form" ).validate(); jQuery( ".iframe-wrap" ).fitVids(); });So this was the result:
jQuery(document).ready(function() { jQuery( "#listing-tabs" ).tabs(); var $ = jQuery, tabLinks = $('.ui-tabs-anchor'); tabLinks.on('click', function(event) { var destination = $(this).attr('href'); // Remove the current scroll effect $('html, body').stop(); // Write it yourself. $('html, body').animate({ scrollTop: $(destination).offset().top }, 1000); }); jQuery( "#inquiry-form" ).validate(); jQuery( ".iframe-wrap" ).fitVids(); });But it didn’t change anything…
The file containing this code is “single-listing.js” and it’s located in “wp-content/plugins/wp-listings-barbel/includes/js”.
So, I’m still searching, I hope you’ve had a great weekend and somehow gained some energy to help me find the root of this problem. You’ve already been very helpful, thanks!
Forum: Fixing WordPress
In reply to: jQuery tabs not working on mobileAh, I see what you mean, but resizing the browser windows is something different than “imitating” a touch device, right? I’m simulating a touch device by click Toggle Device Mode icon right next to the Element Inspector (second icon on the left, colored in blue, see this screenshot)
Forum: Fixing WordPress
In reply to: jQuery tabs not working on mobileHi Andrew, okay, I’m back, sooner than expected, but unupdated. Pff…
You’re talking about this code right?var $ = jQuery, tabLinks = $('.ui-tabs-anchor'); tabLinks.on('click', function(event) { var destination = $(this).attr('href'); // Remove the current scroll effect $('html, body').stop(); // Write it yourself. $('html, body').animate({ scrollTop: $(destination).offset().top }, 1000); });I’ve inserted this in “Console” and pressed enter. When I’m on my desktop it’s giving me a different scrolling animation indeed, going to the respective area. No difference when I switch Device Mode…
Forum: Fixing WordPress
In reply to: jQuery tabs not working on mobileFucking hell. I’ve completely messed up. After updating all plugins and the theme on my local copy first, I decided to do the same thing to the online version. And now everything is messed up. That’s why I wanna get rid of these bloated themes. I’ll report back to you. Thanks for now, you’re fantastic!
Forum: Fixing WordPress
In reply to: jQuery tabs not working on mobileI’m sorry, I tried it locally on a clone of the website we’re talking about. I’ve now added your suggestion to the online version. You can check it here.
By the way, I’ve updated all plugins, didn’t solve the issue…:(