Qdig-WP 0.2
I’m finally ready to release something I’ve been working on for the last several weeks: my first WordPress Plugin!
Qdig-WP is a plugin that allows a user to embed a Qdig gallery into a post or page. Take a look at my Qdig-WP page to learn about the plugin, or visit the Qdig website to learn more about Qdig.
At the moment, the plugin should be considered “beta” software, as I mention on the Qdig-WP page. If anyone tries it out, though, I’d love to hear your feedback! Please leave comments, bug reports, or problems with the software or with the Qdig-WP page as comments on this post.
March 2nd, 2005 at 7:07 pm
WordPress Plugin: Qdig
Qdig-WP is a WordPress 1.5 plugin that integrates Qdig (Quick Digital Image Gallery) into WordPress….
March 4th, 2005 at 3:30 pm
Hello,
first of all thanks for the plugin…
the gallery (qdig) itself works, but the plugin is not working correct. I have no idea why it isn’t working. You see the gallerylist, but if you choose a gallery the gallery will not be display insteed the normal blogpage will be seen.
Someone else has that problem.
Andreas
March 4th, 2005 at 4:08 pm
$qdig_url = '/qdig/index.php'; // URL path to this script.If I change this it to the URL path I have a different Probelm. It will not be shown in the wordpress template but it works.
Andreas
March 4th, 2005 at 5:43 pm
Hello again,
I fixed the problem.
$qdig_url = '.'; // URL path to this script. Examples: '/photos/' or// '/photos/qdig.php' or '/~username/qdig/index.php'
This is not the URL path to the script. This should be your link to the blog entry. Therefore I just insert a . (point) and it works.
Andreas
March 5th, 2005 at 4:35 am
> Andreas:
Thank you for your feedback! I’m glad you were able to figure out how to fix the problem. I updated my instructions to clarify and address the issue you point out here — thank you for sharing your fix!
David
March 9th, 2005 at 4:26 pm
i think this looks like a really great plugin and i’m excited about trying it.
i’m pretty much a coding moron, though, and need a bit of help - i want to display small galleries within posts. how can i call qdig into them?
thanks, any ideas would be helpful. at any rate, good job.
March 9th, 2005 at 6:37 pm
I appear to be having the same problem. Although none of the fixes seem to work for me. I made the Tag that opens the gallery, but if I click any qdig thumb or link it sends me to the rootpage.
1 thing I notice is that when I open the gallery I get;
wow.tekfrog.com/?p=2
but when I click a thumb I get;
http://wow.tekfrog.com/?Qwd=./test2&Qif=desktop.png&Qiv=thumbs&Qis=M
and I am brought back to the rootpage. Almost like the address bar is not being parsed.
BUT if I add p=2 to the address bar like so
http://wow.tekfrog.com/?p=2Qwd=./test2&Qif=desktop.png&Qiv=thumbs&Qis=M
I can openup the intended location although any lik followed will redirect to the rootpage.
Any ideas? I am using the code you provided as of 13:00MST March 9.
March 9th, 2005 at 11:45 pm
> bop
I give a general overview covering how to use Qdig-WP at its page, Qdig-WP–if there’s something specific you need help with I’ll be glad to help you, but I’m not sure that I’m understanding what you’re asking?
The basic idea for the situation you mention is as follows: After installing Qdig-WP, you create subdirectories in the images directory, each of which will have the pictures for a single gallery. Then, in the post you want to embed Qdig into, you use a qdig tag such as [qdig path=dirname] to point to that gallery (assuming the gallery you want is in subdirecotyr “dirname” — change as necessary).
Perhaps I should write some additional documentation addressing this type of situation and how specifically to approach it… when I get some time, I’ll look into that but it might be a while. In the meantime, feel free to email me or continue leaving comments if you have any further questions. (I’m not sure that what I just wrote really addresses your question?)
March 9th, 2005 at 11:50 pm
> Tekfrog
You’ve just discovered something major that I hadn’t even considered: I assumed that people would be using “pretty” (mod_rewrite type) URL’s.
The only solution at present would be for you to set up the mod_rewrite style permalinks at Options > Permalinks in the WordPress admin panel.
I will make a note of this on the Qdig-WP webpage and will also consult with the Qdig developer to see what kind of solution might be possible. In the meantime, I’m sorry!
March 10th, 2005 at 1:18 am
Thanks David, worked like a charm. Now to get to work on my layout. Thanks much for the help and the conversion you did with qdig!!!
March 10th, 2005 at 2:41 am
hi david,
well, i fixed the main problem of nothing but the tag being displayed in the post - turns out it had nothing to do with qdig-wp, but rather an incompatibility of sorts with my runphp plugin. i deactivated it and the ‘visit gallery’ link popped up right away. there was much celebrating.
now i have a different problems - i seem to have messed up the paths somehow. when i click on ‘visit gallery’, i get the names of the images as links, but no images. and every link leads back to my wordpress index.php. i’m sure that this is something that i can fix quickly, but i don’t know where to start.
would you point me in the right direction? thank you again.
March 10th, 2005 at 10:07 pm
> bop
Hm, I’ll have to look into the incompatibility with runphp and see if it’s a problem I can address on my end.
The problems you have sound like what would probably happen if the variables in the qdig/index.php file isn’t configured properly. Have you read the The Qdig File in on my instructions page? I suspect you need to change $abs_url_path, $abs_fs_path, and $qdig_url.
March 14th, 2005 at 6:28 am
hi again david,
yup, that was it.
i’m still working on trying to get the qdig index.php to stay within my wp post, like on whitespacesfilled/trailer gallery. do you think that’s possible? i’ve tried a couple things, but no luck yet.
any ideas?
September 8th, 2005 at 1:38 am
As mod_rewrite is not activated by my provider, the links are incomplete (p argument is missing), see Tekfrog’s previous comment http://randomfrequency.net/blog/2005/03/02/qdig-wp-02#comment-437
Here is my fix to get the correct urls:
in the file qdig/index.php:545 the variable {$extra_param} allows to add parameters to urls. I added p argument.
$extra_param = ‘p=’.$_GET[’p'].’&’;
I am not sure it is the best way but now it seems alright for me.