bertini
Forum Replies Created
-
Forum: Plugins
In reply to: [Firelight Lightbox] back next and previous buttons within inline contentI want to do both!
The first would be to be able to navigate through the pictures from my table while they are zoomed in.
Secondly I want to go back to the parent fancybox (maybe opening the previous fancybox through jQuery would work?).
So I mainly need help on the first question (I find this one the hardest as I think I probably need to build an index of all the pictures in the table to be able to “scroll” through them).
Thank you very much.
Forum: Plugins
In reply to: [Firelight Lightbox] back next and previous buttons within inline contentanyone can help??
Thank you!
Forum: Hacks
In reply to: serve image through PHPHello, sorry forgot to answer with the solution!
I found out that not only it is bad practice to load wordpress function calling require-once wp-load but that it generated that 404 error.
I now use this code to load wp functionality:
/* Short and sweet */ define('WP_USE_THEMES', false); require('./wp-blog-header.php');And everything works!
Forum: Hacks
In reply to: serve image through PHPHi, thanks for the answers. I posted the php file I’m working on, I need to access the ID to allow the image to be served or not. Still WIP. I posted the whole thing just to see if it affected the problem.
As it works for both of you and the file locations are okay (tried different files, different locations), I guess I’ll have to talk with the hosting company and look at the logs.
Thank you!
Forum: Hacks
In reply to: serve image through PHPI added the <img src…> to the start page so maybe you can see the problem!
Start page is link
The complete php file I’m calling is
<?php error_reporting(E_ALL); ini_set('display_errors', 1); header("Content-type: image/jpeg"); require_once("wp-load.php"); $current_user = wp_get_current_user(); $current_user_id = $current_user->ID; $img='siodental.jpg'; header('Content-Length: ' . filesize($img)); readfile($img); ?>This php file is called img.php and it’s stored in the root (public_html). The image siodental.jpg is also in stored in the root.
Thank you.
Forum: Hacks
In reply to: serve image through PHPI just changed the htaccess to the default one and still broken.
I deleted image.jpg, but i’m using another one, that isn’t the problem but thanks for asking.Forum: Hacks
In reply to: serve image through PHPOkay thanks. I guess I’ll have to look in another direction then.
Forum: Plugins
In reply to: Create an Upload Boxhelp please!
Forum: Plugins
In reply to: Create an Upload Boxno one?
Forum: Plugins
In reply to: [Gravity PDF] PermissionsNevermind! Just created a presubmssion hook that modifies $POST[‘created_by’]
Thanks
Forum: Plugins
In reply to: [Gravity PDF] PermissionsHi, I’ve been trying to fix what you mentioned, and I think what I need to do is to edit created_by value with a gf hook. But i’m not sure how to proceed :/
Any tips?
Thank you.
Forum: Plugins
In reply to: [Gravity PDF] PermissionsOkay! thank you very much.
Forum: Plugins
In reply to: button not responsiveno one?
Yes! had to add z-index:0
Thank you very much.
No one? For more info, the plugin is loaded from the header extension option of the Avada theme. The menu i have done it myself and loaded it on individual pages through the insert_php shortcode.