• Resolved Zeb

    (@zeb-el)


    Hi, I really like your plugin but I’ve lost other features by using this. Is there any possibility for you to describe little more about solving script issues with Fancybox, Colorbox, etc. I don’t understand how to implement your suggested changes in my theme though there are hundreds of links using image features.

    Of course, there must be an easy way which I haven’t figured out yet. Please describe more regarding this issue.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Reading the FAQ may definitely help 🙂

    http://wordpress.org/extend/plugins/wp-slimstat/faq/

    Cheers
    Camu

    Thread Starter Zeb

    (@zeb-el)

    Unfortunately, not. That’s still a big question for me!
    I don’t have a clue where to change that. Does that mean I have to get in to each post and page to modify all links or this is to be done in your plugin? Would you please describe a practical case in an example?

    Is it possible to solve this issue in a fix, to be solved by the plugin automatically there the user can specify if another conflicting plugin is present or not?

    Thanks

    Plugin Author Jason Crouse

    (@coolmann)

    Zeb,

    as I wrote in the FAQs, Javascript unfortunately doesn’t allow me to detect if another plugin is ‘managing’ a link, and thus treat it differently. If this is a problem, you may want to disable Javascript tracking in the options. You will lose the ability to collect information about screen resolutions and other browser-related data.

    Camu

    Thread Starter Zeb

    (@zeb-el)

    Thanks for your fast reply 🙂
    Can this issue be solved if there is an option provided in the plugins admin panel that allows the admin to select through a checkbox if there is a conflicting plugin, and if there is, allow the plugin handled the links in another way?

    Plugin Author Jason Crouse

    (@coolmann)

    Zeb,

    that’s not possible, because not ALL the links in your site are handled by Colorbox, FancyBox, etc. Having such an option would confuse WP SlimStat, which would treat ALL the links as if they were associated to Colorbox. Unless these links are already ‘marked’ someway (with a class, a rel=something, etc). In this latter case, you may use a SQL query to add the ‘noslimstat’ code to all of them automatically.

    Camu

    Thread Starter Zeb

    (@zeb-el)

    Okay,
    It seems that it’s getting complicated though I’m not so much familiar with SQL queries. Of course, I know that there is an input for queries but do not have any idea what to write there.

    Another question remains also considering future images and if I have to do that often.
    hmmm…! Wondering what can I do?

    Plugin Author Jason Crouse

    (@coolmann)

    From now on, just add the code to your links as per FAQ’s directions.

    class=’noslimstat’

    Camu

    Thread Starter Zeb

    (@zeb-el)

    Sorry if I ask this stupid question.
    If any user sets up a gallery with several images, do you mean that I have to get into the gallery, find each image or group of images and add class='noslimstat' to that post/page? Or, maybe, there is somewhere in the template or wp files I shoud do that.

    Thanks for your help!

    Thread Starter Zeb

    (@zeb-el)

    By the way, I’ve just got an idea.

    We know that each image is a file type, indicated by .jpg .png etc. Even if there is a link, the file type is indicated in the end of the link by .jpg .png etc.

    Is there any chance that the plugin could recognize these file types and correct the problem through class='noslimstat' , exclude them or any other way? Or maybe by filtering some addresses like youtube.com, etc.?

    Plugin Author Jason Crouse

    (@coolmann)

    No, that would not work, because .jpg & co is not the only thing you can handle with ColorBox, Lightbox etc. You can include swf, html pages, and a bunch of other media types.

    Thread Starter Zeb

    (@zeb-el)

    That was unfortunate!

    By the way, you talked about

    In this latter case, you may use a SQL query to add the ‘noslimstat’ code to all of them automatically.

    Do you have any suggestion what should I write in the SQL query to make that work? and, do I need to do that often regularly?

    I appreciate your feedback.

    Plugin Author Jason Crouse

    (@coolmann)

    Zeb,

    the SQL query depends on the library you’re using (colorbox, lightbox, etc) and how it treats or recognizes the links you want to associate to it. You will need to do a search and replace

    http://www.mediacollege.com/computer/database/mysql/find-replace.html

    to add the class="noslimstat" to those links.

    Camu

    Thread Starter Zeb

    (@zeb-el)

    Thanks Camu,

    I appreciate your reply. I’ll try that.

    Thanks again

    Zeb

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Trouble with image plugins Fancybox, Colorbox, etc’ is closed to new replies.