WordPress.org

Ready to get started?Download WordPress

Forums

upPrev Previous Post Animated Notification
Not working after new update (54 posts)

  1. Sreejesh
    Member
    Posted 3 years ago #

    Hi I just saw that there is a new update for this plugin and I updated to see whats new. Then when I checked my site, i see it nowhere, it has stopped working, I tried changing the ID and also disabling other plugins. But no help. it doesn't work.

    Then I replaced the plugin files from an old backup file.

    Now it started working but i'm on old version.
    You can checkout my site http://techgyo.com and open any post to see that it works.

    I see that in the new version, there are some additional features like post thumbnail integrated into the slider.

    I would love to have the new version, It would be great if anyone can suggest me a solution.

  2. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hello,

    As far as I see it should work. This is some copy of your page with a static copy of upPrev: http://gkrzyminski.pl/techgyo/6-methods-find-sizzling-affiliate-products-market-online/index.html (the problem shouldn't be related to css nor javascript)

    upPrev 1.4.0 has a modified stylesheet. Before updating you can even try to exclude this from W3TC.

    If you need farther help, do not disable new version until I check your website. You may write directly to me at my email address (you will find it at my website) to get faster response.

  3. Sreejesh
    Member
    Posted 3 years ago #

    Thanks for the quick reply !

    I see, so let me install the new version and exclude the css and js from the W3TC minify.

    So that you can check whats wrong with it. By the time you read this response, the Plugin should be active. Hopefully you can fix the bug.

  4. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    OK, try to download this zip archive: http://gkrzyminski.pl/support/upprev-jquery-deps.zip

    It contains upprev.php file. Replace the original one, and let us know does it resolved an issue.

    The problem is caused by combined scripts which contain jQuery and it's loaded in footer, before upPrev script. I hope additional dependencies for loading upPrev script will resolve it.

  5. Sreejesh
    Member
    Posted 3 years ago #

    I did overwrite the upprev.php file with the new one, but it didn't resolve the issue :(

  6. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    Another try.. extract this one and replace it: http://gkrzyminski.pl/support/upprev-in_footer.zip (This one puts upPrev script in footer).

  7. Sreejesh
    Member
    Posted 3 years ago #

    I've now replaced it, but didn't see any change. Maybe my browser cache. Can you check and confirm if its working there?

  8. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    Currently we have different issue.

    The upPrev script doesn't appear at all. I personally hate W3TC. It makes me crazy not only with this plugin, but even then when I'm fixing templates for people. Why? Because if I remember it can cache the whole website, so farther changes are not visible until deleting the cache.

    One more idea. You can edit upprev.php by your own: At line #82 you will find:
    wp_enqueue_script("upprev-js",$plugin_path.'upprev_js.php',array('jquery'),'1.4.0',true);

    Replace it with:
    wp_enqueue_script("upprev-js",$plugin_path.'upprev_js.php',array(),'1.4.0',true);

    I just want to check is it possible that it doesn't appear due to additional dependencies.

  9. Sreejesh
    Member
    Posted 3 years ago #

    I have cleared the cache and remove "jquery" from that line.
    Wonderful! It works now :) Thank for your help

  10. Sreejesh
    Member
    Posted 3 years ago #

    Now, i wanted to make the title H4. I did it in the old version. It seems that things have changed. I can't figure out which line was the title.

  11. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    Do you have in mind the title of the previous post link?

    Use bellow selectors to change font, color, etc.

    #upprev_box .upprev_excerpt p a {
    /* === Previous Post Link === */
    }

    #upprev_box .upprev_excerpt p a:hover {
    /* === Previous Post Link: mouse over === */
    }

    #upprev_box .upprev_excerpt p a:visited {
    /* === Previous Post Link: visited === */
    }

  12. Sreejesh
    Member
    Posted 3 years ago #

    I'm sorry for the confusion. I just wanted to add a <H5> heading tag to the slide title link. I was wondering how I would do that

  13. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    At line #50 you can find:
    previous_post_link('%link','%title', true);

    You may replace it with:
    previous_post_link('%link','<h5>%title</h5>', true);

  14. Sreejesh
    Member
    Posted 3 years ago #

    Awesome! thanks.
    I would suggest you add this feature in the plugin to allow users to customize the title heading tags

  15. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    They can do this by changing a stylesheet.

    You should get exactly the same effect using mentioned previously css selectors and css properties from h5, like

    #upprev_box .upprev_excerpt p a {font-family:"Palatino Linotype", Georgia, Serif;font-size:140%;font-weight:bold;margin:.5em 0 .2em;letter-spacing:-0.02em; background: #E3F0F2 url(http://techgyo.com/wp-content/uploads/2010/11/info.png) center no-repeat; border: 1px solid #66CCCC; background-position: 7px 50%; text-align: left; padding: 10px 10px 10px 45px; -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -moz-border-radius-topleft:4px; -moz-border-radius-topright:4px; -webkit-border-top-left-radius:4px; -webkit-border-top-right-radius:4px; -webkit-border-bottom-left-radius:4px; -webkit-border-bottom-right-radius:4px;position:relative;-webkit-box-shadow:2px 2px 10px 2px silver;-moz-box-shadow:2px 2px 10px 2px silver}

    By adding an option "What tag you want to nest a title in", probably we were going to do add such options to all elements... more in, categories, post amounts, excerpt, where everything can be done by modifying a stylesheet.

  16. Sreejesh
    Member
    Posted 3 years ago #

    I just found a bug.
    It is showing wrong excepts. I mean, the description is not taken from the previous post. I appears to be from some other post.
    You can check this post and scroll down.

  17. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    hmm... I'm opening a http://techgyo.com/index.php/6-methods-find-sizzling-affiliate-products-market-online/#axzz1FntXaRjm where I see an upPrev displaying:

    Open Source Software in the News: What’s New in 2011

    The increasing popularity of open source software means that it is getting more news coverage, both in the computer world ...

    I'm going to Open Source Software and I see it starts with:

    The increasing popularity of open source software means that it is getting more news coverage, both in the computer world and the “real” world. Coverage includes announcements on the latest releases as well as upgrades or improvements of existing open source software.

    I don't see any bug?

  18. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    I have one question, because one thing confused me.

    Do you see my answer to your last message about a bug, because somehow it's not appearing in the publicly visible forum? It is visible when I log in, but until then it's missing.

  19. osmanovic
    Member
    Posted 3 years ago #

    Hi, For some time I have activated the plugin but it never worked and now I have decided to seek help. I just installed the latest version of the same, not work. Please see http://www.sodalive.ba/lukavac/odrzana-31-redovna-sjednica-ov-lukavac/ and consult me what to do.

    My preferences:

    Fade in / fade out
    70%
    Right
    Thumbnail

    THANKS

  20. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hello osmanovic,

    Generally there is one issue: javascript for upPrev is not loaded at all.

    I have some question - What version of WordPress do you use? Isn't earlier than 2.6?

    You may try to download modified upprev.php and replace it: http://gkrzyminski.pl/support/upprev-echo-script.zip

  21. osmanovic
    Member
    Posted 3 years ago #

    I use wordpress 3.1.

    Now i replace this upprev file but nothing :S Also, i use this fix:

    wp_enqueue_script("upprev-js",$plugin_path.'upprev_js.php',array('jquery'),'1.4.0',true);

    Replace it with:
    wp_enqueue_script("upprev-js",$plugin_path.'upprev_js.php',array(),'1.4.0',true);

    but nothing :S

  22. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    OK, Another problem appeared.

    This is a file which is used for generating script, and it's used for script src: http://www.sodalive.ba/wp-content/plugins/upprev-nytimes-style-next-post-jquery-animated-fly-in-button/upprev_js.php

    As you can see it, it's empty. Let's check what's errors occurred - you need to remove error_reporting(0); from upprev_js.php file, and preview it again.

  23. osmanovic
    Member
    Posted 3 years ago #

  24. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    You may want to read this:

    Fatal error following automatic upgrade

  25. samfusion
    Member
    Posted 3 years ago #

    Hi dear ones,

    I have a WordPress blog and I need to allow public to add their ads such as selling their cell, motor bike etc. I want to allow them upload image, description, rate without registering at my site. But I will need to approve it before it appears in site, can any developer here help to achive this? Lemme know about any plugin or theme that will have this feature. Please guys, I am good at WordPress but, could not find proper plugin to make this happens.
    Again,
    I want to allow public to:
    Upload car/product image
    Description
    Rate
    Email address
    That's all. No PayPal purchase cart etc...
    When other user comes to my site, he must look at sellers details.

    Thanks guys,
    Sam

  26. ako21
    Member
    Posted 3 years ago #

    Hi Grzegorz. I was wondering what needs to be changed to prevent the plugin from reappearing a second time on the same page even if you've clicked on the close x button? This happens when the user scrolls all the way to the top of the page and then scrolls back down. It reappears. It shouldn't. Can you tell me what needs to be modified in the code? Thanks.

  27. felipeagnello
    Member
    Posted 3 years ago #

    Hi Grzegorz..

    I just downloaded the plugin and i really cannot get it working. I've searched for solutions, but none seems to be effectively to me to get it working. I dont use WTC or other plugins that i've seen that somehow conflict with upprev.

    So, i just instaled the actual version and it wont work. I didnt change anything, but i tried to set different options like: Percentage, Element Selector, Flyout/Fadein, Right/Left.. none seems to work. In fact, when i launch page code i can see

    "<style type='text/css'>#upprev_box {display:block;right: -400px;}</style>"

    But it not work visualy. Can u help me out? I just love the plugin, and i think it will be very effective for my blog.

    Thank u so far!!

    Felipe Agnello

  28. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    @ako21

    To prevent upPrev from reappearing on the same page, you need to remove from upprev_js.php following lines:

    else if (upprev_closed && getScrollY() == 0) {
                upprev_closed = false;
            }

    @felipeagnello

    Does it worked previously? I mean, did you install any previous version and it worked correctly?

    Currently two things are missing: javascript is not loaded (failed to call wp_enqueue_script function?), upprev html code is not appearing at all. Only stylesheets are added correctly.

    Missing html code issue - Does your WP theme contain wp_footer(); called somewhere? Usually it is placed inside footer.php

    Maybe another way... does it work with a default theme?

  29. felipeagnello
    Member
    Posted 3 years ago #

    - No, theres no previously instalation. Just install the more recent one.
    - So, there are 3 functions that have to be loaded?
    - And yes, wp_footer() is called on my footer.php

    I dont know if helps, but the blog url is: http://www.publistorm.com

    thank u so far.

  30. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 years ago #

    @felipeagnello

    I guess this is a custom WP theme. Would it be possible to send it to me via email, so I may install it and check isn't there something missing. Email can be found at http://gkrzyminski.pl

    Generally if you could switch to the default TwentyTen theme, we could confirm is it related to your theme, but it may reset some settings like menus or widgets so it's worth to make a database backup.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic