WordPress.org

Forums

CG-PowerPack 1.5.3.1 Released. (57 posts)

  1. davidchait
    Member
    Posted 10 years ago #

    CG-PowerPack 1.5.3.1 is up. Updates across the major plugins, mostly due to requests from the userbase. Continue to let me know if you have features you are looking for, or issues that need addressing.

    People who got the 1.5.3 release PLEASE re-grab the .1 bugfix -- CG-Referrer wasn't tracking ANYTHING due to a bug in the new tracking variables. Thanks, and sorry for the mixup! ;)

    Changes:

    CG-Amazon:
    - Moved the Amazon README file to the top level directory
    - fixed missing unicode functions error.

    CG-FeedRead:
    - now handles picking the right URL out of multiple HREFs per feed.

    CG-Inline:
    - now defaults forceContentClears to FALSE, as some themes showing issues

    CG-Referrer:
    - DEFAULTS TO NO BLACKLISTING. Read the readme for updated usage instructions, as there's a lot of new documentation in there (and may need some tweaks). Basically, there's now four globals that can be set in wp-config.php to control what gets tracked, and what gets validated/blacklisted (and whether blacklisted referrers get bounced).

    Any Qs, fire away!

    -d
    CHAITGEAR

  2. brianbonner
    Member
    Posted 10 years ago #

    The new referrer is broken. I get the following error:
    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/owner/public_html/wp-content/plugins/cg-plugins/bot_fns.php on line 19

    brianbonner90-at-gmail-dot-com

  3. davidchait
    Member
    Posted 10 years ago #

    Frack! Lemme go look at that. Thanks Brian!

    -d

  4. davidchait
    Member
    Posted 10 years ago #

    yeah, was missing a comma on the new line (BecomeBot, which has been HAMMERING my site). I've re-uploaded 1.5.3.1, but if you don't want to re-download, just add a comma in bot_fns.php on line 18 at the end, like all other lines in the file... ;)

    SORRY! Last minute tweak, forgot to test it.

    -d

  5. brianbonner
    Member
    Posted 10 years ago #

    No worries. I will try it out again. Heck I looked the file over and missed that comma trying to get it to work.

  6. brianbonner
    Member
    Posted 10 years ago #

    I assume that the bots don't get blocked just not tracked?

  7. brianbonner
    Member
    Posted 10 years ago #

    One more request I am getting hammered from this IP 64.124.85.77 It does not show up as a bot but it has to be, as it crawle all over my site 100s of times a day.

  8. brianbonner
    Member
    Posted 10 years ago #

    That fixed it. It is just amazing that one simple comma could bring down the whole blog.

  9. davidchait
    Member
    Posted 10 years ago #

    Yeah, freaking incredible system PHP is... what's even more amazing is when the pages come up blank, no error message or nothing. Those are fricking impossible to debug. PHP needs some work to make sure bad-page-state error messages ALWAYS show up. How else can users report errors aside from 'dude, your page is blank'? ;)

    I'm still enhancing the referrer stuff... I can always send you just a file or two modded if you want to try more recent tweaks.

    That IP is BecomeBot. Should be what that last thing 'fixed' in not detecting it as a bot. Yes, I'm finding it crawling stuff all over the place.

    -d

  10. brianbonner
    Member
    Posted 10 years ago #

    Thanks David.

    I would normaly love to take you up on your offer of trying out tweaks, but the next ten days I have to go in for my treatments and it is all I can do to blog.

  11. davidchait
    Member
    Posted 10 years ago #

    Best of luck with the treatments.. Ping me when you're back on top of things, and we'll work on it!

    -d

  12. brianbonner
    Member
    Posted 10 years ago #

    Is there anyway to seperate bots from the recent page? Just have them show up in the bots page only? It takes up too much space on the recent page.

  13. davidchait
    Member
    Posted 10 years ago #

    Heh. The list for the primary Recent panel was done to show all activity types, so I included searches, bots, and blocked stuff. I then broke out all the individual panels so that you could simply filter on what you wanted to look at (just searches, just bots, just blocked). But never broke out a panel for 'just visitors'. ;)

    That's pretty easy to do either way. If you want to do a one-change hack to your CG-Referrer, around like 2191 or so you should see:

    $rlist = refererList ($showRecent, "global", true, "", true, true, true);

    Change the LAST true in that line to be a false instead, and I think that'll filter out bots and blocked immediately.

    -d

  14. brianbonner
    Member
    Posted 10 years ago #

    That did it your a life saver! I have it set to 400 and almost all of it is that bot. Maybe this should be the default setting in the future? Maybe a comment line explaining what the individual true false represent?

    for reference it is line 2182.

    It looks like I have time for this after all. hehe

  15. brianbonner
    Member
    Posted 10 years ago #

    I found a problem. Even with that at false it still takes up room in the count. So I have it set to last 400 but I only see 21 because of the bots. You see my problem with that bot.

  16. davidchait
    Member
    Posted 10 years ago #

    huh. you have that new "BecomeBot" change in bot_fns.php, right? That was the missing comma.

    That should be the 64.xxxx guy. If you click on the entry ID (the far left column), it'll show you all the raw fields from the entry -- the userAgent should say BecomeBot in it somewhere. If it doesn't it's a different bot. If it does, but isn't being tagged as _BOT_, that's a different problem (and not one I'm currently seeing here...).

    I'm more than willing to have you set me up with a temp admin account on your blog, and I can then see what you see. (Also would have you make sure both bot_fns.php and cg-referrer.php are read/write under the admin interface, might require the permission get updated a bit...). Just let me know.

    (I just looked at my 'new code', and it's actually only visual changes on the bots panel, nothing else significant at the moment... so your current code should catch that guy, and then the false should strip him from the page.)

    Oh, you can also click the Tag panel, to have it try to go through and back-tag BecomeBot now that it's in the bot list... But that'd only catch him visiting prior to that code change/update. New stuff should be being tagged already.

    -d

  17. brianbonner
    Member
    Posted 10 years ago #

    I gets tagged as a bot. But the thing hits hundreds of pages each visit and it counts every page hit and lists it. Now that I have filered out displaying the bot it doesn't display, however it still counts it has part of the 400 count. so I only see 21 out of 400 on the recent page.

    Not a huge deal but it requires me to have high count numbers to see the recent visits. Could confuse some people as well.

    Maybe an easier way to handle it would be if it is recognized as a bot only count the visit, not every page it hits. Then it would be just one entry per visit. Also maybe list it by name, like google, become bot, etc. Posssibly?

    brianbonner90-at-gmail-com

  18. davidchait
    Member
    Posted 10 years ago #

    hey brian -

    I'll drop you an email offline, see what we can do to get some tweaks in (and eventually into next release). But I'll dup here in case people follow this thread... ;)

    - ahh, good. at least it's being tracked. if you change the refererList call to end with 'true, true, false', that should pre-filter bots out of the result set. if that's not working, there's a bug somewhere!

    - Yes, I'm already in my version here now listing bots all by the bot-list identified name.

    - $cgr_uniqueOncePerDay will limit all IPs to once per day -- of course, that'll clip visitors as well as bots, and bots typically come from multiple IPs! so sounds like you may want an alternate solution... I could have another variable that is the frequency to track a bot's repeated visit (maybe in seconds or something), so you could potentially only show every 100 mins or so to cut down. I of course WANT to see every touch a bot makes, so I know what is getting indexed (and what's NOT getting indexed!). But that's me and my needs... ;)

    -d

  19. chinaman
    Member
    Posted 9 years ago #

    I am a bit lost on how to update. Currently I have version 1.5.2 installed. I read in the documentation I have to change some "database table names" as I reads "ALL DATABASE TABLE NAMES CHANGED -- this occurred back in 1.5a6"

    Q. Does this also apply to 1.5.2 users

    Q. If so, how is this done?

    Q. If not. can I just overwrite the existing files or should I first deactivate ther plugins which are in use.

    Thanks for anyone helping me here.

    G.

  20. davidchait
    Member
    Posted 9 years ago #

    No. 1.5a6 was before 1.5bX, before 1.5 release, before 1.5.1, before 1.5.2... etc. ;) Yeah, the numbering is confusing. :) You're all set!

    -d

  21. chinaman
    Member
    Posted 9 years ago #

    Thanks David. I'll start updating

  22. battra
    Member
    Posted 9 years ago #

    I can't see any image beside the product list :( Here's the command I use: show_amazon_items(3, 'rand', true, '', 'Book')
    Any idea?

  23. NathanCooke
    Member
    Posted 9 years ago #

    In CG-Ref on the Purge page, the Cancel button seems to be purging records anyway.

    I was wondering why it seemed like I had less unique IP's since X date :)

    I click on the Purge page, and it says something like:

    The Database currently contains 130 total records.

    Then I click cancel, it takes me to a page that says:

    Processing x records.

    Then I go back to the Purge page and it says:

    The Database currently contains 40 total records.

    OOPS! What just happened?

  24. Beel
    Member
    Posted 9 years ago #

    heh-heh, yep don't hit "cancel".

  25. ian2
    Member
    Posted 9 years ago #

    Hi David is there a way to get in contact with you? For the past week I have posted on the board with no help .. I am trying to use your samecat plugin .. that is all I want .. and i Installed in correctly but it doesn't work: http://wordpress.org/support/topic/40281

  26. Beel
    Member
    Posted 9 years ago #

    He's been around, but not for a day or so. To install it, you have to also load the files it requires.:
    cg-samecat-plugin.php goes in the plugins folder
    cg-samecat.php and helper_fns.php go in the subfolder cg-plugins

    helper_fns.php also "needs" sideblock-fns.php & error-handler.php in that directory.

    That is why he says to install all the files and activate the ones you want to use. I suppose if you do not want the others to show in your plugins page, just copy cg-samecat-plugin into the plugins directory.

  27. ian2
    Member
    Posted 9 years ago #

    Thanks .. I always read read mes , and that wasn't in it.

    Thanks I appreciate it!

  28. Beel
    Member
    Posted 9 years ago #

    "Note that the {plugins} folder has a (cg-plugins} subfolder. I used to have it broken out separately, but for the moment (this ALPHA/BETA cycle), I figure easier to tell people to copy the whole darn thing at once..."

    From "READ_ME_FIRST.htm" (His capitalization, not mine ;-)

    But in all fairness the help docs, as he repeatedly notes therein, have not kept up in all areas with the improvements (a good thing to some of us) he is continually making to each plugin- hence the alpha/beta designation for the whole shebang.

  29. davidchait
    Member
    Posted 9 years ago #

    Thanks for the coverage Beel! ;)

    Sorry folks, my paid consulting has been picking up, which means less time to watch the boards for support. You can ALWAYS use the Contact Us form on CHAITGEAR, or post a comment anywhere there, and I'll get it. :) Or, alternately you can try me at cgcode at chait dot net.

    Nathan - I'll try to remember to look at the Cancel issue this weekend. It worked at one point... But the version you all are using has been supplanted by one I've been working on with a tester over the past month or so in my spare cycles. Lots more tracking info broken out, more configurability (via variables, still not an options/prefs screen), more info panels, etc.

    Battra - I've heard reports from users of images not showing up in the past few days, then mysteriously showing up again. Likely either Amazon was generating bad URLs, or the image servers were down or under maintenance. I'd try clearing your cache and try again. NOTE: if the products aren't sold by a 'major' merchant, amazon won't have image links typically accessible to the outside world. But if amazon directly sells it, there should be all sizes of images available.

    -d

  30. davidchait
    Member
    Posted 9 years ago #

    Oh, if you didn't see the other thread, looks like Amazon folks mucked around with how image URLs are returned to us, so it broke every freaking script out there. (Well, most of them!) Sounds like they reverted things after everyone complained, silly that they'd break backward compatability within a given 'major version' number.

    I'll keep my eye on it. If anyone notices similar issues (AFTER you clear the contents of /cache-amazon), drop me a line at cgcode at chait dot net so I have extra eyes staying on top of this one... ;) Thanks!

    -d

Topic Closed

This topic has been closed to new replies.

About this Topic