Forum Activity

Forum feed

PnBooks Help  Top

Goto page: [-1] 1 - 2

  • Thanks for the reply, it is an excellent module and is almost exactly what I needed.

    Sorry for the confusion, but will replacing the above correct the problem with google or just the homepage issue?

    I will have a look at updating tomorrow night and let you know how I get on.

    Thanks again.

    Mark

    --
    Visit http://freebets.freebetguide.com today!
  • My change was to solve the problem with some urls including images URL.
    In my opinion you have nothing to do for Google to index your pages. I know a lot of websites using books that were indexed by Google. Maybe just wait a few days.

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • Thanks very much for the help.. recoded today and it all went fine.

    I dont want to push my luck, but you may be able to help me with my other pnbooks request - its not a fault - more like a request.

    http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&p=194038#194038

    Also, whilst i'm here - I cant get any of the blocks beginning "i-" to work, I get the message "the block does not appear to exist" - I have searched on here and the support site for pnbooks but cant find it :(

    Is there a quick fix? I was hoping to have a module on the left of my home page which lists all books by category along with the author.. e.g.

    Category 1
    Book 1 - Author 1
    Book 2 - Author 2

    Category 2
    Book 3 - Author 3

    etc.. can these blocks do this?

    Mark
  • For your request about pnTitle and PNphpBB, I am sorry but I can't help you because I switched to pnForum some months ago and I can't remember how I had pnTitle working with PNphpBB icon_redface
    But for your request about the books blocks;, I can help you :D
    The blocks released for the books module are very old blocks made by MagicX a long time ago and they are "not pnAPI compliant" wich mean they are not coded according to today standards for PostNuke blocks.
    Unfortunately PostNuke .761 was released with a Blocks module that don't allow non API comliant blocks to be in the modules/module_name/pnblocks/ subdirectory (in fact developpers should never have used that directory for non complaint blocks but as it worked a lot of them including myself made this mistake)
    So you have several ways to solve your problem
    - move your blocks from modules/books/pnblocks to include/blocks
    (you need to move them not copy because if a block with the same name exist in both places you will get an error message
    - download an updated PostNuke file from PostNuke CVS http://cvs.postnuke.…/vnd.viewcvs-markup. Just follow this link and right click on the "download" link at the end of the first line. save the file as "pnBlocks.php" and replace the inludes/pnBlocks.php file on your server with this one
    - wait for Postnuke .762 because it will include this fix icon_lol
    Hopefully in a near future I will find the time to recode the blocks of the books module to be pnAPI compliant (I have already done it for Anniversaire and PN_ZClassifieds)

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • Once again jmvedrine you help me sort a problem!! Thanks.

    Did you look at my idea for the title to include "Author" as well as book title? I assume it is an easy change to pntitle.php for a PHP expert - but it has me puzzled!

    --
    Visit http://freebets.freebetguide.com today!
  • Just replace

    Code

    if ($bkid) {
            $sql = "SELECT title FROM {$bookprefix}_books_books WHERE bkid = '" . pnVarPrepForStore($bkid) . "'";
            $result = $dbconn->Execute($sql);
            if ($dbconn->ErrorNo() != 0) {
                return false;
            }
            list($title) = $result->fields;
            $result->Close();
            $title = str_replace('&', '&', pnVarPrepForDisplay($title));
            return pnConfigGetVar('sitename') . ' :: '. $title;
        }

    with:

    Code

    if ($bkid) {
            $sql = "SELECT title, author FROM {$bookprefix}_books_books WHERE bkid = '" . pnVarPrepForStore($bkid) . "'";
            $result = $dbconn->Execute($sql);
            if ($dbconn->ErrorNo() != 0) {
                return false;
            }
            list($title, $author) = $result->fields;
            $result->Close();
            $title = str_replace('&', '&', pnVarPrepForDisplay($title));
            $author = str_replace('&', '&', pnVarPrepForDisplay($author));
            return pnConfigGetVar('sitename') . ' :: '. $title . ' ' . $author;
        }


    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • Thanks again - looks great!!

    http://www.freebetguide.com/books-index-bkid-6.html

    Would be good to include this in next release ;)

    --
    Visit http://freebets.freebetguide.com today!
  • For people like me having a lot of books with very long titles and 2 or 3 authors this would not be very convenient ...
    Imagine "Basslets, Dottybacks and Hawkfishes: Plus Seven More Aqarium Fish Families with Expert Captive Care - Scott W. Michael, Fred Bavendam, Paul Humann, Rudie Kuiter, John Randall, Roger Steene, Takamosa Tonozuka" in the titlebar !!!

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • jmvedrine

    I apologize, because I had'nt understood that you were using books as a start module. In fact there is a problem with using $GLOBALS['name'] in that particular case, and you need to use $GLOBALS['ModName'].
    I will change the code in books CVS and it will be corrected in the next release.
    Thanks for reporting the problem. Sorry for answering too fast without reading carefully your message icon_redface


    I can't seem to access the CVS and I was wondering when the next release will be for this great module? I looked on your own site as well, but it doesn't seem to be listed there anymore, nor can I log in - it just hangs on the login screen.

    Thanks!

    --
    My PN's:

    Health News

    Canadian Domain Names

    Free Press Releases

    Politics Journal

  • Same for me I had a lot of problems with Sourceforge CVS these last weeks.
    But my website http://www.vedrine.net is online and I have no problem accessing it (it is hosted in USA not in France).
    For the books module I decided I will make some change before releasing a new version
    - convert the database to a full tree of categories (no more separate categories and subcategories tables)
    - use Ratings and EZComments for ratings and comments, provide people with migration scripts, and delete all the code dealing with ratings and comments in the module.
    But somewhre along the road I also decided to make the module pnAPI compliant and templated !!!
    It is approximatively half done but this was a huge work, needing to rewrite entirely the module (hundreds and hundreds of lines) so there will be a long debugging phase but I think this module will be quite up to date after this (big) step and ready to wait for PostNuke .8 were I will migrate categories to global categories tree (wich will be easier with the new structure icon_smile )

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • jmvedrine

    Same for me I had a lot of problems with Sourceforge CVS these last weeks.
    But my website http://www.vedrine.net is online and I have no problem accessing it (it is hosted in USA not in France).
    For the books module I decided I will make some change before releasing a new version
    - convert the database to a full tree of categories (no more separate categories and subcategories tables)
    - use Ratings and EZComments for ratings and comments, provide people with migration scripts, and delete all the code dealing with ratings and comments in the module.
    But somewhre along the road I also decided to make the module pnAPI compliant and templated !!!
    It is approximatively half done but this was a huge work, needing to rewrite entirely the module (hundreds and hundreds of lines) so there will be a long debugging phase but I think this module will be quite up to date after this (big) step and ready to wait for PostNuke .8 were I will migrate categories to global categories tree (wich will be easier with the new structure icon_smile )


    Oh man that sounds great. I really appreciate your work on this module over the years. haha last time I couldn't log in to your site, and now it won't come up at all! If you have a donation link please post it! :)

    --
    My PN's:

    Health News

    Canadian Domain Names

    Free Press Releases

    Politics Journal

  • I am happy to report important progress in the upcoming version of the books module due to the fact that I don't spend a lot of time with my students during the last weeks (those of you following french news will understand)
    It is near finished:
    - fully pnRender templated including the search plugin
    - pnAPI compliant
    - hierachical categories
    - use Ratings and EZComments modules for ratings and comments
    - tableless design (except for the list view on admin side but hey this is what tables are for, isn't it !!)
    - new fields for books publication date and code (this one may be used for whatever you wants)
    - pnRender plugins to show Ratings and EZComments count on list view (can be used with other templated modules)
    What is left to do:
    -upgrade from previous version
    - recode the blocks
    - finish the admin function to validate or delete submitted books
    - enhance list view to support reordering the books
    - add breadcrumbs to list view
    I will convert my own website to the new version in the upcoming days to test the module (in fact as soon as the update function is working)
    One problem left is that I coded a modified Ratings module to support migrating the books internal ratings (and other modules' ratings as well for Web_Links or Downloads for instance), so how will I do when I release books .76 ? (EZComments is not a problem because it already support migrating)
    - release a patched Ratings module (I hate patching code files)
    - I asked my core developpers fellows if they wanted my Ratings module in the .8 CVS but until now no response and that will not solve my problem until .8 is out (I don't think delaying books .76 is an option icon_smile )

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • I am happy to report that my website http://www.vedrine.net is now running a beta version of books .76
    Direct access to english version here:
    http://www.vedrine.n…in-newlang-eng.html
    This is a TOTAL rewrite of the books module (yes it was a huge works, only permitted by the fact my students are now blocking my University for 2 weeks so I had a lot of spare time !!)
    New features
    - full hierachic tree of categories (any level of subcategories allowed). A migration script is provided to migrate your subcategories to categories with the correct parent id.
    - use the Ratings module for book evaluation and EZComments module for comments( a migration script for EZComments and an improved Ratings module with migration menu are provided)
    - totally pnAPI compliant (a great step for the books module but current users must be warned that this will change all their urls to books, unfortunately this was impossible to avoid so better do it now than latter)
    - use pnRender templates for all displays
    - use a lot of specifically designed pnRender plugins (navbar, display ratings, count EZComments, newbookgraphic, popgraphic) some of them can even be used with other templated modules. I love pnRender plugins !!
    - tableless design of all templates (you have asked for it, it is here ...)
    - use CSS stylesheet
    - redesigned blocks (also templated)
    - much cleaner admin panel (the old one was really awfull and confusing)

    It is still a beta version and I already noticed some bugs and missing lang defines.

    I want also verify that all pages outputs are HTML compliant.
    Also the new documentation must be written.
    I am very proud of this version because the books module code was derivated from an old version of the Web_Links module and now the son is ready for .8 even before it's ancestor :D
    But I must also admit that I borrowed some code for the NOC project that is now rewritting the Downloads and Web_Links modules !! This was very helpfull so I must thanks the developpers of these projects lindberg and petzi-juist.

    Jean-Michel Védrine

    Migration of the categories to global categories using the core Categories module will be done when .8 is out.

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • What a pity! This is one of the very few modules I use for which I didn't the translation in italian!
    Your new release (must we say thank you to the french government for this law on new contracts?) will be the occasion to fill the gap!

    --
    Sesto Avolio
  • With the French government now backing down in the face of people power (clue in north americans, see how it's done!), did you finish up or have a test package for us to try out? I can't wait to try this new books module out!

    --
    My PN's:

    Health News

    Canadian Domain Names

    Free Press Releases

    Politics Journal

Goto page: [-1] 1 - 2

This list is based on the users active over the last 60 minutes.