WordPress.org

Ready to get started?Download WordPress

Forums

125

Beta: The CG-PowerPack of WordPress plugins (146 posts)

  1. davidchait
    Member
    Posted 10 years ago #

    I wanted to get the word out to my more avid testers and other interest parties. Rather than generate a ton of individual archives, for the initial testing of my new CG stuff, I'm packing up ALL of my 'libraries', plus enabler 'plugin stubs' for WP1.2+, in one archive.
    This includes my existing libraries:
    1. CG-Amazon (amazon data feeds)
    - added keyword searches, new Find feature to add to db, default to external links (and not internal to cgaindex), fixed cgaindex 'bot thrashing', and created CG-Inline for inlining Amazon products in articles. New XMLParser from Feedread.
    2. CG-Feedread (RSS/Atom aggregation)
    - New XMLParser, uses custom HTTP connection code to reduce 'lockups' due to bad/unavailable XML services. Fixed some encapsulation and output cases.
    3. CG-Referer (referral, bot, and query/search tracking)
    - Updated blacklists. Overhauled bot code. New bot and query detection.
    4. CG-Samecat (listing posts within a category)
    - No major changes.
    ... plus my new additions:
    5. CG-Inline (embedded macros within posts for images, amazon items, and post links)
    6. CG-Related (assisted process for building table of related posts and listing them)
    7. CG-WhatTunes (tying music player/watcher http POST updates to CG-Amazon, to show the current music you are listening to)
    ... and associated helper files and functions.
    Many of the above are completely missing documentation at the moment -- but I wanted to get the new Amazon and Feedread stuff out, and had people interested in WhatTunes and Related, and didn't make sense to go pulling them into seven different packages at the moment. ;)
    Anyway... for those brave souls, go grab the CG-PowerPack, and let me know as you have issues. Feel free to start new Topics here for different plugins, so that they don't all get junked in one post. ;) For general issues or Qs, feel free to respond to this post of course!
    FINAL NOTES:
    - All CG-Amazon users really should update, and CLEAR their cache_amazon folder, as bots may have flooded it with junk.
    - Feedread users, note that the cache folder name has been changed from cache_rssfeeds to cache_feedread to note 'who owns it'. ;)
    -d

  2. Beel
    Member
    Posted 10 years ago #

    I was hoping I could forgo the instructions and just go for it since it is late, but alas and alack, I got a blank page instead of my blog so I will have to take a look at it tomorrow (later today). Looking forward to it.

  3. davidchait
    Member
    Posted 10 years ago #

    If you didn't follow instructions, hard to say what went wrong. ;)
    My guess is that you didn't put everything into wp-content/plugins/, and left cg-plugins as a top-level folder, which I noted in the docs I haven't tested since I shifted over to the wp-content/plugins/ based paths for files. You also needed to copy the contents of the cg-amazon folder to their proper homes (cgaindex.php and cg-amazon.css into the base wp dir, cga-admin.php into the wp-admin dir).
    In theory it should work with cg-plugins in the root, but I'll have to go test and see what's up.
    -d

  4. Beel
    Member
    Posted 10 years ago #

    Well, I am up and am going to look into it for a bit over my coffee. I don't think I missed anything but we will see what we shall see...

  5. davidchait
    Member
    Posted 10 years ago #

    Okay, I added a "Create Table" button to the cga-admin screen, and made sure to add more steps to the docs, and uploaded a new 1.0b2 version. Those are the only changes, so people who already downloaded shouldn't need to download again -- this is just so new users have a slightly easier time with things.
    Tested the use-from-root-dir old-style stuff and it does work, though all new users (and old ones!) should follow the new instructions and put files into the wp-content/plugins/ path, at least where specified to do so... ;)
    -d

  6. Beel
    Member
    Posted 10 years ago #

    D- If you are around, hit me up on ICQ or something.

  7. davidchait
    Member
    Posted 10 years ago #

    UGH. Sorry about that. Will go update the docs right now! And will ping you on ICQ, see if we can't work out the wrinkles. ;)
    -d

  8. davidchait
    Member
    Posted 10 years ago #

    Okay, 1.0b3 is now up. changed to getSomeFeed in the CG-Feedread doc. Also DISABLED all my calls to try and get the current security/login info, as it is causing some kind of infinite loop on the wp-login.php screen.
    Still working through other issues, but have it all running fine on a WP1.3 installation here.
    -d

  9. Root
    Member
    Posted 10 years ago #

    This looks like the mother of all plugins. Cant wait to get it running. Thanks David.

  10. davidchait
    Member
    Posted 10 years ago #

    I've put a new archive up, 1.0b4. It addresses a number of minor issues, cleaned up some interface stuff in cgaindex, turned off some debugging output, resolved missing includes, resolved minor conflicts.
    Still looking for issues with conflicts between CG-Amazon and other plugins (Beel has problems that we are investigating). If you aren't running many/any other plugins, it obviously isn't an issue. ;)
    -d

  11. Beel
    Member
    Posted 10 years ago #

    d- It is no longer an issue in the sense that I got it up. Made changes to cga-config. Now working on getting my wishlist to display.

  12. davidchait
    Member
    Posted 10 years ago #

    Good to hear. Lemme know any changes I should make in the master copy.
    Working on minor revisions until I hear from other people. If I haven't heard much more by the weekend, I'll break up at least the three existing libraries (Amazon, Feedread, Referer) so that people who for some reason want one individual lib can get it.
    -d

  13. davidchait
    Member
    Posted 10 years ago #

    Okay, I fixed a number of include() problems with paths, some wacky stuff, and ordering issues, and have tweaked at least a half-dozen files. Also fixes to refererLib (the blacklist/bot stuff wasn't working properly). Also minor fixes across the board.
    Version 1.0b5 of the powerpack is now up on CHAITGEAR.
    Please, people using CG-Amazon, CG-Feedread, or CG-Referer, try these new versions out. Note for CG-Amazon users, cga-config.php is now down inside cg-plugins (which is inside wp-content/plugins/), rather than at the root. Makes coding much easier for me. ;)
    -d

  14. TechGnome
    Moderator
    Posted 10 years ago #

    Hmmm.... the include still isn't right, or I didn't do this right.
    So here's what I did.... got the "Power Pack".... unzipped it... poked around, then followed the instructions, I think.... the files in the plugins folder went into my wp-content/plugins folder, the cg-plugins folder went into the wp-content folder.
    Did I do that right? I activated the Amazon plugin, then clicked on the Options menu and got this:

    Warning: main(cg-plugins/cga-config.php): failed to open stream: No such file or directory in C:\wwwroot\apache\Apache2\htdocs\WPUp\wp-content\plugins\cg-amazon-plugin.php on line 14
    Warning: main(): Failed opening 'cg-plugins/cga-config.php' for inclusion (include_path='.;c:\php4\pear') in C:\wwwroot\apache\Apache2\htdocs\WPUp\wp-content\plugins\cg-amazon-plugin.php on line 14

    I looked at line 14 of the cg-amazon-plugin.php file and it reads as follows: include_once('cg-plugins/cga-config.php');
    Looks like the cg-plugins is off by one level..... 1) Did I install wrong, or 2) is it a bug?
    TG

  15. Anonymous
    Unregistered
    Posted 10 years ago #

    TG: Unless I am missing something (and I haven't dl'd the new beta yet), cg-plugins is a subdirectory of plugins.

  16. davidchait
    Member
    Posted 10 years ago #

    Right, cg-plugins folder goes IN the plugins folder. (powerpackReadme.htm says it in the second bullet...).
    I apologize for any confusion -- was trying to get this 'out' and get people using it, and the docs and organization of things certainly aren't as polished as I'd like!
    I guess I could put it in the plugins folder in the archive, but was trying to be somewhat 'clean' about what goes where, and what does what. That is, the code uses 'stubs' to load as plugins, but could be run fine on pre-1.2 as my-hacks, or most of them will function in non-WP environment (:gasp:). :) The 'final' release might have the 'plugins' separated from the 'libraries' as different downloads, as again I'm trying to retain site-platform-independence for most of them.
    TG, always feel free to drop me a note directly if you run into probs. Can post a comment on the download on my site, or use the contact form in the About section, everything gets to me. ;)
    -d

  17. davidchait
    Member
    Posted 10 years ago #

    Okay, 1.0b6 is up. Minor fix to CG-Referer, which wasn't directly-accessible for dumping administrative logs, and renamed the master readme to READ_ME_FIRST, and added bolds and italics and examples to make the path structures clear as day. ;)
    -d

  18. TechGnome
    Moderator
    Posted 10 years ago #

    CG - OK... my bad. when I saw the cg-plugins folder at the same level as the plugins folder, I thought they went side by side...... sounds like an easy fix for me. Will try it when I get home.
    TG

  19. davidchait
    Member
    Posted 10 years ago #

    Cool, let me know if you run into further issues.
    -d

  20. davidchait
    Member
    Posted 10 years ago #

    CG-PowerPack version 1.0b7 is now up. Includes:
    - Minor tweaks to refererLib query parsing, now parses excite stuff better.
    - CG-Amazon Admin panel fixes & features: you can add via an Asin again (:groan:), search now has a max-count dropdown (so you can do up to 50 results), search results now has a Category option (applied to all checked items) and has buttons arranged better, searches are MUCH faster and handle results better (was looking up each individual item, now does all in a batch).
    CG-Amazon users will want to grab the new PowerPack release. ;)
    -d

  21. TechGnome
    Moderator
    Posted 10 years ago #

    Question: When I use the function to list books, I get a "Products Not FOund" - or is it "No Products Found" ?-- either way, I assume it's because my table is empty..... Is there a way to get the products from Amazon itself using their API? Or is there something I'm missing? Or do I need to build a new plugin that retrieves it from Amazon's system directly?
    TG
    -ps: this has also been posted as a comment on the Power Pack post.

  22. davidchait
    Member
    Posted 10 years ago #

    Well, half correct. Pre-power-pack, the only thing you could 'easily' access was items tagged in your local table, or your wishlist. I've additionally exposed 'live' keyword searches, though they'll be used sparingly, in specific instances (such as finding the album playing for CG-WhatTunes).
    Generally, you use the CGA admin panel to add specific ASIN items to your table, or use the new Search functionality to look up live on amazon, check off items you want, and click add to add them to the table. Then with the show_amazon_items function, you can have it show latest, or random, or categorized items from your table -- your selected products.
    People are using this for things like 'what I'm reading' lists, to 'my favorite movies' random lists, or 'what I'm listening to' callouts.
    On CHAITGEAR, I use it for random gear that might be interesting and somewhat related to the stuff I'm showing, or embedded products in a post (which you too can now do with CG-Inline plus a simple "<!--amazon:B000002G3Y-->" in a post...), or the cgaindex page which lets you browse everything I've 'added' to my table (and everyone CAN use cgaindex, I've just defaulted it back off since it wasn't meant to be used directly by most sites).
    I'm sure I'll try to talk to you offline as well, but that's a starter. :)
    -d

  23. davidchait
    Member
    Posted 10 years ago #

    (and yes, there are spaces next to the dashes that wouldn't be there when you want to really type this into a post... tried a few different ways here, and because CG-Inline macros are inside comments, the bb seemed to keep eating the comment!)

  24. Beel
    Member
    Posted 10 years ago #

    Looking forward to your site getting back up - sometime this summer, eh? I have been playing around with "USING CG-Feedread" (actually CG-Inline), dang it is nice. I see lots of potential (look forward to having the price and moreinfo gif as an option) where I might refer to one or more books as source material or further reading for a post, either in the post or all inline at the bottom - kewl.

  25. davidchait
    Member
    Posted 10 years ago #

    Price and button are options already, there's just so many freaking options I can't remember what combination turns which on.
    Ahh, right. At the moment, it's based on internal redirects. If I use the cgaindex stuff to determine whether to bounce internal or external, I can have the price/buttons show up based on that (no need for price/buttons if bouncing internal...). Otherwise, I can base them at the moment only on image-size request.
    I can always add a param to cga-config that is for inline control... ;)
    And yes, site has been down 14 hours now, great right before my first tradeshow attendence (MacWorld is tuesday), but they're moving me to a new server and having minor issues getting it back online. Sucks it was down this long to start with.
    -d

  26. davidchait
    Member
    Posted 10 years ago #

    Site's back up... down for 15 hours today, might be some on/off outage in next few days as I move to a new server. Hopefully that'll resolve server stability probs.
    Get it while it's live! ;)
    -d

  27. davidchait
    Member
    Posted 10 years ago #

    It'll get much better when I can get around to adding customized style/output templates for things -- then you don't need to play games with CSS. ;)
    -d

  28. apakuni
    Member
    Posted 10 years ago #

    OK ... I am confused. I have everything installed correctly (I think).
    /CG-POWERPACK-1.0b8/plugins/*php
    ... is now in ...
    {your wp}/wp-content/plugins/
    ... and ...
    /CG-POWERPACK-1.0b8/plugins/cg-plugins/*php
    ... is now in ...
    {your wp}/wp-content/plugins/cg-plugins/*php
    ... and ...
    /CG-POWERPACK-1.0b8/plugins/cg-amazon extra stuff/*
    ... is now in ...
    {your wp}/wp-content/plugins/cg-amazon extra stuff/*
    Everything as been CHMOD 775 and set to run in the apache user group (so permissions should not be an issue.
    I went tp the WP Plugin manager and all of the plugins were there, So, I activated them.
    But, I see no new User Interface options in my WP Admin for the new stuff.
    What am I missing?

  29. apakuni
    Member
    Posted 10 years ago #

    Beel ... Thanks, I got it installed now. FYI There is no #5 on the install doc and the entire thing is a bit confusing.
    David ... I think a directory map would clear up the confusion. I'll be glad to help if you need it.
    Now that I have it running, the searches all bring back empty result sets. Thoughts?

  30. Anonymous
    Unregistered
    Posted 10 years ago #

    I try to download the zip file and its corrupted :( is it me?

125

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.