unalignedcoder
Forum Replies Created
-
…I corrected the problem I last mentioned by commenting out line 1059 in photonic.js:
$(this).attr('title', '');
`This worked! Thanks a lot! For the next version also don’t forget to check the fancybox js as I mentioned in my first post…
where it says
switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding});
I found I needed to comment out the “marginLeft” attribute, which otherwise in my case would cause the caption to be offset to the right:
switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,/*marginLeft:d.padding,*/marginRight:d.padding});
That’s all. This is a great plugin. The only one which allowed me to keep the standard wordpress galleries while getting a better layout for them. So thank you for it )
[EDIT: actually, if I use the ‘slide up’ caption, the fancybox caption in the slideshow disappears completely?]
- This reply was modified 8 years, 3 months ago by unalignedcoder.
- This reply was modified 8 years, 3 months ago by unalignedcoder.
Dear Sayontan, thanks! Your solution worked! (after I manually updated the galleries). You’ve been very helpful.
If you don’t mind, one extra thing: In tile mode the only “popups” that seem to work are the HTML popup and the JQuery tooltip. The other ones just won’t apply. Is there any solution to this? I’d love to be able to use the “slide up from bottom” popup.
Thanks for the answer. You sound a bit defensive? probably it’s my fault as I rushed with my post, so let me clarify: what I meant to say is that, when it comes to the regular WP gallery, in my opinion it would be a better behaviour if the popup took from the Caption field rather than the Title field.
As I said, when my users make a regular WP gallery, they fill in the caption field, because this was what you would do in the regular wordpress gallery in order to see the caption. The title field they’d leave it alone because it comes pre-filled by WP with the name of the picture.
To come to your question, I am talking about the regular WP gallery (no external providers),the gallery is embedded in a page or post, and the lightbox effect is Fancybox.
I’ll appreciate any help you can give. I tried going into the code to replace ‘title’ with ‘post_excerpt’ but I couldn’t make it work.
Forum: Plugins
In reply to: [Firelight Lightbox] Uploaded video is not supported??Hey, I’d be happy to but not publicly, it’s a family website off the google grid, I looked in your profile but couldn’t find an email.
Forum: Plugins
In reply to: [Firelight Lightbox] Uploaded video is not supported??RavanH, thanks for the reply! however, jwPlayer is not an option since I would have to buy the premium version to make it work in a responsive way.
Besides I use fancybox directly from the homepage, and would have to rewrite all my functions to load a custom player. I’d rather use the <video> tags and give the user the standard html5 experience.
I’m not asking you to write a media player, all I would like would be for the iframe to change its size dynamically, or at least responding to my input, case by case.
I want to point out that I managed to add to fancybox: a link to print the picture; a link to the actual post, with a count of the comments. But I cannot figure out this one. ??
Forum: Fixing WordPress
In reply to: http error when uploading videoEventually my hosting service came through, as they decided the problem was with the limit set in Ngix. They raised it to 200 mb and now I can finally upload videos!
Of course, the player doesn’t work in Firefox (“error loading this resource”) But I guess that’s matter for another thread. :/
Forum: Fixing WordPress
In reply to: the _n function seems to be quite inadequateThe answer seems to be actually contained in this page: https://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html
but I’m not sure how should I use this… how should I write my_n
?Forum: Fixing WordPress
In reply to: the _n function seems to be quite inadequatewhy? well, because 1) it has two closing brackets and 2) I don’t understand how this is supposed to help.
My “literal translation” of Russian above was just to clarify the problem. Things need to output in Russian (duh).
one comment = один комментарий
two comments = два комментария
five comments = пять комментарииIf you look at the endings above you can clearly see that this language needs three different endings to cover its plurals correctly (not even considering that the number 21, or 31 etc, need the same singular ending as the number 1), where
_n
only allows two of those, forcing the developer to make a choice between being ungrammatical with numbers 2,3,4 or being ungrammatical with all the other numbers above 4.Forum: Fixing WordPress
In reply to: http error when uploading videoI think you’re right, I thought they were doing their best, but I’ve looked this thing up and this “mysql” upload limit doesn’t make any sense.
How can a SQL limit affect uploading files via php? Your test doesn’t use SQL and yet uploading fails.
Stupid question, but have you ever heard of a mysql limit that can affect uploading files (other than sql files to phpmyadmin)??
Forum: Fixing WordPress
In reply to: http error when uploading videoThe host eventually said that the problem is given by a “mysql limit” that cannot be changed because it would affect all sharing guests (I wanna say: let’s raise the limit for everyone, but OK).
Honestly I am not convinced they have nailed it, might as well be they have given up figuring it out since we went on for a couple of weeks on this.Forum: Fixing WordPress
In reply to: http error when uploading videoI did the test and the file upload.php uploads OK. Then I tried with a real video file and I just got a “connection reset”, same as when I use the regular uploader within wordpress. No helpful messages at all.
Forum: Fixing WordPress
In reply to: http error when uploading videoplease read the thread if you want to help…! ?? the first thing I said was that the limits were correctly raised. I have 256M on all three instances. My hosting service is actually quite helpful and I highly recommend them (webhostingbuzz).
Regarding the upload test, could you be a little more specific on how to use these two files? I am not familiar with the
$_FILES
post method.Forum: Fixing WordPress
In reply to: http error when uploading video@pixellanguage: that thread is closed, so there’s nothing to follow.
Anyway I have
7) installed the plugin “default to GD” and implemented the filter as suggested in that thread and nothing happened
8) contacted my host, which added the ‘upload_tmp_dir’ value to the php config, and nothing happened
Forum: Plugins
In reply to: [Autoset Featured Image] This has stopped working now.It still works properly… but it throws an error in debug mode, that shows up in the new/add post page. I’m trying to make it go away (the plugin is just a few lines of code) but so far no luck.
I tried to make it go away using the solutions suggested here here, but it doesn’t work for me (doesn’t throw an error but stops working)
on the other hand this seems to be a problem with a conflicting configuration on the server, as the same doesn’t happen on my xammp testing environment