![]() |
|
Zenshow - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Zenshow (/thread-1784.html) Pages:
1
2
|
Zenshow - thinkdreams - 2007-11-09 I've modified Zenshow 1.4 to work with the new changes in 1.1.2. If anyone is interested, I'll be putting it up on Trac in the plugins section. This is the plugin that displays random images from Zenphoto in Wordpress. Zenshow - cogo - 2007-11-09 Is there any documentation available for this plugin? I can't find any instructions after I've activated the plugin. Zenshow - sairuh - 2007-11-10 I've set the thumbnail size to 100x100 pixels at both my ZenPhoto site and in the ZenShow plugin at my WP site, but for some odd reason they're appearing as 372x149 on the WP site. WP running 2.3.1 at http://sairuh.org using Thinkdreams modified ZenShow plugin Any tips on how to resolve this? Zenshow - sairuh - 2007-11-19 So libelle has fixed several bugs in ZenShow, namely:
Questions: Is there a way to attach the revised plugin here for others to test and use? How would one submit this plugin to be included on the ZP plugin wiki page? Zenshow - sbillard - 2007-11-20 You can just edit the page with a description and upload the file. Zenshow - pristine - 2007-11-22 Yeah, some documentation would be useful. I downloaded thinkdreams' modification and installed it. But I can't figure out how to use it. Any tips? Thanks! Zenshow - sairuh - 2007-11-22 I use ZenShow to display a single, random thumbnail image. To do this, just pop in the following code into the desired WordPress theme template file, such as sidebar.php: `` If there are further uses/customization for ZenShow, I'd also be curious to hear 'em. :-) Zenshow - alltruist - 2007-11-22 Hi, I downloaded the zenshow.php from the ZP wiki plugin page. Is that the latest one with the changes sairuh mentioned? ~Alltruist Zenshow - sairuh - 2007-11-22 alltruist, no, the updated version that libelle worked on has not yet been uploaded. Maybe in the next week or so (busy holidays here!). To use it, you need to modify template code as noted above. The options for the plugin are under Options > RMS:Zen Show in the WordPress web admin UI. Zenshow - alltruist - 2007-11-23 Thanks! I look forward to the release. Zenshow - sairuh - 2007-11-27 I've posted v1.4.1 with libelle's changes to the ZenphotoPlugins wiki page. It's called zenshow.2.php, so you'll need to rename it zenshow.php. Zenshow - sairuh - 2007-11-28 Okay, after skimming through the plugin code, it looks like there are three functions that ZenShow provide, which you can add to your WordPress template file, such as sidebar.php. `` inserts N random thumbnail(s). By default N is 4. `` inserts a thumbnail of the last photo added to ZenPhoto. `` inserts N random thumbnails from the ZenPhoto album whose ID is specified by num_album. Again, N is 4 by default. Please let me know if I've misinterpreted this usage. Zenshow - alltruist - 2007-11-28 It works! Thanks! Great work! Zenshow - alltruist - 2007-11-28 Uh..sorry...I did not scroll down far enough on my page. The thumbnails from ZP are displaying. However, the database configuration for ZenShow is somehow messing up the queries for the sidebar widget for Wordpress. I have my ZP and my WP in two different databases. So for my other widgets, I am getting database errors like this: WordPress database error: [Table 'powervo_gallery.wp_posts' doesn't exist] Somehow, with in my sidebar messes up the mySQL queries for the rest of the widgets. Please help. Zenshow - alltruist - 2007-12-01 Sorry about the triple-post but I think I may see why the database connection to the ZP database is conflicting with the subsequent WP connections. in RMCZS::connect(), the connection is made with ` $ZenDB = new wpdb($this->zen_user, $this->zen_pw, $this->zen_db, $this->zen_host); ` and RMCZS::disconnect() tries to close the connection with ` $ZenDB = NULL; ` May it be possible that even though $ZenDB is now NULL, the connection made with wpdb() is actually still open? If this is the case, how can it be fixed? I am not too familiar with the Wordpress methods. Zenshow - libelle - 2007-12-04 Hm. I didn't touch that part of the code, but it doesn't look like that's the right thing to be doing. I'll try to take a look at the WP API, and see if I can fix that. Zenshow - sbillard - 2007-12-04 There needs to be a call somewhere on Zenshow - Blair - 2007-12-11 hey I'm just wondering..... If this can put photos into a wordpress sidebar, could it put the Album Titles there also? Its just that I'm looking for a way of getting a menu of the ZenPhoto Album Titles into a wordpress sidebar.... can it be done? if so some pointers might keep me busy for a while cheers [i]or have i misread something?[/i] Zenshow - alltruist - 2008-01-03 I have been wondering...Will it be possible to utilize the RSS feed to display the sidebar thumbs rather than take them out using MySQL? I know that this is less flexible but at least we'll be able to retrieve a certain number of the latest additions to the gallery. Zenshow - acrylian - 2008-01-04 Probably, you can use something like this script: http://www.feedforall.com/free-php-script.htm |