Title: [Plugin: WPG2] WPG3 ??
Last modified: August 19, 2016

---

# [Plugin: WPG2] WPG3 ??

 *  [digitaldonkey](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/)
 * 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)

[←](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/3/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-wpg2-wpg3/?output_format=md) [2](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/3/?output_format=md)
4 [5](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/5/?output_format=md)
[6](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/6/?output_format=md)
[7](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/7/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/5/?output_format=md)

 *  Thread Starter [digitaldonkey](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721053)
 * 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](https://wordpress.org/support/users/halinasplace/)
 * (@halinasplace)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721054)
 * <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](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721055)
 * Could you figure out why it didn’t do before?
 * I notced ther is still something strange at [http://blog.halinasplace.net.au/blog/test-3/Postcards/Clarendon-st/](http://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 [http://codex.gallery2.org/Gallery3:API:REST#Creating_a_REST_resource](http://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](https://wordpress.org/support/users/halinasplace/)
 * (@halinasplace)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721056)
 * your code works differently –
    when i use the wpg3 options page and create a 
   page automatically there eg [http://blog.halinasplace.net.au/blog/test-3](http://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
 * [http://blog.halinasplace.net.au/blog/cart](http://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](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721057)
 * 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](https://wordpress.org/support/users/halinasplace/)
 * (@halinasplace)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721058)
 * 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](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721059)
 * 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](https://wordpress.org/support/users/halinasplace/)
 * (@halinasplace)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721061)
 * 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](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721063)
 * 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.eu](http://donkeymedia.eu/contact)
   for details.
 *  [jvyda](https://wordpress.org/support/users/jvyda/)
 * (@jvyda)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721066)
 * [@shecter](https://wordpress.org/support/users/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](https://wordpress.org/support/users/internal/) **/ private $wpg3_options;
   private $cache; private $update_cache = false;
 *  [Sharon](https://wordpress.org/support/users/shpemu/)
 * (@shpemu)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721082)
 * 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](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721084)
 * Is there any more info on the error?
    Maybe in the servers error-log.
 *  [Sharon](https://wordpress.org/support/users/shpemu/)
 * (@shpemu)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721085)
 * 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. 🙂
 *  [dd46](https://wordpress.org/support/users/dd46/)
 * (@dd46)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721094)
 * 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 : `http://localhost/
   wptheme/galeries/index.php`
 * I think the problem comes from REST API. I tested it with this url
    `http://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](https://wordpress.org/support/users/digitaldonkey/)
 * (@digitaldonkey)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/4/#post-1721095)
 * 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)

[←](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/3/?output_format=md)
[1](https://wordpress.org/support/topic/plugin-wpg2-wpg3/?output_format=md) [2](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/3/?output_format=md)
4 [5](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/5/?output_format=md)
[6](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/6/?output_format=md)
[7](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/7/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/5/?output_format=md)

The topic ‘[Plugin: WPG2] WPG3 ??’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpg2.svg)
 * [WPG2](https://wordpress.org/plugins/wpg2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpg2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpg2/)
 * [Active Topics](https://wordpress.org/support/plugin/wpg2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpg2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpg2/reviews/)

## Tags

 * [gallery3](https://wordpress.org/support/topic-tag/gallery3/)

 * 98 replies
 * 17 participants
 * Last reply from: [crispinr](https://wordpress.org/support/users/crispinr/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wpg2-wpg3/page/7/#post-1721180)
 * Status: not resolved