• There is a lot of demand for a wpg3 Plugin, but I couldn’t find a project which is developing it yet. Are there some?

    I would love to put some energy into plugin development if I find at least 2 more people working seriously with me.

    The WPG3 Plugin should be backward compatible enabling all the WPG2 users to update their sites without need to change the old tags in WordPress pages and posts.

Viewing 15 replies - 31 through 45 (of 98 total)
  • htb

    (@halinasplace)

    oops i mean the wrong item id

    htb

    (@halinasplace)

    foreach ($rewrites as $the_rewrite_obj){

    print_r($slug);

    if ($slug == $the_rewrite_obj[‘slug’]){

    $itemId = $the_rewrite_obj[‘id’];
    $rewrites = $the_rewrite_obj[‘members’];
    array_push ( $parent_urls , array(‘/’.$the_rewrite_obj[‘slug’] , $the_rewrite_obj[‘slug’] ));
    print_r($itemId);
    }
    }
    if ( $rewrites[0][‘slug’] == $slug ){

    $itemId = $rewrites[0][‘id’];
    $rewrites = $rewrites[0][‘members’];
    print_r($itemId);
    }

    neither of the above if stmts are being met and the id is not being incremented

    htb

    (@halinasplace)

    print_r($this->wpg3_options[‘g3RewriteArray’]);

    going further the subalbums are not listed in this array

    htb

    (@halinasplace)

    going even further
    public function get_slugs( $item ) in xhhtp
    does not list subalbums either
    is your recursion right?

    htb

    (@halinasplace)

    is this right?????????
    if (!empty( $child->members ) ){
    $child_array[“members”] = $child->members;

    $child_array[“members”] = $this->get_slugs( $child_array );

    }else{
    $child_array[“members”] = false;

    htb

    (@halinasplace)

    sorry for all the posts… testing….

    problem with the formattiing of album pages – if I set a constant value in your js then it formats nicely from page to page in firefox at least (haven’t looked in other browsers yet)

    htb

    (@halinasplace)

    if I have jquery lightbox plugin installed then it things the albumm thumbnails are images and tries to open it without success

    htb

    (@halinasplace)

    date photgraphed and date created on image page needs to be formatted – tried to format it with the date function but its not working

    htb

    (@halinasplace)

    added css for the datatable to center it

    htb

    (@halinasplace)

    chgd to wp-jquery-lightbox plugin and all works well for linking to images when they are albums

    htb

    (@halinasplace)

    what’s wrong with this code and why isn’t it formatting the date properly

    $format = “d F Y H:i:s”;
    $updated = date($format,$item->entity->updated+25200);
    $created = date($format,$item->entity->created-25200);
    $html .= ‘<table class=”datatable”>
    <tr><th colspan=2>Photo Information</th></tr>
    <tr><td>Description</td><td>’.$desc.'</td></tr>
    <tr><td>Date Photographed</td><td>’.created.'</td></tr>
    <tr><td>Date Updated</td><td>’.updated.'</td></tr>
    <tr><td>Dimensions</td><td>’.$item->entity->height.’x’.$item->entity->width.'</td></tr>
    <tr><td>Link to full photo</td><td>entity->file_url_public.'”>Here</td></tr>
    </table>’;

    htb

    (@halinasplace)

    nothing wrong with the above code – new template is not being picked up

    htb

    (@halinasplace)

    I cloned a copy of your templates and put them in a directory
    /home/bonneyp1/public_html/blog/blog/wp-content/wpg3-templates/
    as required by the wpg3 options page but it is not being picked up

    Thread Starter digitaldonkey

    (@digitaldonkey)

    Please read the instructions at https://wpg3.digitaldonkey.de/wpg3Templates.
    You’ll have to do some renaming.

    Sorry I don’t have the time to check out all your Posts, but I appreciate your testing very much. I can only track your debug requests, when you can reproduce the issue with a unchanged 0.85 Version of the plugin.
    But I already picked up some Issues for next release.

    htb

    (@halinasplace)

    debug requests….
    1. sub albums are not being picked up – I’ve left a print_r() on the page – I believe the recursion isn’t right and the data isn’t being populated from the xml data properly
    2. When I change the js
    blocks.height(310);
    blocks.width(250);
    to a fixed value the funny problem of formatting goes away
    3. the template has been renamed as per your instructions – it is being picked up but the default template is still being used
    $myTemplateId = ‘defaultTemplate_default_’.$data->entity->type;
    maybe i’ve missed something

    Thank you

Viewing 15 replies - 31 through 45 (of 98 total)
  • The topic ‘[Plugin: WPG2] WPG3 ??’ is closed to new replies.