itthinx
Forum Replies Created
-
Forum: Plugins
In reply to: [New Plugin] Affiliates Jigoshop Integration LightPlease RTM http://www.itthinx.com/documentation/affiliates/ especially the sections on Setup and Shortcodes.
Forum: Plugins
In reply to: [New Plugin] Affiliates eShop Integration LightThat would be great :), just sent you a message through the form.
The enterprise release is prepared for multi-tier programs.
Forum: Plugins
In reply to: Affiliate Network pluginYou can try mine: http://ww.wp.xz.cn/extend/plugins/affiliates
For whoever might be interested, this is now available with Affiliates Pro.
Forum: Plugins
In reply to: [New Plugin] Decent CommentsI’d suggest to STPD : http://ww.wp.xz.cn/extend/plugins/search.php?q=ajax+comments&sort=
Thanks for reporting this, although I could not get the scalar warning to appear, the plugins you mention do not add any widget controls in their panels and LWL didn’t take that into account.
I’ve provided an improved version which has just been released as 1.2.2. Please update to that version.
For further comments please preferably leave feedback at the plugin’s page here: Lazy Widget Loader plugin page.
In order to centralize support for this plugin, please direct any further comments at the plugin’s page:
Feedback is welcome!
If you need help, have problems, want to leave feedback or want to provide constructive criticism, please do it at the Lazy Widget Loader plugin page.
Forum: Plugins
In reply to: [New Plugin] Lazy Widget LoaderFeedback is welcome!
If you need help, have problems, want to leave feedback or want to provide constructive criticism, please do it at the Lazy Widget Loader plugin page.
I’ve just released an update of the plugin (1.2.1) which should avoid any issues related to the warning reported.
If anyone encounters further issues, needs help or is curious about the whys and whats involved, please get in touch with me.
Many thanks to Mike at Intown Elite who kindly provided lots of valuable feedback and help in resolving this issue.
After testing on WP 3.2.1 with Widget Logic 0.48 and Lazy Widget Loader 1.1.0 I could not reproduce the Warning. See also my comment here: http://www.itthinx.com/plugins/lazy-widget-loader/#comment-173
Looks like something else is interfering here … AFAICS the Warning is thrown because at some place the parameter is turned into a scalar when it’s supposed to be an array. So, I suppose there’s another plugin interfering …
Forum: Plugins
In reply to: [New Plugin] Decent CommentsWoops, forgot the links …
Download it here: http://ww.wp.xz.cn/extend/plugins/decent-comments/
Documentation is available here: http://www.itthinx.com/plugins/decent-comments/Looks like Widget Logic assumes to use an id if it doesn’t recognize $wp_registered_widget_control[$id][‘params’][0] as an array, this is from widget_logic.php:
function widget_logic_expand_control() { ... if (!array_key_exists(0,$wp_registered_widget_controls[$id]['params']) || is_array($wp_registered_widget_controls[$id]['params'][0])) $wp_registered_widget_controls[$id]['params'][0]['id_for_wl']=$id; else { // some older widgets put number in to params directly (which messes up the 'templates' in WP2.5) array_push($wp_registered_widget_controls[$id]['params'],$id); $wp_registered_widget_controls[$id]['height']+=40; // this is really a pre2.5 thing - discard? } ... }The condition to set $wp_registered_widget_controls[$id][‘params’][0][‘id_for_wl’] is a logical implication:
The key 0 does not exist in $wp_registered_widget_controls[$id][‘params’] OR $wp_registered_widget_controls[$id][‘params’][0] is an array.
and seems to be motivated to make things compatible with WP2.5? Hmmm … Lazy Widget Loader doesn’t want to be compatible with anything prior 3.0 and requires $wp_registered_widget_controls[$id][‘params’][0] to be an array. That’s where the hiccup comes up 🙂
Without digging deeper … as both plugins add their stuff to widget controls, if you let Lazy Widget Loader do it first (*) it won’t care about what Widget Logic does after, because it doesn’t get affected by it.
(*) by installing it first it get’s a chance to add its handlers before Widget Logic does
Thanks for your feedback Mike, that’s interesting …
This is line 471 in the current revision:
$wp_registered_widget_controls[$id]['params'][0]['lazy-widget-loader-widget-id'] = $id;Actually it’s not an error but a warning, anyhow, I wonder what happens here. I’ll take a closer look and get back when I find out.
Are you working with the Affiliates plugin?