RoselleCelina
Forum Replies Created
-
How do I turn on debug mode?
Yowza! Thanks for reading my post and providing an equally long and thoughtful reply. ??
I’ll take your advice, go through the links you provided and play around with some code.
Thanks a bunch for pointing me in the right direction, you’re awesome.
Hi!
I tested Lex’s code and here’s the video feedback:
- Testing Lex111’s code snippet #1: https://youtu.be/ecesfW_C4yk
Thanks,
RoselleP.S. BTW, I deactivated all other plugins before testing and switched themes just to make sure it wasn’t my theme.
P.P.S. I had to change my YouTube channel. So the older videos aren’t up anymore. If you need to reference them, here are the new links to those videos:
- Original video showing the bug: https://youtu.be/1gllfRO4Ef0
- Testing Seb’s code snippet #1: https://youtu.be/_n898GWofyU
- Testing Seb’s code snippet #2: https://youtu.be/mj75boylQGA
- Testing Seb’s code snippet #3: https://youtu.be/-scliJGGtBQ
Thanks.
Now it adds #forward to the initial url. –not too big of a deal, but is telling.
As you scroll down, you can see on the browser tab that something is loading, whereas before, it was hidden/seamless.
When you reach the last post, all the other posts go away and you cannot scroll up anymore.
See vid: https://youtu.be/RDGCIc3bfRI
EDIT:
Noticed that the video directly above didn’t really show the back and forward buttons functionality that well, so I made a newer video: https://youtu.be/cAJzTQzfd5Y- This reply was modified 7 years, 2 months ago by RoselleCelina. Reason: Better video
Thanks,
I changed the code I added to your code snippet. It fixed the back and forward buttons but it’s done away with the infinite scroll feature. As you scroll down, the browser loads the next post and the previous post is gone (so you can’t scroll up to where you were last).
Here’s the video I made. https://youtu.be/0UHVBxrPWYc
Thanks ??
Thanks for getting back to me!
I added this code to your auto-load-next-post.js
// Bind to StateChange Event History.Adapter.bind(window,'statechange',function(){ // Note: We are using statechange instead of popstate var State = History.getState(); // Note: We are using History.getState() instead of event.state if (State.url != curr_url) { window.location.reload(State.url); } });
This gets us allllmost there.
I noticed that with this code, when you hit either the back or forward button, it will go to where it’s supposed to go, but does so by reloading to it. Ideally, it would just scroll up or switch to it instantaneously without a reload.
What can we do?
Edit: Actually, what it does when you hit the back button is first, it goes to the wrong spot before it reloads to the right article. A bit herky jerky.
RE: sticky div
Figured it out. Just had to wrap my sticky header code in this
jQuery(function($) { // code here });
Sticky header now works with this plugin.
Thanks for the quick response!
RE: the cURL error
I just got off the chat box with my host and basically, the issue was that I was using PHP 5.4 and I needed to update to PHP 7.1 and add the proper php.ini for 7.1. After that, the error went away –yay!RE: Sticky div
Yes, I understand that the plugin only works on posts and not pages. I meant to say that I have a sticky header script that works everywhere on the site, except for when the plugin is activated, the sticky header disappears, but only on posts. I was wondering if there was a way I could have both the plugin and my sticky header on posts.Thanks
P.S. Oh sorry, I forgot the TLD in the link. It’s here: https://roselleignacio.com/test-03
Forum: Plugins
In reply to: [Rich Reviews by Starfish] Removing the quote image from backgroundwhat’s your website? I’ll tell you how. I deleted the plugin, but I think you have to either add display none to the dropcap css or just remove the quotation mark from the php file in the plugins folder.
Forum: Plugins
In reply to: [Rich Reviews by Starfish] image upload not workingIt is also not working for me https://roselleignacio.com/write-your-review/
Forum: Plugins
In reply to: [Rich Reviews by Starfish] Show gravatar of reviewer?
Is there no way around this?
I am married to WooCommerce since I have to use a certain payment gateway. If not for this, I’d just use Gravity Forms with PayPal Payments Pro and be done with it.
But, since I have to use WooCommerce…I just used the Gravity Forms WooCommerce add-on to make the form, and the One Page Checkout WooCommerce extension to condense the process of “Product => Cart => Checkout” to just one page.
This way, the end result still sort of looks like a donation form.
The problem is that I need the credit card boxes to always show up, regardless of whether there’s something in the cart.
Forum: Plugins
In reply to: [Rich Reviews by Starfish] Show gravatar of reviewerAre there any updates on this?
Thanks again,
RoselleForum: Plugins
In reply to: [Rich Reviews by Starfish] All the reviews have the same IDI found a work around. I just gave each reviewer their own category.
Thanks again.
Forum: Plugins
In reply to: [Rich Reviews by Starfish] All the reviews have the same IDYes it does make sense –thank you!!!
I was going about it wrong. I thought that the id was tied to the reviewer, not the actual page where the form was.
Is there anyway I can show a review from a particular reviewer?