• 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 - 46 through 60 (of 98 total)
  • Thread Starter digitaldonkey

    (@digitaldonkey)

    Concerning:

    1) I will check out before next release.

    2) This will work for your g3-page unless you change the g3 Thumb/resize settings in g3. But I want to be independent of these settings.

    3) That’s definitively true. I’ll give an Option to chose the Template for the Page in next release. But it should work using Tag <WPG3>1|size|TemplateID</WPG3>

    htb

    (@halinasplace)

    <WPG3>1|size|TemplateID</WPG3> WORKS! and so does the recursion to the subalbums! Yay!

    Future Requests – I’d like to see the basket module integrated into this plugin (I know it is sometime down the track) but I’ve put in a request on the gallery3 forum pages to have rest included in this module – I’m not strong on php but do have programming experience and will help where I can

    Thread Starter digitaldonkey

    (@digitaldonkey)

    Could you figure out why it didn’t do before?

    I notced ther is still something strange at https://blog.halinasplace.net.au/blog/test-3/Postcards/Clarendon-st/ it loads images but not in the right subalbum Url, but one level up.

    There is a short description how to create Rest resources here https://codex.gallery2.org/Gallery3:API:REST#Creating_a_REST_resource but I don’t understand it too ??

    After this is enabled in Rest, there is no to very little work to do in the plugin because we pass all Rest stuff to the template.

    Little asside: adding a pre-tag around your print_r wil make your life much much more readable ??

    htb

    (@halinasplace)

    your code works differently –
    when i use the wpg3 options page and create a page automatically there
    eg https://blog.halinasplace.net.au/blog/test-3 sub albums do not work and it goes back to the parent….

    When i use the tag <WPG3>1|size|TemplateID</WPG3> in the page the urls are different and it works

    https://blog.halinasplace.net.au/blog/cart

    as aside its still using the default template and the new cloned template
    – try both my pages and see the difference

    Thread Starter digitaldonkey

    (@digitaldonkey)

    But then you miss Permalinks ??

    Only on the WPG3 Page I use permalinks. Elswhere we have get Requests.
    I’ll try to reproduce after I won my fight with insert Image. Thanks for your lonlasting debugg energy ??

    htb

    (@halinasplace)

    I’m trying to add a new page but I’ve looked through your code and can’t understand how you switch from album template to page template – could you explain?

    Thread Starter digitaldonkey

    (@digitaldonkey)

    It’s the same Template. If it’s a Page we create Permalinks and pass them to the template. If it is a wpg3-Tag there are $_GET links passed.

    Technically if you have a Page with a WPG3 Tag and want to switch to permalinks you take out the tag and make the Page your g3-Page by selecting it in the backend.

    htb

    (@halinasplace)

    I’ve created a new template love to share it but
    1. it needs the basket module for gallery3 with rest api (which I’ve written)
    2. it needs updates to your plugin to make the data available to the template
    3. it needs WP paypal shopping cart
    but I’ve integrated into wordpress the basket module for gallery which allows payment through paypal for any item in the gallery
    happy to share the code and have it integrated with your module

    Thread Starter digitaldonkey

    (@digitaldonkey)

    You’re welcome to join ?? There is a repository on git where we can collaborate. I’m a little lazy but I will push the latest integrated version (I’m fighting with Tinymce in a Text-Plug-in) to the devel branch. I’m still learning to handle git so tell me if something is strange ?? And you can and should use PHPDocumentator’s commenting rules in Order to get well documented code. I didn’t releas the docs yet but you can compile the yourself.

    I didn’t think about extensions yet, because I need to finish beta and release state first.

    You can add a module to wpg3 including and requiring additional functionality, but it has to be in a “optional” way using wpg3-Optionas Api. Specially if it requires additional plugins etc. it should be explained in the Options-Page too.

    It would be great if someone put’s a little more energy into the template class. I’m working on the Imagechoser class mostly now. So there are little to no change in Other classes.
    If there is a need to modify any existing classes we should look at the particular issue to check the why-and-how.

    You can contact me on skype too check donkeymedia.eufor details.

    @shecter. Found a fix for the error. open the wpg3_class_WPG3_Xhttp.php located in the WPG3 folder from the plugins directory and rename the class entry to WPG3_Xhttp

    Should appear like this

    class WPG3_Xhttp
    {
    /**
    * Keeping options per class gives a lot of flexibility.
    * @internal
    **/
    private $wpg3_options;
    private $cache;
    private $update_cache = false;

    I’m trying out this plugin and am getting a 500 error every time I activate it. Any ideas what’s causing this?

    Setup: Gallery 3.0.1, WordPress 3.0.4

    Thread Starter digitaldonkey

    (@digitaldonkey)

    Is there any more info on the error?
    Maybe in the servers error-log.

    I discovered the error was related to the guest setting needing to be turned on. Sorry for the inconvenience, I’m not seeing any problems now. Thanks for replying. ??

    Hi, I have installed Gallery3 in local server(Wamp) at the root of wordpress 3.0.5 installation, activated REST API module (gallery 3 is working nice) , after installing WPG3 plugin, enter the url and the REST API Key when I want to save it I have got this error message :
    Fatal error: Cannot use object of type WP_Error as array in C:\wamp\www\wptheme\wp-content\plugins\wpg3\wpg3_class_wpg3_xhttp.php on line 236
    this is the gallery3 url used in the settings : https://localhost/wptheme/galeries/index.php

    I think the problem comes from REST API. I tested it with this url
    https://localhost/wptheme/galeries/index.php/rest/item/1
    and I have got the array. I don’t know what to do ? Thanks in advance ??

    Thread Starter digitaldonkey

    (@digitaldonkey)

    Hello,
    if you uncomment the following line (237) by removing the two leading slashes you will get an error message.

    //echo "Couldn't connect by Rest @ getObject<br /><pre>".print_r($this_req, true)."</pre>";

    If you don’t understand the message, send it an I might be able to help.

    You can also test by turning enabling guest access in g3 advanced settings to see if there is a problem with the rest key.

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